From 9ac01d2c31efc6e5d6f285bbbb8834680324d276 Mon Sep 17 00:00:00 2001 From: Shimin Guo Date: Wed, 30 Jan 2019 13:04:51 -0800 Subject: [PATCH 1/2] new package name and module base --- kubernetes/.swagger-codegen/COMMIT | 4 +- kubernetes/kubernetes-openapi.cabal | 149 ++ kubernetes/kubernetes.cabal | 150 -- kubernetes/lib/Kubernetes.hs | 30 - .../lib/Kubernetes/API/CustomObjects.hs | 453 ---- kubernetes/lib/Kubernetes/OpenAPI.hs | 30 + .../API/Admissionregistration.hs | 12 +- .../API/AdmissionregistrationV1alpha1.hs | 12 +- .../API/AdmissionregistrationV1beta1.hs | 12 +- .../{ => OpenAPI}/API/Apiextensions.hs | 12 +- .../{ => OpenAPI}/API/ApiextensionsV1beta1.hs | 12 +- .../{ => OpenAPI}/API/Apiregistration.hs | 12 +- .../API/ApiregistrationV1beta1.hs | 12 +- .../lib/Kubernetes/{ => OpenAPI}/API/Apis.hs | 12 +- .../lib/Kubernetes/{ => OpenAPI}/API/Apps.hs | 12 +- .../Kubernetes/{ => OpenAPI}/API/AppsV1.hs | 12 +- .../{ => OpenAPI}/API/AppsV1beta1.hs | 12 +- .../{ => OpenAPI}/API/AppsV1beta2.hs | 12 +- .../{ => OpenAPI}/API/Authentication.hs | 12 +- .../{ => OpenAPI}/API/AuthenticationV1.hs | 12 +- .../API/AuthenticationV1beta1.hs | 12 +- .../{ => OpenAPI}/API/Authorization.hs | 12 +- .../{ => OpenAPI}/API/AuthorizationV1.hs | 12 +- .../{ => OpenAPI}/API/AuthorizationV1beta1.hs | 12 +- .../{ => OpenAPI}/API/Autoscaling.hs | 12 +- .../{ => OpenAPI}/API/AutoscalingV1.hs | 12 +- .../{ => OpenAPI}/API/AutoscalingV2beta1.hs | 12 +- .../lib/Kubernetes/{ => OpenAPI}/API/Batch.hs | 12 +- .../Kubernetes/{ => OpenAPI}/API/BatchV1.hs | 12 +- .../{ => OpenAPI}/API/BatchV1beta1.hs | 12 +- .../{ => OpenAPI}/API/BatchV2alpha1.hs | 12 +- .../{ => OpenAPI}/API/Certificates.hs | 12 +- .../{ => OpenAPI}/API/CertificatesV1beta1.hs | 12 +- .../lib/Kubernetes/{ => OpenAPI}/API/Core.hs | 12 +- .../Kubernetes/{ => OpenAPI}/API/CoreV1.hs | 12 +- .../Kubernetes/OpenAPI/API/CustomObjects.hs | 948 +++++++++ .../Kubernetes/{ => OpenAPI}/API/Events.hs | 12 +- .../{ => OpenAPI}/API/EventsV1beta1.hs | 12 +- .../{ => OpenAPI}/API/Extensions.hs | 12 +- .../{ => OpenAPI}/API/ExtensionsV1beta1.hs | 12 +- .../lib/Kubernetes/{ => OpenAPI}/API/Logs.hs | 12 +- .../{ => OpenAPI}/API/Networking.hs | 12 +- .../{ => OpenAPI}/API/NetworkingV1.hs | 12 +- .../Kubernetes/{ => OpenAPI}/API/Policy.hs | 12 +- .../{ => OpenAPI}/API/PolicyV1beta1.hs | 12 +- .../{ => OpenAPI}/API/RbacAuthorization.hs | 12 +- .../{ => OpenAPI}/API/RbacAuthorizationV1.hs | 12 +- .../API/RbacAuthorizationV1alpha1.hs | 12 +- .../API/RbacAuthorizationV1beta1.hs | 12 +- .../{ => OpenAPI}/API/Scheduling.hs | 12 +- .../{ => OpenAPI}/API/SchedulingV1alpha1.hs | 12 +- .../Kubernetes/{ => OpenAPI}/API/Settings.hs | 12 +- .../{ => OpenAPI}/API/SettingsV1alpha1.hs | 12 +- .../Kubernetes/{ => OpenAPI}/API/Storage.hs | 12 +- .../Kubernetes/{ => OpenAPI}/API/StorageV1.hs | 12 +- .../{ => OpenAPI}/API/StorageV1alpha1.hs | 12 +- .../{ => OpenAPI}/API/StorageV1beta1.hs | 12 +- .../Kubernetes/{ => OpenAPI}/API/Version.hs | 17 +- .../lib/Kubernetes/{ => OpenAPI}/Client.hs | 28 +- .../lib/Kubernetes/{ => OpenAPI}/Core.hs | 42 +- .../lib/Kubernetes/{ => OpenAPI}/Logging.hs | 8 +- .../lib/Kubernetes/{ => OpenAPI}/MimeTypes.hs | 6 +- .../lib/Kubernetes/{ => OpenAPI}/Model.hs | 12 +- .../lib/Kubernetes/{ => OpenAPI}/ModelLens.hs | 10 +- kubernetes/swagger.json | 1893 +++++++++++++---- kubernetes/swagger.json.unprocessed | 4 +- kubernetes/swagger.yaml | 1293 +++++++++-- kubernetes/tests/Instances.hs | 4 +- kubernetes/tests/PropMime.hs | 2 +- kubernetes/tests/Test.hs | 4 +- settings | 1 + 71 files changed, 4150 insertions(+), 1538 deletions(-) create mode 100644 kubernetes/kubernetes-openapi.cabal delete mode 100644 kubernetes/kubernetes.cabal delete mode 100644 kubernetes/lib/Kubernetes.hs delete mode 100644 kubernetes/lib/Kubernetes/API/CustomObjects.hs create mode 100644 kubernetes/lib/Kubernetes/OpenAPI.hs rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Admissionregistration.hs (90%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AdmissionregistrationV1alpha1.hs (98%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AdmissionregistrationV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Apiextensions.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/ApiextensionsV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Apiregistration.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/ApiregistrationV1beta1.hs (98%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Apis.hs (92%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Apps.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AppsV1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AppsV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AppsV1beta2.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Authentication.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AuthenticationV1.hs (94%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AuthenticationV1beta1.hs (93%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Authorization.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AuthorizationV1.hs (97%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AuthorizationV1beta1.hs (97%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Autoscaling.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AutoscalingV1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/AutoscalingV2beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Batch.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/BatchV1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/BatchV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/BatchV2alpha1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Certificates.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/CertificatesV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Core.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/CoreV1.hs (99%) create mode 100644 kubernetes/lib/Kubernetes/OpenAPI/API/CustomObjects.hs rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Events.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/EventsV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Extensions.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/ExtensionsV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Logs.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Networking.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/NetworkingV1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Policy.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/PolicyV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/RbacAuthorization.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/RbacAuthorizationV1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/RbacAuthorizationV1alpha1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/RbacAuthorizationV1beta1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Scheduling.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/SchedulingV1alpha1.hs (98%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Settings.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/SettingsV1alpha1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Storage.hs (91%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/StorageV1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/StorageV1alpha1.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/StorageV1beta1.hs (98%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/API/Version.hs (86%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/Client.hs (93%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/Core.hs (94%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/Logging.hs (94%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/MimeTypes.hs (98%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/Model.hs (99%) rename kubernetes/lib/Kubernetes/{ => OpenAPI}/ModelLens.hs (99%) diff --git a/kubernetes/.swagger-codegen/COMMIT b/kubernetes/.swagger-codegen/COMMIT index d01bd6e..fd3a0c8 100644 --- a/kubernetes/.swagger-codegen/COMMIT +++ b/kubernetes/.swagger-codegen/COMMIT @@ -1,2 +1,2 @@ -Requested Commit: 3930b5b0a109327b94baad0b8d1eaf25f11ee035 -Actual Commit: 3930b5b0a109327b94baad0b8d1eaf25f11ee035 +Requested Commit: d0e2d7684dd3258233c3e4d838dcd7bf44055869 +Actual Commit: d0e2d7684dd3258233c3e4d838dcd7bf44055869 diff --git a/kubernetes/kubernetes-openapi.cabal b/kubernetes/kubernetes-openapi.cabal new file mode 100644 index 0000000..cec78fd --- /dev/null +++ b/kubernetes/kubernetes-openapi.cabal @@ -0,0 +1,149 @@ +name: kubernetes-openapi +version: 0.1.0.0 +synopsis: Auto-generated kubernetes-openapi API Client +description: . + Client library for calling the Kubernetes API based on http-client. + . + host: + . + base path: https://localhost + . + Kubernetes API version: v1.9.12 + . + OpenAPI spec version: 2.0 + . + OpenAPI-Specification: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md + . +category: Web +homepage: https://github.com/kubernetes-client/haskell +author: Auto Generated +maintainer: Shimin Guo +license: Apache-2.0 +build-type: Simple +cabal-version: >= 1.10 + +extra-source-files: + README.md + swagger.yaml + +library + hs-source-dirs: + lib + ghc-options: -Wall -funbox-strict-fields + build-depends: + aeson >=1.0 && <2.0 + , base >=4.7 && <5.0 + , base64-bytestring >1.0 && <2.0 + , bytestring >=0.10.0 && <0.11 + , case-insensitive + , containers >=0.5.0.0 && <0.6 + , deepseq >= 1.4 && <1.6 + , exceptions >= 0.4 + , http-api-data >= 0.3.4 && <0.4 + , http-client >=0.5 && <0.6 + , http-client-tls + , http-media >= 0.4 && < 0.8 + , http-types >=0.8 && <0.13 + , iso8601-time >=0.1.3 && <0.2.0 + , microlens >= 0.4.3 && <0.5 + , mtl >=2.2.1 + , network >=2.6.2 && <2.7 + , random >=1.1 + , safe-exceptions <0.2 + , text >=0.11 && <1.3 + , time >=1.5 && <1.10 + , transformers >=0.4.0.0 + , unordered-containers + , vector >=0.10.9 && <0.13 + , katip >=0.4 && < 0.6 + other-modules: + Paths_kubernetes_openapi + exposed-modules: + Kubernetes.OpenAPI + Kubernetes.OpenAPI.API.Admissionregistration + Kubernetes.OpenAPI.API.AdmissionregistrationV1alpha1 + Kubernetes.OpenAPI.API.AdmissionregistrationV1beta1 + Kubernetes.OpenAPI.API.Apiextensions + Kubernetes.OpenAPI.API.ApiextensionsV1beta1 + Kubernetes.OpenAPI.API.Apiregistration + Kubernetes.OpenAPI.API.ApiregistrationV1beta1 + Kubernetes.OpenAPI.API.Apis + Kubernetes.OpenAPI.API.Apps + Kubernetes.OpenAPI.API.AppsV1 + Kubernetes.OpenAPI.API.AppsV1beta1 + Kubernetes.OpenAPI.API.AppsV1beta2 + Kubernetes.OpenAPI.API.Authentication + Kubernetes.OpenAPI.API.AuthenticationV1 + Kubernetes.OpenAPI.API.AuthenticationV1beta1 + Kubernetes.OpenAPI.API.Authorization + Kubernetes.OpenAPI.API.AuthorizationV1 + Kubernetes.OpenAPI.API.AuthorizationV1beta1 + Kubernetes.OpenAPI.API.Autoscaling + Kubernetes.OpenAPI.API.AutoscalingV1 + Kubernetes.OpenAPI.API.AutoscalingV2beta1 + Kubernetes.OpenAPI.API.Batch + Kubernetes.OpenAPI.API.BatchV1 + Kubernetes.OpenAPI.API.BatchV1beta1 + Kubernetes.OpenAPI.API.BatchV2alpha1 + Kubernetes.OpenAPI.API.Certificates + Kubernetes.OpenAPI.API.CertificatesV1beta1 + Kubernetes.OpenAPI.API.Core + Kubernetes.OpenAPI.API.CoreV1 + Kubernetes.OpenAPI.API.CustomObjects + Kubernetes.OpenAPI.API.Events + Kubernetes.OpenAPI.API.EventsV1beta1 + Kubernetes.OpenAPI.API.Extensions + Kubernetes.OpenAPI.API.ExtensionsV1beta1 + Kubernetes.OpenAPI.API.Logs + Kubernetes.OpenAPI.API.Networking + Kubernetes.OpenAPI.API.NetworkingV1 + Kubernetes.OpenAPI.API.Policy + Kubernetes.OpenAPI.API.PolicyV1beta1 + Kubernetes.OpenAPI.API.RbacAuthorization + Kubernetes.OpenAPI.API.RbacAuthorizationV1 + Kubernetes.OpenAPI.API.RbacAuthorizationV1alpha1 + Kubernetes.OpenAPI.API.RbacAuthorizationV1beta1 + Kubernetes.OpenAPI.API.Scheduling + Kubernetes.OpenAPI.API.SchedulingV1alpha1 + Kubernetes.OpenAPI.API.Settings + Kubernetes.OpenAPI.API.SettingsV1alpha1 + Kubernetes.OpenAPI.API.Storage + Kubernetes.OpenAPI.API.StorageV1 + Kubernetes.OpenAPI.API.StorageV1alpha1 + Kubernetes.OpenAPI.API.StorageV1beta1 + Kubernetes.OpenAPI.API.Version + Kubernetes.OpenAPI.Client + Kubernetes.OpenAPI.Core + Kubernetes.OpenAPI.Logging + Kubernetes.OpenAPI.MimeTypes + Kubernetes.OpenAPI.Model + Kubernetes.OpenAPI.ModelLens + default-language: Haskell2010 + +test-suite tests + type: exitcode-stdio-1.0 + main-is: Test.hs + hs-source-dirs: + tests + ghc-options: -Wall -fno-warn-orphans + build-depends: + kubernetes-openapi + , QuickCheck + , aeson + , base >=4.7 && <5.0 + , bytestring >=0.10.0 && <0.11 + , containers + , hspec >=1.8 + , iso8601-time + , mtl >=2.2.1 + , semigroups + , text + , time + , transformers >=0.4.0.0 + , unordered-containers + , vector + other-modules: + ApproxEq + Instances + PropMime + default-language: Haskell2010 diff --git a/kubernetes/kubernetes.cabal b/kubernetes/kubernetes.cabal deleted file mode 100644 index 92a4061..0000000 --- a/kubernetes/kubernetes.cabal +++ /dev/null @@ -1,150 +0,0 @@ -name: kubernetes -version: 0.1.0.0 -synopsis: Auto-generated kubernetes API Client -description: . - Client library for calling the kubernetes API based on http-client. - . - host: - . - base path: https://localhost - . - Kubernetes API version: v1.9.2 - . - OpenAPI spec version: 2.0 - . - OpenAPI-Specification: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md - . -category: Web -homepage: https://github.com/swagger-api/swagger-codegen#readme -author: Author Name Here -maintainer: author.name@email.com -copyright: YEAR - AUTHOR -license: UnspecifiedLicense -build-type: Simple -cabal-version: >= 1.10 - -extra-source-files: - README.md - swagger.yaml - -library - hs-source-dirs: - lib - ghc-options: -Wall -funbox-strict-fields - build-depends: - aeson >=1.0 && <2.0 - , base >=4.7 && <5.0 - , base64-bytestring >1.0 && <2.0 - , bytestring >=0.10.0 && <0.11 - , case-insensitive - , containers >=0.5.0.0 && <0.6 - , deepseq >= 1.4 && <1.6 - , exceptions >= 0.4 - , http-api-data >= 0.3.4 && <0.4 - , http-client >=0.5 && <0.6 - , http-client-tls - , http-media >= 0.4 && < 0.8 - , http-types >=0.8 && <0.12 - , iso8601-time >=0.1.3 && <0.2.0 - , microlens >= 0.4.3 && <0.5 - , mtl >=2.2.1 - , network >=2.6.2 && <2.7 - , random >=1.1 - , safe-exceptions <0.2 - , text >=0.11 && <1.3 - , time >=1.5 && <1.9 - , transformers >=0.4.0.0 - , unordered-containers - , vector >=0.10.9 && <0.13 - , katip >=0.4 && < 0.6 - exposed-modules: - Kubernetes - Kubernetes.API.Admissionregistration - Kubernetes.API.AdmissionregistrationV1alpha1 - Kubernetes.API.AdmissionregistrationV1beta1 - Kubernetes.API.Apiextensions - Kubernetes.API.ApiextensionsV1beta1 - Kubernetes.API.Apiregistration - Kubernetes.API.ApiregistrationV1beta1 - Kubernetes.API.Apis - Kubernetes.API.Apps - Kubernetes.API.AppsV1 - Kubernetes.API.AppsV1beta1 - Kubernetes.API.AppsV1beta2 - Kubernetes.API.Authentication - Kubernetes.API.AuthenticationV1 - Kubernetes.API.AuthenticationV1beta1 - Kubernetes.API.Authorization - Kubernetes.API.AuthorizationV1 - Kubernetes.API.AuthorizationV1beta1 - Kubernetes.API.Autoscaling - Kubernetes.API.AutoscalingV1 - Kubernetes.API.AutoscalingV2beta1 - Kubernetes.API.Batch - Kubernetes.API.BatchV1 - Kubernetes.API.BatchV1beta1 - Kubernetes.API.BatchV2alpha1 - Kubernetes.API.Certificates - Kubernetes.API.CertificatesV1beta1 - Kubernetes.API.Core - Kubernetes.API.CoreV1 - Kubernetes.API.CustomObjects - Kubernetes.API.Events - Kubernetes.API.EventsV1beta1 - Kubernetes.API.Extensions - Kubernetes.API.ExtensionsV1beta1 - Kubernetes.API.Logs - Kubernetes.API.Networking - Kubernetes.API.NetworkingV1 - Kubernetes.API.Policy - Kubernetes.API.PolicyV1beta1 - Kubernetes.API.RbacAuthorization - Kubernetes.API.RbacAuthorizationV1 - Kubernetes.API.RbacAuthorizationV1alpha1 - Kubernetes.API.RbacAuthorizationV1beta1 - Kubernetes.API.Scheduling - Kubernetes.API.SchedulingV1alpha1 - Kubernetes.API.Settings - Kubernetes.API.SettingsV1alpha1 - Kubernetes.API.Storage - Kubernetes.API.StorageV1 - Kubernetes.API.StorageV1alpha1 - Kubernetes.API.StorageV1beta1 - Kubernetes.API.Version - Kubernetes.Client - Kubernetes.Core - Kubernetes.Logging - Kubernetes.MimeTypes - Kubernetes.Model - Kubernetes.ModelLens - other-modules: - Paths_kubernetes - default-language: Haskell2010 - -test-suite tests - type: exitcode-stdio-1.0 - main-is: Test.hs - hs-source-dirs: - tests - ghc-options: -Wall -fno-warn-orphans - build-depends: - kubernetes - , QuickCheck - , aeson - , base >=4.7 && <5.0 - , bytestring >=0.10.0 && <0.11 - , containers - , hspec >=1.8 - , iso8601-time - , mtl >=2.2.1 - , semigroups - , text - , time - , transformers >=0.4.0.0 - , unordered-containers - , vector - other-modules: - ApproxEq - Instances - PropMime - default-language: Haskell2010 diff --git a/kubernetes/lib/Kubernetes.hs b/kubernetes/lib/Kubernetes.hs deleted file mode 100644 index 4eaed37..0000000 --- a/kubernetes/lib/Kubernetes.hs +++ /dev/null @@ -1,30 +0,0 @@ -{- - Kubernetes - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - - OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 - Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) --} - -{-| -Module : Kubernetes --} - -module Kubernetes - ( module Kubernetes.Client - , module Kubernetes.Core - , module Kubernetes.Logging - , module Kubernetes.MimeTypes - , module Kubernetes.Model - , module Kubernetes.ModelLens - ) where - - -import Kubernetes.Client -import Kubernetes.Core -import Kubernetes.Logging -import Kubernetes.MimeTypes -import Kubernetes.Model -import Kubernetes.ModelLens \ No newline at end of file diff --git a/kubernetes/lib/Kubernetes/API/CustomObjects.hs b/kubernetes/lib/Kubernetes/API/CustomObjects.hs deleted file mode 100644 index 8384f82..0000000 --- a/kubernetes/lib/Kubernetes/API/CustomObjects.hs +++ /dev/null @@ -1,453 +0,0 @@ -{- - Kubernetes - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - - OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 - Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) --} - -{-| -Module : Kubernetes.API.CustomObjects --} - -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE FlexibleInstances #-} -{-# LANGUAGE MonoLocalBinds #-} -{-# LANGUAGE MultiParamTypeClasses #-} -{-# LANGUAGE OverloadedStrings #-} -{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} - -module Kubernetes.API.CustomObjects where - -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M - -import qualified Data.Aeson as A -import qualified Data.ByteString as B -import qualified Data.ByteString.Lazy as BL -import qualified Data.Data as P (Typeable, TypeRep, typeOf, typeRep) -import qualified Data.Foldable as P -import qualified Data.Map as Map -import qualified Data.Maybe as P -import qualified Data.Proxy as P (Proxy(..)) -import qualified Data.Set as Set -import qualified Data.String as P -import qualified Data.Text as T -import qualified Data.Text.Encoding as T -import qualified Data.Text.Lazy as TL -import qualified Data.Text.Lazy.Encoding as TL -import qualified Data.Time as TI -import qualified Network.HTTP.Client.MultipartFormData as NH -import qualified Network.HTTP.Media as ME -import qualified Network.HTTP.Types as NH -import qualified Web.FormUrlEncoded as WH -import qualified Web.HttpApiData as WH - -import Data.Text (Text) -import GHC.Base ((<|>)) - -import Prelude ((==),(/=),($), (.),(<$>),(<*>),(>>=),Maybe(..),Bool(..),Char,Double,FilePath,Float,Int,Integer,String,fmap,undefined,mempty,maybe,pure,Monad,Applicative,Functor) -import qualified Prelude as P - --- * Operations - - --- ** CustomObjects - --- *** createClusterCustomObject - --- | @POST \/apis\/{group}\/{version}\/{plural}@ --- --- Creates a cluster scoped Custom object --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -createClusterCustomObject - :: (Consumes CreateClusterCustomObject contentType, MimeRender contentType A.Value) - => ContentType contentType -- ^ request content-type ('MimeType') - -> Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - The custom resource's group name - -> Version -- ^ "version" - The custom resource's version - -> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind. - -> A.Value -- ^ "body" - The JSON schema of the Resource to create. - -> KubernetesRequest CreateClusterCustomObject contentType A.Value accept -createClusterCustomObject _ _ (Group group) (Version version) (Plural plural) body = - _mkRequest "POST" ["/apis/",toPath group,"/",toPath version,"/",toPath plural] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - `setBodyParam` body - -data CreateClusterCustomObject - --- | /Body Param/ "body" - The JSON schema of the Resource to create. -instance HasBodyParam CreateClusterCustomObject A.Value - --- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed. -instance HasOptionalParam CreateClusterCustomObject Pretty where - applyOptionalParam req (Pretty xs) = - req `setQuery` toQuery ("pretty", Just xs) --- | @application/json@ -instance Produces CreateClusterCustomObject MimeJSON - - --- *** createNamespacedCustomObject - --- | @POST \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@ --- --- Creates a namespace scoped Custom object --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -createNamespacedCustomObject - :: (Consumes CreateNamespacedCustomObject contentType, MimeRender contentType A.Value) - => ContentType contentType -- ^ request content-type ('MimeType') - -> Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - The custom resource's group name - -> Version -- ^ "version" - The custom resource's version - -> Namespace -- ^ "namespace" - The custom resource's namespace - -> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind. - -> A.Value -- ^ "body" - The JSON schema of the Resource to create. - -> KubernetesRequest CreateNamespacedCustomObject contentType A.Value accept -createNamespacedCustomObject _ _ (Group group) (Version version) (Namespace namespace) (Plural plural) body = - _mkRequest "POST" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - `setBodyParam` body - -data CreateNamespacedCustomObject - --- | /Body Param/ "body" - The JSON schema of the Resource to create. -instance HasBodyParam CreateNamespacedCustomObject A.Value - --- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed. -instance HasOptionalParam CreateNamespacedCustomObject Pretty where - applyOptionalParam req (Pretty xs) = - req `setQuery` toQuery ("pretty", Just xs) --- | @application/json@ -instance Produces CreateNamespacedCustomObject MimeJSON - - --- *** deleteClusterCustomObject - --- | @DELETE \/apis\/{group}\/{version}\/{plural}\/{name}@ --- --- Deletes the specified cluster scoped custom object --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -deleteClusterCustomObject - :: (Consumes DeleteClusterCustomObject contentType, MimeRender contentType V1DeleteOptions) - => ContentType contentType -- ^ request content-type ('MimeType') - -> Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - the custom resource's group - -> Version -- ^ "version" - the custom resource's version - -> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind. - -> Name -- ^ "name" - the custom object's name - -> V1DeleteOptions -- ^ "body" - -> KubernetesRequest DeleteClusterCustomObject contentType A.Value accept -deleteClusterCustomObject _ _ (Group group) (Version version) (Plural plural) (Name name) body = - _mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - `setBodyParam` body - -data DeleteClusterCustomObject -instance HasBodyParam DeleteClusterCustomObject V1DeleteOptions - --- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. -instance HasOptionalParam DeleteClusterCustomObject GracePeriodSeconds where - applyOptionalParam req (GracePeriodSeconds xs) = - req `setQuery` toQuery ("gracePeriodSeconds", Just xs) - --- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. -instance HasOptionalParam DeleteClusterCustomObject OrphanDependents where - applyOptionalParam req (OrphanDependents xs) = - req `setQuery` toQuery ("orphanDependents", Just xs) - --- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. -instance HasOptionalParam DeleteClusterCustomObject PropagationPolicy where - applyOptionalParam req (PropagationPolicy xs) = - req `setQuery` toQuery ("propagationPolicy", Just xs) - --- | @*/*@ -instance MimeType mtype => Consumes DeleteClusterCustomObject mtype - --- | @application/json@ -instance Produces DeleteClusterCustomObject MimeJSON - - --- *** deleteNamespacedCustomObject - --- | @DELETE \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@ --- --- Deletes the specified namespace scoped custom object --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -deleteNamespacedCustomObject - :: (Consumes DeleteNamespacedCustomObject contentType, MimeRender contentType V1DeleteOptions) - => ContentType contentType -- ^ request content-type ('MimeType') - -> Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - the custom resource's group - -> Version -- ^ "version" - the custom resource's version - -> Namespace -- ^ "namespace" - The custom resource's namespace - -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. - -> Name -- ^ "name" - the custom object's name - -> V1DeleteOptions -- ^ "body" - -> KubernetesRequest DeleteNamespacedCustomObject contentType A.Value accept -deleteNamespacedCustomObject _ _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = - _mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - `setBodyParam` body - -data DeleteNamespacedCustomObject -instance HasBodyParam DeleteNamespacedCustomObject V1DeleteOptions - --- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. -instance HasOptionalParam DeleteNamespacedCustomObject GracePeriodSeconds where - applyOptionalParam req (GracePeriodSeconds xs) = - req `setQuery` toQuery ("gracePeriodSeconds", Just xs) - --- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. -instance HasOptionalParam DeleteNamespacedCustomObject OrphanDependents where - applyOptionalParam req (OrphanDependents xs) = - req `setQuery` toQuery ("orphanDependents", Just xs) - --- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. -instance HasOptionalParam DeleteNamespacedCustomObject PropagationPolicy where - applyOptionalParam req (PropagationPolicy xs) = - req `setQuery` toQuery ("propagationPolicy", Just xs) - --- | @*/*@ -instance MimeType mtype => Consumes DeleteNamespacedCustomObject mtype - --- | @application/json@ -instance Produces DeleteNamespacedCustomObject MimeJSON - - --- *** getClusterCustomObject - --- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}@ --- --- Returns a cluster scoped custom object --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -getClusterCustomObject - :: Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - the custom resource's group - -> Version -- ^ "version" - the custom resource's version - -> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind. - -> Name -- ^ "name" - the custom object's name - -> KubernetesRequest GetClusterCustomObject MimeNoContent A.Value accept -getClusterCustomObject _ (Group group) (Version version) (Plural plural) (Name name) = - _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - -data GetClusterCustomObject - --- | @*/*@ -instance MimeType mtype => Consumes GetClusterCustomObject mtype - --- | @application/json@ -instance Produces GetClusterCustomObject MimeJSON - - --- *** getNamespacedCustomObject - --- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@ --- --- Returns a namespace scoped custom object --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -getNamespacedCustomObject - :: Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - the custom resource's group - -> Version -- ^ "version" - the custom resource's version - -> Namespace -- ^ "namespace" - The custom resource's namespace - -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. - -> Name -- ^ "name" - the custom object's name - -> KubernetesRequest GetNamespacedCustomObject MimeNoContent A.Value accept -getNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) = - _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - -data GetNamespacedCustomObject - --- | @*/*@ -instance MimeType mtype => Consumes GetNamespacedCustomObject mtype - --- | @application/json@ -instance Produces GetNamespacedCustomObject MimeJSON - - --- *** listClusterCustomObject - --- | @GET \/apis\/{group}\/{version}\/{plural}@ --- --- list or watch cluster scoped custom objects --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -listClusterCustomObject - :: Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - The custom resource's group name - -> Version -- ^ "version" - The custom resource's version - -> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind. - -> KubernetesRequest ListClusterCustomObject MimeNoContent A.Value accept -listClusterCustomObject _ (Group group) (Version version) (Plural plural) = - _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - -data ListClusterCustomObject - --- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed. -instance HasOptionalParam ListClusterCustomObject Pretty where - applyOptionalParam req (Pretty xs) = - req `setQuery` toQuery ("pretty", Just xs) - --- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything. -instance HasOptionalParam ListClusterCustomObject LabelSelector where - applyOptionalParam req (LabelSelector xs) = - req `setQuery` toQuery ("labelSelector", Just xs) - --- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -instance HasOptionalParam ListClusterCustomObject ResourceVersion where - applyOptionalParam req (ResourceVersion xs) = - req `setQuery` toQuery ("resourceVersion", Just xs) - --- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. -instance HasOptionalParam ListClusterCustomObject Watch where - applyOptionalParam req (Watch xs) = - req `setQuery` toQuery ("watch", Just xs) - --- | @*/*@ -instance MimeType mtype => Consumes ListClusterCustomObject mtype - --- | @application/json@ -instance Produces ListClusterCustomObject MimeJSON --- | @application/json;stream=watch@ -instance Produces ListClusterCustomObject MimeJsonstreamwatch - - --- *** listNamespacedCustomObject - --- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@ --- --- list or watch namespace scoped custom objects --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -listNamespacedCustomObject - :: Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - The custom resource's group name - -> Version -- ^ "version" - The custom resource's version - -> Namespace -- ^ "namespace" - The custom resource's namespace - -> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind. - -> KubernetesRequest ListNamespacedCustomObject MimeNoContent A.Value accept -listNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) = - _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - -data ListNamespacedCustomObject - --- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed. -instance HasOptionalParam ListNamespacedCustomObject Pretty where - applyOptionalParam req (Pretty xs) = - req `setQuery` toQuery ("pretty", Just xs) - --- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything. -instance HasOptionalParam ListNamespacedCustomObject LabelSelector where - applyOptionalParam req (LabelSelector xs) = - req `setQuery` toQuery ("labelSelector", Just xs) - --- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -instance HasOptionalParam ListNamespacedCustomObject ResourceVersion where - applyOptionalParam req (ResourceVersion xs) = - req `setQuery` toQuery ("resourceVersion", Just xs) - --- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. -instance HasOptionalParam ListNamespacedCustomObject Watch where - applyOptionalParam req (Watch xs) = - req `setQuery` toQuery ("watch", Just xs) - --- | @*/*@ -instance MimeType mtype => Consumes ListNamespacedCustomObject mtype - --- | @application/json@ -instance Produces ListNamespacedCustomObject MimeJSON --- | @application/json;stream=watch@ -instance Produces ListNamespacedCustomObject MimeJsonstreamwatch - - --- *** replaceClusterCustomObject - --- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}@ --- --- replace the specified cluster scoped custom object --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -replaceClusterCustomObject - :: (Consumes ReplaceClusterCustomObject contentType, MimeRender contentType A.Value) - => ContentType contentType -- ^ request content-type ('MimeType') - -> Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - the custom resource's group - -> Version -- ^ "version" - the custom resource's version - -> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind. - -> Name -- ^ "name" - the custom object's name - -> A.Value -- ^ "body" - The JSON schema of the Resource to replace. - -> KubernetesRequest ReplaceClusterCustomObject contentType A.Value accept -replaceClusterCustomObject _ _ (Group group) (Version version) (Plural plural) (Name name) body = - _mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - `setBodyParam` body - -data ReplaceClusterCustomObject - --- | /Body Param/ "body" - The JSON schema of the Resource to replace. -instance HasBodyParam ReplaceClusterCustomObject A.Value - --- | @*/*@ -instance MimeType mtype => Consumes ReplaceClusterCustomObject mtype - --- | @application/json@ -instance Produces ReplaceClusterCustomObject MimeJSON - - --- *** replaceNamespacedCustomObject - --- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@ --- --- replace the specified namespace scoped custom object --- --- AuthMethod: 'AuthApiKeyBearerToken' --- -replaceNamespacedCustomObject - :: (Consumes ReplaceNamespacedCustomObject contentType, MimeRender contentType A.Value) - => ContentType contentType -- ^ request content-type ('MimeType') - -> Accept accept -- ^ request accept ('MimeType') - -> Group -- ^ "group" - the custom resource's group - -> Version -- ^ "version" - the custom resource's version - -> Namespace -- ^ "namespace" - The custom resource's namespace - -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. - -> Name -- ^ "name" - the custom object's name - -> A.Value -- ^ "body" - The JSON schema of the Resource to replace. - -> KubernetesRequest ReplaceNamespacedCustomObject contentType A.Value accept -replaceNamespacedCustomObject _ _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = - _mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name] - `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) - `setBodyParam` body - -data ReplaceNamespacedCustomObject - --- | /Body Param/ "body" - The JSON schema of the Resource to replace. -instance HasBodyParam ReplaceNamespacedCustomObject A.Value - --- | @*/*@ -instance MimeType mtype => Consumes ReplaceNamespacedCustomObject mtype - --- | @application/json@ -instance Produces ReplaceNamespacedCustomObject MimeJSON - diff --git a/kubernetes/lib/Kubernetes/OpenAPI.hs b/kubernetes/lib/Kubernetes/OpenAPI.hs new file mode 100644 index 0000000..4837889 --- /dev/null +++ b/kubernetes/lib/Kubernetes/OpenAPI.hs @@ -0,0 +1,30 @@ +{- + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: 2.0 + Kubernetes API version: v1.9.12 + Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) +-} + +{-| +Module : Kubernetes.OpenAPI +-} + +module Kubernetes.OpenAPI + ( module Kubernetes.OpenAPI.Client + , module Kubernetes.OpenAPI.Core + , module Kubernetes.OpenAPI.Logging + , module Kubernetes.OpenAPI.MimeTypes + , module Kubernetes.OpenAPI.Model + , module Kubernetes.OpenAPI.ModelLens + ) where + + +import Kubernetes.OpenAPI.Client +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.Logging +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model +import Kubernetes.OpenAPI.ModelLens \ No newline at end of file diff --git a/kubernetes/lib/Kubernetes/API/Admissionregistration.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Admissionregistration.hs similarity index 90% rename from kubernetes/lib/Kubernetes/API/Admissionregistration.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Admissionregistration.hs index df9334a..ab06425 100644 --- a/kubernetes/lib/Kubernetes/API/Admissionregistration.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Admissionregistration.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Admissionregistration +Module : Kubernetes.OpenAPI.API.Admissionregistration -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Admissionregistration {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Admissionregistration where +module Kubernetes.OpenAPI.API.Admissionregistration where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AdmissionregistrationV1alpha1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AdmissionregistrationV1alpha1.hs similarity index 98% rename from kubernetes/lib/Kubernetes/API/AdmissionregistrationV1alpha1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AdmissionregistrationV1alpha1.hs index 1d9da62..06d7a06 100644 --- a/kubernetes/lib/Kubernetes/API/AdmissionregistrationV1alpha1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AdmissionregistrationV1alpha1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AdmissionregistrationV1alpha1 +Module : Kubernetes.OpenAPI.API.AdmissionregistrationV1alpha1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AdmissionregistrationV1alpha1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AdmissionregistrationV1alpha1 where +module Kubernetes.OpenAPI.API.AdmissionregistrationV1alpha1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AdmissionregistrationV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AdmissionregistrationV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/AdmissionregistrationV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AdmissionregistrationV1beta1.hs index 4e07a26..51d3fcf 100644 --- a/kubernetes/lib/Kubernetes/API/AdmissionregistrationV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AdmissionregistrationV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AdmissionregistrationV1beta1 +Module : Kubernetes.OpenAPI.API.AdmissionregistrationV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AdmissionregistrationV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AdmissionregistrationV1beta1 where +module Kubernetes.OpenAPI.API.AdmissionregistrationV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Apiextensions.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Apiextensions.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Apiextensions.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Apiextensions.hs index 4c53c93..4e123cf 100644 --- a/kubernetes/lib/Kubernetes/API/Apiextensions.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Apiextensions.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Apiextensions +Module : Kubernetes.OpenAPI.API.Apiextensions -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Apiextensions {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Apiextensions where +module Kubernetes.OpenAPI.API.Apiextensions where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/ApiextensionsV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/ApiextensionsV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/ApiextensionsV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/ApiextensionsV1beta1.hs index 065ad8f..2be3952 100644 --- a/kubernetes/lib/Kubernetes/API/ApiextensionsV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/ApiextensionsV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.ApiextensionsV1beta1 +Module : Kubernetes.OpenAPI.API.ApiextensionsV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.ApiextensionsV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.ApiextensionsV1beta1 where +module Kubernetes.OpenAPI.API.ApiextensionsV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Apiregistration.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Apiregistration.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Apiregistration.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Apiregistration.hs index 6f6d616..a022fe8 100644 --- a/kubernetes/lib/Kubernetes/API/Apiregistration.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Apiregistration.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Apiregistration +Module : Kubernetes.OpenAPI.API.Apiregistration -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Apiregistration {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Apiregistration where +module Kubernetes.OpenAPI.API.Apiregistration where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/ApiregistrationV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/ApiregistrationV1beta1.hs similarity index 98% rename from kubernetes/lib/Kubernetes/API/ApiregistrationV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/ApiregistrationV1beta1.hs index 00657f7..3f0c79e 100644 --- a/kubernetes/lib/Kubernetes/API/ApiregistrationV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/ApiregistrationV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.ApiregistrationV1beta1 +Module : Kubernetes.OpenAPI.API.ApiregistrationV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.ApiregistrationV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.ApiregistrationV1beta1 where +module Kubernetes.OpenAPI.API.ApiregistrationV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Apis.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Apis.hs similarity index 92% rename from kubernetes/lib/Kubernetes/API/Apis.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Apis.hs index bb5a3d0..12f0e36 100644 --- a/kubernetes/lib/Kubernetes/API/Apis.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Apis.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Apis +Module : Kubernetes.OpenAPI.API.Apis -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Apis {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Apis where +module Kubernetes.OpenAPI.API.Apis where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Apps.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Apps.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Apps.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Apps.hs index 8ce6a36..2f908fc 100644 --- a/kubernetes/lib/Kubernetes/API/Apps.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Apps.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Apps +Module : Kubernetes.OpenAPI.API.Apps -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Apps {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Apps where +module Kubernetes.OpenAPI.API.Apps where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AppsV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/AppsV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1.hs index d6aa908..1d78d45 100644 --- a/kubernetes/lib/Kubernetes/API/AppsV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AppsV1 +Module : Kubernetes.OpenAPI.API.AppsV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AppsV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AppsV1 where +module Kubernetes.OpenAPI.API.AppsV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AppsV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/AppsV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1beta1.hs index a03a11f..f8cba0f 100644 --- a/kubernetes/lib/Kubernetes/API/AppsV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AppsV1beta1 +Module : Kubernetes.OpenAPI.API.AppsV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AppsV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AppsV1beta1 where +module Kubernetes.OpenAPI.API.AppsV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AppsV1beta2.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1beta2.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/AppsV1beta2.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1beta2.hs index b4f01c6..c359e90 100644 --- a/kubernetes/lib/Kubernetes/API/AppsV1beta2.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AppsV1beta2.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AppsV1beta2 +Module : Kubernetes.OpenAPI.API.AppsV1beta2 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AppsV1beta2 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AppsV1beta2 where +module Kubernetes.OpenAPI.API.AppsV1beta2 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Authentication.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Authentication.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Authentication.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Authentication.hs index bd9b979..82cff90 100644 --- a/kubernetes/lib/Kubernetes/API/Authentication.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Authentication.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Authentication +Module : Kubernetes.OpenAPI.API.Authentication -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Authentication {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Authentication where +module Kubernetes.OpenAPI.API.Authentication where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AuthenticationV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AuthenticationV1.hs similarity index 94% rename from kubernetes/lib/Kubernetes/API/AuthenticationV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AuthenticationV1.hs index b7a2798..a477f6b 100644 --- a/kubernetes/lib/Kubernetes/API/AuthenticationV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AuthenticationV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AuthenticationV1 +Module : Kubernetes.OpenAPI.API.AuthenticationV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AuthenticationV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AuthenticationV1 where +module Kubernetes.OpenAPI.API.AuthenticationV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AuthenticationV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AuthenticationV1beta1.hs similarity index 93% rename from kubernetes/lib/Kubernetes/API/AuthenticationV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AuthenticationV1beta1.hs index c11c3a7..af7d377 100644 --- a/kubernetes/lib/Kubernetes/API/AuthenticationV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AuthenticationV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AuthenticationV1beta1 +Module : Kubernetes.OpenAPI.API.AuthenticationV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AuthenticationV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AuthenticationV1beta1 where +module Kubernetes.OpenAPI.API.AuthenticationV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Authorization.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Authorization.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Authorization.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Authorization.hs index e774005..be6c420 100644 --- a/kubernetes/lib/Kubernetes/API/Authorization.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Authorization.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Authorization +Module : Kubernetes.OpenAPI.API.Authorization -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Authorization {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Authorization where +module Kubernetes.OpenAPI.API.Authorization where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AuthorizationV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AuthorizationV1.hs similarity index 97% rename from kubernetes/lib/Kubernetes/API/AuthorizationV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AuthorizationV1.hs index 8aafbc5..d826013 100644 --- a/kubernetes/lib/Kubernetes/API/AuthorizationV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AuthorizationV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AuthorizationV1 +Module : Kubernetes.OpenAPI.API.AuthorizationV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AuthorizationV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AuthorizationV1 where +module Kubernetes.OpenAPI.API.AuthorizationV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AuthorizationV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AuthorizationV1beta1.hs similarity index 97% rename from kubernetes/lib/Kubernetes/API/AuthorizationV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AuthorizationV1beta1.hs index fd91fca..c2ae44e 100644 --- a/kubernetes/lib/Kubernetes/API/AuthorizationV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AuthorizationV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AuthorizationV1beta1 +Module : Kubernetes.OpenAPI.API.AuthorizationV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AuthorizationV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AuthorizationV1beta1 where +module Kubernetes.OpenAPI.API.AuthorizationV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Autoscaling.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Autoscaling.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Autoscaling.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Autoscaling.hs index 66c3846..8b35576 100644 --- a/kubernetes/lib/Kubernetes/API/Autoscaling.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Autoscaling.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Autoscaling +Module : Kubernetes.OpenAPI.API.Autoscaling -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Autoscaling {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Autoscaling where +module Kubernetes.OpenAPI.API.Autoscaling where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AutoscalingV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AutoscalingV1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/AutoscalingV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AutoscalingV1.hs index 22a8209..0c3b259 100644 --- a/kubernetes/lib/Kubernetes/API/AutoscalingV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AutoscalingV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AutoscalingV1 +Module : Kubernetes.OpenAPI.API.AutoscalingV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AutoscalingV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AutoscalingV1 where +module Kubernetes.OpenAPI.API.AutoscalingV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/AutoscalingV2beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/AutoscalingV2beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/AutoscalingV2beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/AutoscalingV2beta1.hs index 107f9c7..d89ccf9 100644 --- a/kubernetes/lib/Kubernetes/API/AutoscalingV2beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/AutoscalingV2beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.AutoscalingV2beta1 +Module : Kubernetes.OpenAPI.API.AutoscalingV2beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.AutoscalingV2beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.AutoscalingV2beta1 where +module Kubernetes.OpenAPI.API.AutoscalingV2beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Batch.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Batch.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Batch.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Batch.hs index 2d0fb30..d225bfe 100644 --- a/kubernetes/lib/Kubernetes/API/Batch.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Batch.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Batch +Module : Kubernetes.OpenAPI.API.Batch -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Batch {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Batch where +module Kubernetes.OpenAPI.API.Batch where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/BatchV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/BatchV1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/BatchV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/BatchV1.hs index 646fc0e..c6f0e01 100644 --- a/kubernetes/lib/Kubernetes/API/BatchV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/BatchV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.BatchV1 +Module : Kubernetes.OpenAPI.API.BatchV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.BatchV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.BatchV1 where +module Kubernetes.OpenAPI.API.BatchV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/BatchV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/BatchV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/BatchV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/BatchV1beta1.hs index 9b68745..ed99de8 100644 --- a/kubernetes/lib/Kubernetes/API/BatchV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/BatchV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.BatchV1beta1 +Module : Kubernetes.OpenAPI.API.BatchV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.BatchV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.BatchV1beta1 where +module Kubernetes.OpenAPI.API.BatchV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/BatchV2alpha1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/BatchV2alpha1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/BatchV2alpha1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/BatchV2alpha1.hs index cbe0503..ca1ae2d 100644 --- a/kubernetes/lib/Kubernetes/API/BatchV2alpha1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/BatchV2alpha1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.BatchV2alpha1 +Module : Kubernetes.OpenAPI.API.BatchV2alpha1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.BatchV2alpha1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.BatchV2alpha1 where +module Kubernetes.OpenAPI.API.BatchV2alpha1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Certificates.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Certificates.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Certificates.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Certificates.hs index f908bee..a5cacf4 100644 --- a/kubernetes/lib/Kubernetes/API/Certificates.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Certificates.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Certificates +Module : Kubernetes.OpenAPI.API.Certificates -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Certificates {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Certificates where +module Kubernetes.OpenAPI.API.Certificates where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/CertificatesV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/CertificatesV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/CertificatesV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/CertificatesV1beta1.hs index bafd8ae..a9ad35e 100644 --- a/kubernetes/lib/Kubernetes/API/CertificatesV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/CertificatesV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.CertificatesV1beta1 +Module : Kubernetes.OpenAPI.API.CertificatesV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.CertificatesV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.CertificatesV1beta1 where +module Kubernetes.OpenAPI.API.CertificatesV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Core.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Core.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Core.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Core.hs index 37ee1ae..90b63fa 100644 --- a/kubernetes/lib/Kubernetes/API/Core.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Core.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Core +Module : Kubernetes.OpenAPI.API.Core -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Core {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Core where +module Kubernetes.OpenAPI.API.Core where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/CoreV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/CoreV1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/CoreV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/CoreV1.hs index c4a0331..f072229 100644 --- a/kubernetes/lib/Kubernetes/API/CoreV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/CoreV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.CoreV1 +Module : Kubernetes.OpenAPI.API.CoreV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.CoreV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.CoreV1 where +module Kubernetes.OpenAPI.API.CoreV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/OpenAPI/API/CustomObjects.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/CustomObjects.hs new file mode 100644 index 0000000..e5c618f --- /dev/null +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/CustomObjects.hs @@ -0,0 +1,948 @@ +{- + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: 2.0 + Kubernetes API version: v1.9.12 + Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) +-} + +{-| +Module : Kubernetes.OpenAPI.API.CustomObjects +-} + +{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE MonoLocalBinds #-} +{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE OverloadedStrings #-} +{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} + +module Kubernetes.OpenAPI.API.CustomObjects where + +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M + +import qualified Data.Aeson as A +import qualified Data.ByteString as B +import qualified Data.ByteString.Lazy as BL +import qualified Data.Data as P (Typeable, TypeRep, typeOf, typeRep) +import qualified Data.Foldable as P +import qualified Data.Map as Map +import qualified Data.Maybe as P +import qualified Data.Proxy as P (Proxy(..)) +import qualified Data.Set as Set +import qualified Data.String as P +import qualified Data.Text as T +import qualified Data.Text.Encoding as T +import qualified Data.Text.Lazy as TL +import qualified Data.Text.Lazy.Encoding as TL +import qualified Data.Time as TI +import qualified Network.HTTP.Client.MultipartFormData as NH +import qualified Network.HTTP.Media as ME +import qualified Network.HTTP.Types as NH +import qualified Web.FormUrlEncoded as WH +import qualified Web.HttpApiData as WH + +import Data.Text (Text) +import GHC.Base ((<|>)) + +import Prelude ((==),(/=),($), (.),(<$>),(<*>),(>>=),Maybe(..),Bool(..),Char,Double,FilePath,Float,Int,Integer,String,fmap,undefined,mempty,maybe,pure,Monad,Applicative,Functor) +import qualified Prelude as P + +-- * Operations + + +-- ** CustomObjects + +-- *** createClusterCustomObject + +-- | @POST \/apis\/{group}\/{version}\/{plural}@ +-- +-- Creates a cluster scoped Custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +createClusterCustomObject + :: (Consumes CreateClusterCustomObject contentType, MimeRender contentType A.Value) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Group -- ^ "group" - The custom resource's group name + -> Version -- ^ "version" - The custom resource's version + -> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind. + -> A.Value -- ^ "body" - The JSON schema of the Resource to create. + -> KubernetesRequest CreateClusterCustomObject contentType A.Value MimeJSON +createClusterCustomObject _ (Group group) (Version version) (Plural plural) body = + _mkRequest "POST" ["/apis/",toPath group,"/",toPath version,"/",toPath plural] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data CreateClusterCustomObject + +-- | /Body Param/ "body" - The JSON schema of the Resource to create. +instance HasBodyParam CreateClusterCustomObject A.Value + +-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed. +instance HasOptionalParam CreateClusterCustomObject Pretty where + applyOptionalParam req (Pretty xs) = + req `setQuery` toQuery ("pretty", Just xs) +-- | @application/json@ +instance Produces CreateClusterCustomObject MimeJSON + + +-- *** createNamespacedCustomObject + +-- | @POST \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@ +-- +-- Creates a namespace scoped Custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +createNamespacedCustomObject + :: (Consumes CreateNamespacedCustomObject contentType, MimeRender contentType A.Value) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Group -- ^ "group" - The custom resource's group name + -> Version -- ^ "version" - The custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind. + -> A.Value -- ^ "body" - The JSON schema of the Resource to create. + -> KubernetesRequest CreateNamespacedCustomObject contentType A.Value MimeJSON +createNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) body = + _mkRequest "POST" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data CreateNamespacedCustomObject + +-- | /Body Param/ "body" - The JSON schema of the Resource to create. +instance HasBodyParam CreateNamespacedCustomObject A.Value + +-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed. +instance HasOptionalParam CreateNamespacedCustomObject Pretty where + applyOptionalParam req (Pretty xs) = + req `setQuery` toQuery ("pretty", Just xs) +-- | @application/json@ +instance Produces CreateNamespacedCustomObject MimeJSON + + +-- *** deleteClusterCustomObject + +-- | @DELETE \/apis\/{group}\/{version}\/{plural}\/{name}@ +-- +-- Deletes the specified cluster scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +deleteClusterCustomObject + :: (Consumes DeleteClusterCustomObject contentType, MimeRender contentType V1DeleteOptions) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> V1DeleteOptions -- ^ "body" + -> KubernetesRequest DeleteClusterCustomObject contentType A.Value MimeJSON +deleteClusterCustomObject _ (Group group) (Version version) (Plural plural) (Name name) body = + _mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data DeleteClusterCustomObject +instance HasBodyParam DeleteClusterCustomObject V1DeleteOptions + +-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +instance HasOptionalParam DeleteClusterCustomObject GracePeriodSeconds where + applyOptionalParam req (GracePeriodSeconds xs) = + req `setQuery` toQuery ("gracePeriodSeconds", Just xs) + +-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +instance HasOptionalParam DeleteClusterCustomObject OrphanDependents where + applyOptionalParam req (OrphanDependents xs) = + req `setQuery` toQuery ("orphanDependents", Just xs) + +-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +instance HasOptionalParam DeleteClusterCustomObject PropagationPolicy where + applyOptionalParam req (PropagationPolicy xs) = + req `setQuery` toQuery ("propagationPolicy", Just xs) + +-- | @*/*@ +instance MimeType mtype => Consumes DeleteClusterCustomObject mtype + +-- | @application/json@ +instance Produces DeleteClusterCustomObject MimeJSON + + +-- *** deleteNamespacedCustomObject + +-- | @DELETE \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@ +-- +-- Deletes the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +deleteNamespacedCustomObject + :: (Consumes DeleteNamespacedCustomObject contentType, MimeRender contentType V1DeleteOptions) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> V1DeleteOptions -- ^ "body" + -> KubernetesRequest DeleteNamespacedCustomObject contentType A.Value MimeJSON +deleteNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = + _mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data DeleteNamespacedCustomObject +instance HasBodyParam DeleteNamespacedCustomObject V1DeleteOptions + +-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +instance HasOptionalParam DeleteNamespacedCustomObject GracePeriodSeconds where + applyOptionalParam req (GracePeriodSeconds xs) = + req `setQuery` toQuery ("gracePeriodSeconds", Just xs) + +-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +instance HasOptionalParam DeleteNamespacedCustomObject OrphanDependents where + applyOptionalParam req (OrphanDependents xs) = + req `setQuery` toQuery ("orphanDependents", Just xs) + +-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +instance HasOptionalParam DeleteNamespacedCustomObject PropagationPolicy where + applyOptionalParam req (PropagationPolicy xs) = + req `setQuery` toQuery ("propagationPolicy", Just xs) + +-- | @*/*@ +instance MimeType mtype => Consumes DeleteNamespacedCustomObject mtype + +-- | @application/json@ +instance Produces DeleteNamespacedCustomObject MimeJSON + + +-- *** getClusterCustomObject + +-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}@ +-- +-- Returns a cluster scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +getClusterCustomObject + :: Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> KubernetesRequest GetClusterCustomObject MimeNoContent A.Value MimeJSON +getClusterCustomObject (Group group) (Version version) (Plural plural) (Name name) = + _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + +data GetClusterCustomObject + +-- | @*/*@ +instance MimeType mtype => Consumes GetClusterCustomObject mtype + +-- | @application/json@ +instance Produces GetClusterCustomObject MimeJSON + + +-- *** getClusterCustomObjectScale + +-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@ +-- +-- read scale of the specified custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +getClusterCustomObjectScale + :: Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> KubernetesRequest GetClusterCustomObjectScale MimeNoContent A.Value accept +getClusterCustomObjectScale _ (Group group) (Version version) (Plural plural) (Name name) = + _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/scale"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + +data GetClusterCustomObjectScale + +-- | @*/*@ +instance MimeType mtype => Consumes GetClusterCustomObjectScale mtype + +-- | @application/json@ +instance Produces GetClusterCustomObjectScale MimeJSON +-- | @application/yaml@ +instance Produces GetClusterCustomObjectScale MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces GetClusterCustomObjectScale MimeVndKubernetesProtobuf + + +-- *** getClusterCustomObjectStatus + +-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}\/status@ +-- +-- read status of the specified cluster scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +getClusterCustomObjectStatus + :: Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> KubernetesRequest GetClusterCustomObjectStatus MimeNoContent A.Value accept +getClusterCustomObjectStatus _ (Group group) (Version version) (Plural plural) (Name name) = + _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/status"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + +data GetClusterCustomObjectStatus + +-- | @*/*@ +instance MimeType mtype => Consumes GetClusterCustomObjectStatus mtype + +-- | @application/json@ +instance Produces GetClusterCustomObjectStatus MimeJSON +-- | @application/yaml@ +instance Produces GetClusterCustomObjectStatus MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces GetClusterCustomObjectStatus MimeVndKubernetesProtobuf + + +-- *** getNamespacedCustomObject + +-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@ +-- +-- Returns a namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +getNamespacedCustomObject + :: Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> KubernetesRequest GetNamespacedCustomObject MimeNoContent A.Value MimeJSON +getNamespacedCustomObject (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) = + _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + +data GetNamespacedCustomObject + +-- | @*/*@ +instance MimeType mtype => Consumes GetNamespacedCustomObject mtype + +-- | @application/json@ +instance Produces GetNamespacedCustomObject MimeJSON + + +-- *** getNamespacedCustomObjectScale + +-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@ +-- +-- read scale of the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +getNamespacedCustomObjectScale + :: Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> KubernetesRequest GetNamespacedCustomObjectScale MimeNoContent A.Value accept +getNamespacedCustomObjectScale _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) = + _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/scale"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + +data GetNamespacedCustomObjectScale + +-- | @*/*@ +instance MimeType mtype => Consumes GetNamespacedCustomObjectScale mtype + +-- | @application/json@ +instance Produces GetNamespacedCustomObjectScale MimeJSON +-- | @application/yaml@ +instance Produces GetNamespacedCustomObjectScale MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces GetNamespacedCustomObjectScale MimeVndKubernetesProtobuf + + +-- *** getNamespacedCustomObjectStatus + +-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@ +-- +-- read status of the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +getNamespacedCustomObjectStatus + :: Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> KubernetesRequest GetNamespacedCustomObjectStatus MimeNoContent A.Value accept +getNamespacedCustomObjectStatus _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) = + _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/status"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + +data GetNamespacedCustomObjectStatus + +-- | @*/*@ +instance MimeType mtype => Consumes GetNamespacedCustomObjectStatus mtype + +-- | @application/json@ +instance Produces GetNamespacedCustomObjectStatus MimeJSON +-- | @application/yaml@ +instance Produces GetNamespacedCustomObjectStatus MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces GetNamespacedCustomObjectStatus MimeVndKubernetesProtobuf + + +-- *** listClusterCustomObject + +-- | @GET \/apis\/{group}\/{version}\/{plural}@ +-- +-- list or watch cluster scoped custom objects +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +listClusterCustomObject + :: Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - The custom resource's group name + -> Version -- ^ "version" - The custom resource's version + -> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind. + -> KubernetesRequest ListClusterCustomObject MimeNoContent A.Value accept +listClusterCustomObject _ (Group group) (Version version) (Plural plural) = + _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + +data ListClusterCustomObject + +-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed. +instance HasOptionalParam ListClusterCustomObject Pretty where + applyOptionalParam req (Pretty xs) = + req `setQuery` toQuery ("pretty", Just xs) + +-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything. +instance HasOptionalParam ListClusterCustomObject LabelSelector where + applyOptionalParam req (LabelSelector xs) = + req `setQuery` toQuery ("labelSelector", Just xs) + +-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +instance HasOptionalParam ListClusterCustomObject ResourceVersion where + applyOptionalParam req (ResourceVersion xs) = + req `setQuery` toQuery ("resourceVersion", Just xs) + +-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +instance HasOptionalParam ListClusterCustomObject TimeoutSeconds where + applyOptionalParam req (TimeoutSeconds xs) = + req `setQuery` toQuery ("timeoutSeconds", Just xs) + +-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. +instance HasOptionalParam ListClusterCustomObject Watch where + applyOptionalParam req (Watch xs) = + req `setQuery` toQuery ("watch", Just xs) + +-- | @*/*@ +instance MimeType mtype => Consumes ListClusterCustomObject mtype + +-- | @application/json@ +instance Produces ListClusterCustomObject MimeJSON +-- | @application/json;stream=watch@ +instance Produces ListClusterCustomObject MimeJsonstreamwatch + + +-- *** listNamespacedCustomObject + +-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@ +-- +-- list or watch namespace scoped custom objects +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +listNamespacedCustomObject + :: Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - The custom resource's group name + -> Version -- ^ "version" - The custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind. + -> KubernetesRequest ListNamespacedCustomObject MimeNoContent A.Value accept +listNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) = + _mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + +data ListNamespacedCustomObject + +-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed. +instance HasOptionalParam ListNamespacedCustomObject Pretty where + applyOptionalParam req (Pretty xs) = + req `setQuery` toQuery ("pretty", Just xs) + +-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything. +instance HasOptionalParam ListNamespacedCustomObject LabelSelector where + applyOptionalParam req (LabelSelector xs) = + req `setQuery` toQuery ("labelSelector", Just xs) + +-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +instance HasOptionalParam ListNamespacedCustomObject ResourceVersion where + applyOptionalParam req (ResourceVersion xs) = + req `setQuery` toQuery ("resourceVersion", Just xs) + +-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +instance HasOptionalParam ListNamespacedCustomObject TimeoutSeconds where + applyOptionalParam req (TimeoutSeconds xs) = + req `setQuery` toQuery ("timeoutSeconds", Just xs) + +-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. +instance HasOptionalParam ListNamespacedCustomObject Watch where + applyOptionalParam req (Watch xs) = + req `setQuery` toQuery ("watch", Just xs) + +-- | @*/*@ +instance MimeType mtype => Consumes ListNamespacedCustomObject mtype + +-- | @application/json@ +instance Produces ListNamespacedCustomObject MimeJSON +-- | @application/json;stream=watch@ +instance Produces ListNamespacedCustomObject MimeJsonstreamwatch + + +-- *** patchClusterCustomObject + +-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}@ +-- +-- patch the specified cluster scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +patchClusterCustomObject + :: (Consumes PatchClusterCustomObject MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value) + => Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" - The JSON schema of the Resource to patch. + -> KubernetesRequest PatchClusterCustomObject MimeMergePatchjson A.Value MimeJSON +patchClusterCustomObject (Group group) (Version version) (Plural plural) (Name name) body = + _mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data PatchClusterCustomObject + +-- | /Body Param/ "body" - The JSON schema of the Resource to patch. +instance HasBodyParam PatchClusterCustomObject A.Value + +-- | @application/merge-patch+json@ +instance Consumes PatchClusterCustomObject MimeMergePatchjson + +-- | @application/json@ +instance Produces PatchClusterCustomObject MimeJSON + + +-- *** patchClusterCustomObjectScale + +-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@ +-- +-- partially update scale of the specified cluster scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +patchClusterCustomObjectScale + :: (Consumes PatchClusterCustomObjectScale MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value) + => Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" + -> KubernetesRequest PatchClusterCustomObjectScale MimeMergePatchjson A.Value accept +patchClusterCustomObjectScale _ (Group group) (Version version) (Plural plural) (Name name) body = + _mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/scale"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data PatchClusterCustomObjectScale +instance HasBodyParam PatchClusterCustomObjectScale A.Value + +-- | @application/merge-patch+json@ +instance Consumes PatchClusterCustomObjectScale MimeMergePatchjson + +-- | @application/json@ +instance Produces PatchClusterCustomObjectScale MimeJSON +-- | @application/yaml@ +instance Produces PatchClusterCustomObjectScale MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces PatchClusterCustomObjectScale MimeVndKubernetesProtobuf + + +-- *** patchClusterCustomObjectStatus + +-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}\/status@ +-- +-- partially update status of the specified cluster scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +patchClusterCustomObjectStatus + :: (Consumes PatchClusterCustomObjectStatus MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value) + => Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" + -> KubernetesRequest PatchClusterCustomObjectStatus MimeMergePatchjson A.Value accept +patchClusterCustomObjectStatus _ (Group group) (Version version) (Plural plural) (Name name) body = + _mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/status"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data PatchClusterCustomObjectStatus +instance HasBodyParam PatchClusterCustomObjectStatus A.Value + +-- | @application/merge-patch+json@ +instance Consumes PatchClusterCustomObjectStatus MimeMergePatchjson + +-- | @application/json@ +instance Produces PatchClusterCustomObjectStatus MimeJSON +-- | @application/yaml@ +instance Produces PatchClusterCustomObjectStatus MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces PatchClusterCustomObjectStatus MimeVndKubernetesProtobuf + + +-- *** patchNamespacedCustomObject + +-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@ +-- +-- patch the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +patchNamespacedCustomObject + :: (Consumes PatchNamespacedCustomObject MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value) + => Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" - The JSON schema of the Resource to patch. + -> KubernetesRequest PatchNamespacedCustomObject MimeMergePatchjson A.Value MimeJSON +patchNamespacedCustomObject (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = + _mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data PatchNamespacedCustomObject + +-- | /Body Param/ "body" - The JSON schema of the Resource to patch. +instance HasBodyParam PatchNamespacedCustomObject A.Value + +-- | @application/merge-patch+json@ +instance Consumes PatchNamespacedCustomObject MimeMergePatchjson + +-- | @application/json@ +instance Produces PatchNamespacedCustomObject MimeJSON + + +-- *** patchNamespacedCustomObjectScale + +-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@ +-- +-- partially update scale of the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +patchNamespacedCustomObjectScale + :: (Consumes PatchNamespacedCustomObjectScale MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value) + => Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" + -> KubernetesRequest PatchNamespacedCustomObjectScale MimeMergePatchjson A.Value accept +patchNamespacedCustomObjectScale _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = + _mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/scale"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data PatchNamespacedCustomObjectScale +instance HasBodyParam PatchNamespacedCustomObjectScale A.Value + +-- | @application/merge-patch+json@ +instance Consumes PatchNamespacedCustomObjectScale MimeMergePatchjson + +-- | @application/json@ +instance Produces PatchNamespacedCustomObjectScale MimeJSON +-- | @application/yaml@ +instance Produces PatchNamespacedCustomObjectScale MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces PatchNamespacedCustomObjectScale MimeVndKubernetesProtobuf + + +-- *** patchNamespacedCustomObjectStatus + +-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@ +-- +-- partially update status of the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +patchNamespacedCustomObjectStatus + :: (Consumes PatchNamespacedCustomObjectStatus MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value) + => Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" + -> KubernetesRequest PatchNamespacedCustomObjectStatus MimeMergePatchjson A.Value accept +patchNamespacedCustomObjectStatus _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = + _mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/status"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data PatchNamespacedCustomObjectStatus +instance HasBodyParam PatchNamespacedCustomObjectStatus A.Value + +-- | @application/merge-patch+json@ +instance Consumes PatchNamespacedCustomObjectStatus MimeMergePatchjson + +-- | @application/json@ +instance Produces PatchNamespacedCustomObjectStatus MimeJSON +-- | @application/yaml@ +instance Produces PatchNamespacedCustomObjectStatus MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces PatchNamespacedCustomObjectStatus MimeVndKubernetesProtobuf + + +-- *** replaceClusterCustomObject + +-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}@ +-- +-- replace the specified cluster scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +replaceClusterCustomObject + :: (Consumes ReplaceClusterCustomObject contentType, MimeRender contentType A.Value) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" - The JSON schema of the Resource to replace. + -> KubernetesRequest ReplaceClusterCustomObject contentType A.Value MimeJSON +replaceClusterCustomObject _ (Group group) (Version version) (Plural plural) (Name name) body = + _mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data ReplaceClusterCustomObject + +-- | /Body Param/ "body" - The JSON schema of the Resource to replace. +instance HasBodyParam ReplaceClusterCustomObject A.Value + +-- | @*/*@ +instance MimeType mtype => Consumes ReplaceClusterCustomObject mtype + +-- | @application/json@ +instance Produces ReplaceClusterCustomObject MimeJSON + + +-- *** replaceClusterCustomObjectScale + +-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@ +-- +-- replace scale of the specified cluster scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +replaceClusterCustomObjectScale + :: (Consumes ReplaceClusterCustomObjectScale contentType, MimeRender contentType A.Value) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" + -> KubernetesRequest ReplaceClusterCustomObjectScale contentType A.Value accept +replaceClusterCustomObjectScale _ _ (Group group) (Version version) (Plural plural) (Name name) body = + _mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/scale"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data ReplaceClusterCustomObjectScale +instance HasBodyParam ReplaceClusterCustomObjectScale A.Value + +-- | @*/*@ +instance MimeType mtype => Consumes ReplaceClusterCustomObjectScale mtype + +-- | @application/json@ +instance Produces ReplaceClusterCustomObjectScale MimeJSON +-- | @application/yaml@ +instance Produces ReplaceClusterCustomObjectScale MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces ReplaceClusterCustomObjectScale MimeVndKubernetesProtobuf + + +-- *** replaceClusterCustomObjectStatus + +-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}\/status@ +-- +-- replace status of the cluster scoped specified custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +replaceClusterCustomObjectStatus + :: (Consumes ReplaceClusterCustomObjectStatus contentType, MimeRender contentType A.Value) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" + -> KubernetesRequest ReplaceClusterCustomObjectStatus contentType A.Value accept +replaceClusterCustomObjectStatus _ _ (Group group) (Version version) (Plural plural) (Name name) body = + _mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/status"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data ReplaceClusterCustomObjectStatus +instance HasBodyParam ReplaceClusterCustomObjectStatus A.Value + +-- | @*/*@ +instance MimeType mtype => Consumes ReplaceClusterCustomObjectStatus mtype + +-- | @application/json@ +instance Produces ReplaceClusterCustomObjectStatus MimeJSON +-- | @application/yaml@ +instance Produces ReplaceClusterCustomObjectStatus MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces ReplaceClusterCustomObjectStatus MimeVndKubernetesProtobuf + + +-- *** replaceNamespacedCustomObject + +-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@ +-- +-- replace the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +replaceNamespacedCustomObject + :: (Consumes ReplaceNamespacedCustomObject contentType, MimeRender contentType A.Value) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" - The JSON schema of the Resource to replace. + -> KubernetesRequest ReplaceNamespacedCustomObject contentType A.Value MimeJSON +replaceNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = + _mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data ReplaceNamespacedCustomObject + +-- | /Body Param/ "body" - The JSON schema of the Resource to replace. +instance HasBodyParam ReplaceNamespacedCustomObject A.Value + +-- | @*/*@ +instance MimeType mtype => Consumes ReplaceNamespacedCustomObject mtype + +-- | @application/json@ +instance Produces ReplaceNamespacedCustomObject MimeJSON + + +-- *** replaceNamespacedCustomObjectScale + +-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@ +-- +-- replace scale of the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +replaceNamespacedCustomObjectScale + :: (Consumes ReplaceNamespacedCustomObjectScale contentType, MimeRender contentType A.Value) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" + -> KubernetesRequest ReplaceNamespacedCustomObjectScale contentType A.Value accept +replaceNamespacedCustomObjectScale _ _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = + _mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/scale"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data ReplaceNamespacedCustomObjectScale +instance HasBodyParam ReplaceNamespacedCustomObjectScale A.Value + +-- | @*/*@ +instance MimeType mtype => Consumes ReplaceNamespacedCustomObjectScale mtype + +-- | @application/json@ +instance Produces ReplaceNamespacedCustomObjectScale MimeJSON +-- | @application/yaml@ +instance Produces ReplaceNamespacedCustomObjectScale MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces ReplaceNamespacedCustomObjectScale MimeVndKubernetesProtobuf + + +-- *** replaceNamespacedCustomObjectStatus + +-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@ +-- +-- replace status of the specified namespace scoped custom object +-- +-- AuthMethod: 'AuthApiKeyBearerToken' +-- +replaceNamespacedCustomObjectStatus + :: (Consumes ReplaceNamespacedCustomObjectStatus contentType, MimeRender contentType A.Value) + => ContentType contentType -- ^ request content-type ('MimeType') + -> Accept accept -- ^ request accept ('MimeType') + -> Group -- ^ "group" - the custom resource's group + -> Version -- ^ "version" - the custom resource's version + -> Namespace -- ^ "namespace" - The custom resource's namespace + -> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind. + -> Name -- ^ "name" - the custom object's name + -> A.Value -- ^ "body" + -> KubernetesRequest ReplaceNamespacedCustomObjectStatus contentType A.Value accept +replaceNamespacedCustomObjectStatus _ _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body = + _mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/status"] + `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) + `setBodyParam` body + +data ReplaceNamespacedCustomObjectStatus +instance HasBodyParam ReplaceNamespacedCustomObjectStatus A.Value + +-- | @*/*@ +instance MimeType mtype => Consumes ReplaceNamespacedCustomObjectStatus mtype + +-- | @application/json@ +instance Produces ReplaceNamespacedCustomObjectStatus MimeJSON +-- | @application/yaml@ +instance Produces ReplaceNamespacedCustomObjectStatus MimeYaml +-- | @application/vnd.kubernetes.protobuf@ +instance Produces ReplaceNamespacedCustomObjectStatus MimeVndKubernetesProtobuf + diff --git a/kubernetes/lib/Kubernetes/API/Events.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Events.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Events.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Events.hs index 48dcab9..8c723ef 100644 --- a/kubernetes/lib/Kubernetes/API/Events.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Events.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Events +Module : Kubernetes.OpenAPI.API.Events -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Events {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Events where +module Kubernetes.OpenAPI.API.Events where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/EventsV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/EventsV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/EventsV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/EventsV1beta1.hs index 7575a3a..511e57c 100644 --- a/kubernetes/lib/Kubernetes/API/EventsV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/EventsV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.EventsV1beta1 +Module : Kubernetes.OpenAPI.API.EventsV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.EventsV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.EventsV1beta1 where +module Kubernetes.OpenAPI.API.EventsV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Extensions.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Extensions.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Extensions.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Extensions.hs index c3b1e97..17c8756 100644 --- a/kubernetes/lib/Kubernetes/API/Extensions.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Extensions.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Extensions +Module : Kubernetes.OpenAPI.API.Extensions -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Extensions {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Extensions where +module Kubernetes.OpenAPI.API.Extensions where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/ExtensionsV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/ExtensionsV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/ExtensionsV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/ExtensionsV1beta1.hs index 353b9ef..8db5c94 100644 --- a/kubernetes/lib/Kubernetes/API/ExtensionsV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/ExtensionsV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.ExtensionsV1beta1 +Module : Kubernetes.OpenAPI.API.ExtensionsV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.ExtensionsV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.ExtensionsV1beta1 where +module Kubernetes.OpenAPI.API.ExtensionsV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Logs.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Logs.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Logs.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Logs.hs index d33dbdd..a276f7f 100644 --- a/kubernetes/lib/Kubernetes/API/Logs.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Logs.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Logs +Module : Kubernetes.OpenAPI.API.Logs -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Logs {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Logs where +module Kubernetes.OpenAPI.API.Logs where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Networking.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Networking.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Networking.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Networking.hs index 94b574b..68c6a84 100644 --- a/kubernetes/lib/Kubernetes/API/Networking.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Networking.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Networking +Module : Kubernetes.OpenAPI.API.Networking -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Networking {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Networking where +module Kubernetes.OpenAPI.API.Networking where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/NetworkingV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/NetworkingV1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/NetworkingV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/NetworkingV1.hs index ccd63d9..da11461 100644 --- a/kubernetes/lib/Kubernetes/API/NetworkingV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/NetworkingV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.NetworkingV1 +Module : Kubernetes.OpenAPI.API.NetworkingV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.NetworkingV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.NetworkingV1 where +module Kubernetes.OpenAPI.API.NetworkingV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Policy.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Policy.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Policy.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Policy.hs index b590d4f..a0b4853 100644 --- a/kubernetes/lib/Kubernetes/API/Policy.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Policy.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Policy +Module : Kubernetes.OpenAPI.API.Policy -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Policy {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Policy where +module Kubernetes.OpenAPI.API.Policy where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/PolicyV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/PolicyV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/PolicyV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/PolicyV1beta1.hs index d3e698c..c2bde5c 100644 --- a/kubernetes/lib/Kubernetes/API/PolicyV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/PolicyV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.PolicyV1beta1 +Module : Kubernetes.OpenAPI.API.PolicyV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.PolicyV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.PolicyV1beta1 where +module Kubernetes.OpenAPI.API.PolicyV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/RbacAuthorization.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorization.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/RbacAuthorization.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorization.hs index f1c1608..db93c22 100644 --- a/kubernetes/lib/Kubernetes/API/RbacAuthorization.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorization.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.RbacAuthorization +Module : Kubernetes.OpenAPI.API.RbacAuthorization -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.RbacAuthorization {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.RbacAuthorization where +module Kubernetes.OpenAPI.API.RbacAuthorization where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/RbacAuthorizationV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/RbacAuthorizationV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1.hs index d608e97..81dab93 100644 --- a/kubernetes/lib/Kubernetes/API/RbacAuthorizationV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.RbacAuthorizationV1 +Module : Kubernetes.OpenAPI.API.RbacAuthorizationV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.RbacAuthorizationV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.RbacAuthorizationV1 where +module Kubernetes.OpenAPI.API.RbacAuthorizationV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/RbacAuthorizationV1alpha1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1alpha1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/RbacAuthorizationV1alpha1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1alpha1.hs index 2162d71..873dc34 100644 --- a/kubernetes/lib/Kubernetes/API/RbacAuthorizationV1alpha1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1alpha1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.RbacAuthorizationV1alpha1 +Module : Kubernetes.OpenAPI.API.RbacAuthorizationV1alpha1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.RbacAuthorizationV1alpha1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.RbacAuthorizationV1alpha1 where +module Kubernetes.OpenAPI.API.RbacAuthorizationV1alpha1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/RbacAuthorizationV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1beta1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/RbacAuthorizationV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1beta1.hs index 651ec65..89ee768 100644 --- a/kubernetes/lib/Kubernetes/API/RbacAuthorizationV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/RbacAuthorizationV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.RbacAuthorizationV1beta1 +Module : Kubernetes.OpenAPI.API.RbacAuthorizationV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.RbacAuthorizationV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.RbacAuthorizationV1beta1 where +module Kubernetes.OpenAPI.API.RbacAuthorizationV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Scheduling.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Scheduling.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Scheduling.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Scheduling.hs index cfbbb43..cdd0e91 100644 --- a/kubernetes/lib/Kubernetes/API/Scheduling.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Scheduling.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Scheduling +Module : Kubernetes.OpenAPI.API.Scheduling -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Scheduling {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Scheduling where +module Kubernetes.OpenAPI.API.Scheduling where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/SchedulingV1alpha1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/SchedulingV1alpha1.hs similarity index 98% rename from kubernetes/lib/Kubernetes/API/SchedulingV1alpha1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/SchedulingV1alpha1.hs index d74ce77..580681d 100644 --- a/kubernetes/lib/Kubernetes/API/SchedulingV1alpha1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/SchedulingV1alpha1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.SchedulingV1alpha1 +Module : Kubernetes.OpenAPI.API.SchedulingV1alpha1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.SchedulingV1alpha1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.SchedulingV1alpha1 where +module Kubernetes.OpenAPI.API.SchedulingV1alpha1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Settings.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Settings.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Settings.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Settings.hs index d812a71..f920f0b 100644 --- a/kubernetes/lib/Kubernetes/API/Settings.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Settings.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Settings +Module : Kubernetes.OpenAPI.API.Settings -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Settings {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Settings where +module Kubernetes.OpenAPI.API.Settings where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/SettingsV1alpha1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/SettingsV1alpha1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/SettingsV1alpha1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/SettingsV1alpha1.hs index 056d6b7..8733e4b 100644 --- a/kubernetes/lib/Kubernetes/API/SettingsV1alpha1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/SettingsV1alpha1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.SettingsV1alpha1 +Module : Kubernetes.OpenAPI.API.SettingsV1alpha1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.SettingsV1alpha1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.SettingsV1alpha1 where +module Kubernetes.OpenAPI.API.SettingsV1alpha1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Storage.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Storage.hs similarity index 91% rename from kubernetes/lib/Kubernetes/API/Storage.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Storage.hs index 9ed274b..6a39cb9 100644 --- a/kubernetes/lib/Kubernetes/API/Storage.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Storage.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Storage +Module : Kubernetes.OpenAPI.API.Storage -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Storage {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Storage where +module Kubernetes.OpenAPI.API.Storage where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/StorageV1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/StorageV1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1.hs index 6558bb9..41d99e6 100644 --- a/kubernetes/lib/Kubernetes/API/StorageV1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.StorageV1 +Module : Kubernetes.OpenAPI.API.StorageV1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.StorageV1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.StorageV1 where +module Kubernetes.OpenAPI.API.StorageV1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/StorageV1alpha1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1alpha1.hs similarity index 99% rename from kubernetes/lib/Kubernetes/API/StorageV1alpha1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1alpha1.hs index 4b716eb..a9e53cf 100644 --- a/kubernetes/lib/Kubernetes/API/StorageV1alpha1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1alpha1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.StorageV1alpha1 +Module : Kubernetes.OpenAPI.API.StorageV1alpha1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.StorageV1alpha1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.StorageV1alpha1 where +module Kubernetes.OpenAPI.API.StorageV1alpha1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/StorageV1beta1.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1beta1.hs similarity index 98% rename from kubernetes/lib/Kubernetes/API/StorageV1beta1.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1beta1.hs index 29d380b..a759d41 100644 --- a/kubernetes/lib/Kubernetes/API/StorageV1beta1.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/StorageV1beta1.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.StorageV1beta1 +Module : Kubernetes.OpenAPI.API.StorageV1beta1 -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.StorageV1beta1 {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.StorageV1beta1 where +module Kubernetes.OpenAPI.API.StorageV1beta1 where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B diff --git a/kubernetes/lib/Kubernetes/API/Version.hs b/kubernetes/lib/Kubernetes/OpenAPI/API/Version.hs similarity index 86% rename from kubernetes/lib/Kubernetes/API/Version.hs rename to kubernetes/lib/Kubernetes/OpenAPI/API/Version.hs index 5babf7c..ee81c96 100644 --- a/kubernetes/lib/Kubernetes/API/Version.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/API/Version.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.API.Version +Module : Kubernetes.OpenAPI.API.Version -} {-# LANGUAGE FlexibleContexts #-} @@ -19,11 +19,11 @@ Module : Kubernetes.API.Version {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.API.Version where +module Kubernetes.OpenAPI.API.Version where -import Kubernetes.Core -import Kubernetes.MimeTypes -import Kubernetes.Model as M +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model as M import qualified Data.Aeson as A import qualified Data.ByteString as B @@ -66,9 +66,8 @@ import qualified Prelude as P -- AuthMethod: 'AuthApiKeyBearerToken' -- getCode - :: Accept accept -- ^ request accept ('MimeType') - -> KubernetesRequest GetCode MimeNoContent VersionInfo accept -getCode _ = + :: KubernetesRequest GetCode MimeNoContent VersionInfo MimeJSON +getCode = _mkRequest "GET" ["/version/"] `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) diff --git a/kubernetes/lib/Kubernetes/Client.hs b/kubernetes/lib/Kubernetes/OpenAPI/Client.hs similarity index 93% rename from kubernetes/lib/Kubernetes/Client.hs rename to kubernetes/lib/Kubernetes/OpenAPI/Client.hs index 7629014..4b65192 100644 --- a/kubernetes/lib/Kubernetes/Client.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/Client.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.Client +Module : Kubernetes.OpenAPI.Client -} {-# LANGUAGE OverloadedStrings #-} @@ -22,11 +22,11 @@ Module : Kubernetes.Client {-# LANGUAGE DeriveTraversable #-} {-# OPTIONS_GHC -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.Client where +module Kubernetes.OpenAPI.Client where -import Kubernetes.Core -import Kubernetes.Logging -import Kubernetes.MimeTypes +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.Logging +import Kubernetes.OpenAPI.MimeTypes import qualified Control.Exception.Safe as E import qualified Control.Monad.IO.Class as P @@ -57,7 +57,7 @@ import GHC.Exts (IsString(..)) dispatchLbs :: (Produces req accept, MimeType contentType) => NH.Manager -- ^ http-client Connection manager - -> KubernetesConfig -- ^ config + -> KubernetesClientConfig -- ^ config -> KubernetesRequest req contentType res accept -- ^ request -> IO (NH.Response BCL.ByteString) -- ^ response dispatchLbs manager config request = do @@ -84,7 +84,7 @@ data MimeError = dispatchMime :: forall req contentType res accept. (Produces req accept, MimeUnrender accept res, MimeType contentType) => NH.Manager -- ^ http-client Connection manager - -> KubernetesConfig -- ^ config + -> KubernetesClientConfig -- ^ config -> KubernetesRequest req contentType res accept -- ^ request -> IO (MimeResult res) -- ^ response dispatchMime manager config request = do @@ -108,7 +108,7 @@ dispatchMime manager config request = do dispatchMime' :: (Produces req accept, MimeUnrender accept res, MimeType contentType) => NH.Manager -- ^ http-client Connection manager - -> KubernetesConfig -- ^ config + -> KubernetesClientConfig -- ^ config -> KubernetesRequest req contentType res accept -- ^ request -> IO (Either MimeError res) -- ^ response dispatchMime' manager config request = do @@ -121,7 +121,7 @@ dispatchMime' manager config request = do dispatchLbsUnsafe :: (MimeType accept, MimeType contentType) => NH.Manager -- ^ http-client Connection manager - -> KubernetesConfig -- ^ config + -> KubernetesClientConfig -- ^ config -> KubernetesRequest req contentType res accept -- ^ request -> IO (NH.Response BCL.ByteString) -- ^ response dispatchLbsUnsafe manager config request = do @@ -131,7 +131,7 @@ dispatchLbsUnsafe manager config request = do -- | dispatch an InitRequest dispatchInitUnsafe :: NH.Manager -- ^ http-client Connection manager - -> KubernetesConfig -- ^ config + -> KubernetesClientConfig -- ^ config -> InitRequest req contentType res accept -- ^ init request -> IO (NH.Response BCL.ByteString) -- ^ response dispatchInitUnsafe manager config (InitRequest req) = do @@ -168,7 +168,7 @@ newtype InitRequest req contentType res accept = InitRequest -- | Build an http-client 'Request' record from the supplied config and request _toInitRequest :: (MimeType accept, MimeType contentType) - => KubernetesConfig -- ^ config + => KubernetesClientConfig -- ^ config -> KubernetesRequest req contentType res accept -- ^ request -> IO (InitRequest req contentType res accept) -- ^ initialized request _toInitRequest config req0 = @@ -207,11 +207,11 @@ modifyInitRequestM (InitRequest req) f = fmap InitRequest (f req) -- | Run a block using the configured logger instance runConfigLog :: P.MonadIO m - => KubernetesConfig -> LogExec m + => KubernetesClientConfig -> LogExec m runConfigLog config = configLogExecWithContext config (configLogContext config) -- | Run a block using the configured logger instance (logs exceptions) runConfigLogWithExceptions :: (E.MonadCatch m, P.MonadIO m) - => T.Text -> KubernetesConfig -> LogExec m + => T.Text -> KubernetesClientConfig -> LogExec m runConfigLogWithExceptions src config = runConfigLog config . logExceptions src diff --git a/kubernetes/lib/Kubernetes/Core.hs b/kubernetes/lib/Kubernetes/OpenAPI/Core.hs similarity index 94% rename from kubernetes/lib/Kubernetes/Core.hs rename to kubernetes/lib/Kubernetes/OpenAPI/Core.hs index 44cf803..f402b68 100644 --- a/kubernetes/lib/Kubernetes/Core.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/Core.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.Core +Module : Kubernetes.OpenAPI.Core -} {-# LANGUAGE DeriveDataTypeable #-} @@ -25,10 +25,10 @@ Module : Kubernetes.Core {-# LANGUAGE TypeFamilies #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds #-} -module Kubernetes.Core where +module Kubernetes.OpenAPI.Core where -import Kubernetes.MimeTypes -import Kubernetes.Logging +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Logging import qualified Control.Arrow as P (left) import qualified Control.DeepSeq as NF @@ -67,10 +67,10 @@ import Data.Monoid ((<>)) import Data.Text (Text) import Prelude (($), (.), (<$>), (<*>), Maybe(..), Bool(..), Char, String, fmap, mempty, pure, return, show, IO, Monad, Functor) --- * KubernetesConfig +-- * KubernetesClientConfig -- | -data KubernetesConfig = KubernetesConfig +data KubernetesClientConfig = KubernetesClientConfig { configHost :: BCL.ByteString -- ^ host supplied in the Request , configUserAgent :: Text -- ^ user-agent supplied in the Request , configLogExecWithContext :: LogExecWithContext -- ^ Run a block using a Logger instance @@ -80,14 +80,14 @@ data KubernetesConfig = KubernetesConfig } -- | display the config -instance P.Show KubernetesConfig where +instance P.Show KubernetesClientConfig where show c = T.printf "{ configHost = %v, configUserAgent = %v, ..}" (show (configHost c)) (show (configUserAgent c)) --- | constructs a default KubernetesConfig +-- | constructs a default KubernetesClientConfig -- -- configHost: -- @@ -95,14 +95,14 @@ instance P.Show KubernetesConfig where -- -- configUserAgent: -- --- @"swagger-haskell-http-client/1.0.0"@ +-- @"kubernetes-openapi/0.1.0.0"@ -- -newConfig :: IO KubernetesConfig +newConfig :: IO KubernetesClientConfig newConfig = do logCxt <- initLogContext - return $ KubernetesConfig + return $ KubernetesClientConfig { configHost = "https://localhost" - , configUserAgent = "swagger-haskell-http-client/1.0.0" + , configUserAgent = "kubernetes-openapi/0.1.0.0" , configLogExecWithContext = runDefaultLogExecWithContext , configLogContext = logCxt , configAuthMethods = [] @@ -110,24 +110,24 @@ newConfig = do } -- | updates config use AuthMethod on matching requests -addAuthMethod :: AuthMethod auth => KubernetesConfig -> auth -> KubernetesConfig -addAuthMethod config@KubernetesConfig {configAuthMethods = as} a = +addAuthMethod :: AuthMethod auth => KubernetesClientConfig -> auth -> KubernetesClientConfig +addAuthMethod config@KubernetesClientConfig {configAuthMethods = as} a = config { configAuthMethods = AnyAuthMethod a : as} -- | updates the config to use stdout logging -withStdoutLogging :: KubernetesConfig -> IO KubernetesConfig +withStdoutLogging :: KubernetesClientConfig -> IO KubernetesClientConfig withStdoutLogging p = do logCxt <- stdoutLoggingContext (configLogContext p) return $ p { configLogExecWithContext = stdoutLoggingExec, configLogContext = logCxt } -- | updates the config to use stderr logging -withStderrLogging :: KubernetesConfig -> IO KubernetesConfig +withStderrLogging :: KubernetesClientConfig -> IO KubernetesClientConfig withStderrLogging p = do logCxt <- stderrLoggingContext (configLogContext p) return $ p { configLogExecWithContext = stderrLoggingExec, configLogContext = logCxt } -- | updates the config to disable logging -withNoLogging :: KubernetesConfig -> KubernetesConfig +withNoLogging :: KubernetesClientConfig -> KubernetesClientConfig withNoLogging p = p { configLogExecWithContext = runNullLogExec} -- * KubernetesRequest @@ -367,7 +367,7 @@ _toCollA' c encode one xs = case c of class P.Typeable a => AuthMethod a where applyAuthMethod - :: KubernetesConfig + :: KubernetesClientConfig -> a -> KubernetesRequest req contentType res accept -> IO (KubernetesRequest req contentType res accept) @@ -385,9 +385,9 @@ instance E.Exception AuthMethodException -- | apply all matching AuthMethods in config to request _applyAuthMethods :: KubernetesRequest req contentType res accept - -> KubernetesConfig + -> KubernetesClientConfig -> IO (KubernetesRequest req contentType res accept) -_applyAuthMethods req config@(KubernetesConfig {configAuthMethods = as}) = +_applyAuthMethods req config@(KubernetesClientConfig {configAuthMethods = as}) = foldlM go req as where go r (AnyAuthMethod a) = applyAuthMethod config a r diff --git a/kubernetes/lib/Kubernetes/Logging.hs b/kubernetes/lib/Kubernetes/OpenAPI/Logging.hs similarity index 94% rename from kubernetes/lib/Kubernetes/Logging.hs rename to kubernetes/lib/Kubernetes/OpenAPI/Logging.hs index 0dffc0b..6f50553 100644 --- a/kubernetes/lib/Kubernetes/Logging.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/Logging.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.Logging +Module : Kubernetes.OpenAPI.Logging Katip Logging functions -} @@ -17,7 +17,7 @@ Katip Logging functions {-# LANGUAGE RankNTypes #-} {-# LANGUAGE ScopedTypeVariables #-} -module Kubernetes.Logging where +module Kubernetes.OpenAPI.Logging where import qualified Control.Exception.Safe as E import qualified Control.Monad.IO.Class as P @@ -50,7 +50,7 @@ type LogLevel = LG.Severity -- | the default log environment initLogContext :: IO LogContext -initLogContext = LG.initLogEnv "Kubernetes" "dev" +initLogContext = LG.initLogEnv "Kubernetes.OpenAPI" "dev" -- | Runs a Katip logging block with the Log environment runDefaultLogExecWithContext :: LogExecWithContext diff --git a/kubernetes/lib/Kubernetes/MimeTypes.hs b/kubernetes/lib/Kubernetes/OpenAPI/MimeTypes.hs similarity index 98% rename from kubernetes/lib/Kubernetes/MimeTypes.hs rename to kubernetes/lib/Kubernetes/OpenAPI/MimeTypes.hs index c1d5b28..543adaa 100644 --- a/kubernetes/lib/Kubernetes/MimeTypes.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/MimeTypes.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.MimeTypes +Module : Kubernetes.OpenAPI.MimeTypes -} {-# LANGUAGE ConstraintKinds #-} @@ -21,7 +21,7 @@ Module : Kubernetes.MimeTypes {-# LANGUAGE ScopedTypeVariables #-} {-# OPTIONS_GHC -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.MimeTypes where +module Kubernetes.OpenAPI.MimeTypes where import qualified Control.Arrow as P (left) import qualified Data.Aeson as A diff --git a/kubernetes/lib/Kubernetes/Model.hs b/kubernetes/lib/Kubernetes/OpenAPI/Model.hs similarity index 99% rename from kubernetes/lib/Kubernetes/Model.hs rename to kubernetes/lib/Kubernetes/OpenAPI/Model.hs index 6538467..f9aeac3 100644 --- a/kubernetes/lib/Kubernetes/Model.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/Model.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.Model +Module : Kubernetes.OpenAPI.Model -} {-# LANGUAGE DeriveDataTypeable #-} @@ -26,10 +26,10 @@ Module : Kubernetes.Model {-# LANGUAGE TypeFamilies #-} {-# OPTIONS_GHC -fno-warn-unused-matches -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.Model where +module Kubernetes.OpenAPI.Model where -import Kubernetes.Core -import Kubernetes.MimeTypes +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.MimeTypes import Data.Aeson ((.:),(.:!),(.:?),(.=)) @@ -19097,7 +19097,7 @@ data V1beta1Webhook = V1beta1Webhook { v1beta1WebhookClientConfig :: !(V1beta1WebhookClientConfig) -- ^ /Required/ "clientConfig" - ClientConfig defines how to communicate with the hook. Required , v1beta1WebhookFailurePolicy :: !(Maybe Text) -- ^ "failurePolicy" - FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. , v1beta1WebhookName :: !(Text) -- ^ /Required/ "name" - The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - , v1beta1WebhookNamespaceSelector :: !(Maybe V1LabelSelector) -- ^ "namespaceSelector" - NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is other cluster scoped resource, it is not subjected to the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. + , v1beta1WebhookNamespaceSelector :: !(Maybe V1LabelSelector) -- ^ "namespaceSelector" - NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. , v1beta1WebhookRules :: !(Maybe [V1beta1RuleWithOperations]) -- ^ "rules" - Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. } deriving (P.Show, P.Eq, P.Typeable) diff --git a/kubernetes/lib/Kubernetes/ModelLens.hs b/kubernetes/lib/Kubernetes/OpenAPI/ModelLens.hs similarity index 99% rename from kubernetes/lib/Kubernetes/ModelLens.hs rename to kubernetes/lib/Kubernetes/OpenAPI/ModelLens.hs index 9a05b2b..dd16ea3 100644 --- a/kubernetes/lib/Kubernetes/ModelLens.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/ModelLens.hs @@ -4,12 +4,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0 - Kubernetes API version: v1.9.2 + Kubernetes API version: v1.9.12 Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) -} {-| -Module : Kubernetes.Lens +Module : Kubernetes.OpenAPI.Lens -} {-# LANGUAGE KindSignatures #-} @@ -18,7 +18,7 @@ Module : Kubernetes.Lens {-# LANGUAGE RecordWildCards #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-matches -fno-warn-unused-binds -fno-warn-unused-imports #-} -module Kubernetes.ModelLens where +module Kubernetes.OpenAPI.ModelLens where import qualified Data.Aeson as A import qualified Data.ByteString.Lazy as BL @@ -32,8 +32,8 @@ import Data.Text (Text) import Prelude (($), (.),(<$>),(<*>),(=<<),Maybe(..),Bool(..),Char,Double,FilePath,Float,Int,Integer,String,fmap,undefined,mempty,maybe,pure,Monad,Applicative,Functor) import qualified Prelude as P -import Kubernetes.Model -import Kubernetes.Core +import Kubernetes.OpenAPI.Model +import Kubernetes.OpenAPI.Core -- * AdmissionregistrationV1beta1ServiceReference diff --git a/kubernetes/swagger.json b/kubernetes/swagger.json index acb8d07..57a0fc8 100644 --- a/kubernetes/swagger.json +++ b/kubernetes/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.9.2" + "version": "v1.9.12" }, "paths": { "/api/": { @@ -796,7 +796,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -864,7 +865,8 @@ "group": "", "kind": "Binding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -1035,7 +1037,8 @@ "group": "", "kind": "ConfigMap", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ConfigMap", @@ -1249,7 +1252,8 @@ "group": "", "kind": "ConfigMap", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ConfigMap", @@ -1315,7 +1319,8 @@ "group": "", "kind": "ConfigMap", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ConfigMap", @@ -1363,7 +1368,8 @@ "group": "", "kind": "ConfigMap", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -1542,7 +1548,8 @@ "group": "", "kind": "Endpoints", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Endpoints", @@ -1756,7 +1763,8 @@ "group": "", "kind": "Endpoints", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete Endpoints", @@ -1822,7 +1830,8 @@ "group": "", "kind": "Endpoints", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Endpoints", @@ -1870,7 +1879,8 @@ "group": "", "kind": "Endpoints", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -2049,7 +2059,8 @@ "group": "", "kind": "Event", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Event", @@ -2263,7 +2274,8 @@ "group": "", "kind": "Event", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete an Event", @@ -2329,7 +2341,8 @@ "group": "", "kind": "Event", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Event", @@ -2377,7 +2390,8 @@ "group": "", "kind": "Event", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -2556,7 +2570,8 @@ "group": "", "kind": "LimitRange", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of LimitRange", @@ -2770,7 +2785,8 @@ "group": "", "kind": "LimitRange", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a LimitRange", @@ -2836,7 +2852,8 @@ "group": "", "kind": "LimitRange", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified LimitRange", @@ -2884,7 +2901,8 @@ "group": "", "kind": "LimitRange", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -3063,7 +3081,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PersistentVolumeClaim", @@ -3277,7 +3296,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PersistentVolumeClaim", @@ -3343,7 +3363,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PersistentVolumeClaim", @@ -3391,7 +3412,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -3504,7 +3526,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified PersistentVolumeClaim", @@ -3552,7 +3575,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -3731,7 +3755,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Pod", @@ -3945,7 +3970,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Pod", @@ -4011,7 +4037,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Pod", @@ -4059,7 +4086,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -4264,7 +4292,8 @@ "group": "", "kind": "Binding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -4348,7 +4377,8 @@ "group": "policy", "kind": "Eviction", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -5318,7 +5348,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Pod", @@ -5366,7 +5397,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -5545,7 +5577,8 @@ "group": "", "kind": "PodTemplate", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PodTemplate", @@ -5759,7 +5792,8 @@ "group": "", "kind": "PodTemplate", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PodTemplate", @@ -5825,7 +5859,8 @@ "group": "", "kind": "PodTemplate", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PodTemplate", @@ -5873,7 +5908,8 @@ "group": "", "kind": "PodTemplate", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -6052,7 +6088,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ReplicationController", @@ -6266,7 +6303,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ReplicationController", @@ -6332,7 +6370,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ReplicationController", @@ -6380,7 +6419,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -6493,7 +6533,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified ReplicationController", @@ -6541,7 +6582,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -6654,7 +6696,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified ReplicationController", @@ -6702,7 +6745,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -6881,7 +6925,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ResourceQuota", @@ -7095,7 +7140,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ResourceQuota", @@ -7161,7 +7207,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ResourceQuota", @@ -7209,7 +7256,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -7322,7 +7370,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified ResourceQuota", @@ -7370,7 +7419,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -7549,7 +7599,8 @@ "group": "", "kind": "Secret", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Secret", @@ -7763,7 +7814,8 @@ "group": "", "kind": "Secret", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Secret", @@ -7829,7 +7881,8 @@ "group": "", "kind": "Secret", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Secret", @@ -7877,7 +7930,8 @@ "group": "", "kind": "Secret", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -8056,7 +8110,8 @@ "group": "", "kind": "ServiceAccount", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ServiceAccount", @@ -8270,7 +8325,8 @@ "group": "", "kind": "ServiceAccount", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ServiceAccount", @@ -8336,7 +8392,8 @@ "group": "", "kind": "ServiceAccount", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ServiceAccount", @@ -8384,7 +8441,8 @@ "group": "", "kind": "ServiceAccount", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -8563,7 +8621,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -8684,7 +8743,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Service", @@ -8767,7 +8827,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -9404,7 +9465,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Service", @@ -9452,7 +9514,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -9581,7 +9644,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Namespace", @@ -9647,7 +9711,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Namespace", @@ -9695,7 +9760,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -9765,7 +9831,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -9870,7 +9937,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Namespace", @@ -9918,7 +9986,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -10089,7 +10158,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Node", @@ -10295,7 +10365,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Node", @@ -10361,7 +10432,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Node", @@ -10409,7 +10481,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -11022,7 +11095,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Node", @@ -11070,7 +11144,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -11345,7 +11420,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PersistentVolume", @@ -11551,7 +11627,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PersistentVolume", @@ -11617,7 +11694,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PersistentVolume", @@ -11665,7 +11743,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -11770,7 +11849,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified PersistentVolume", @@ -11818,7 +11898,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -17456,7 +17537,8 @@ "group": "admissionregistration.k8s.io", "kind": "InitializerConfiguration", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of InitializerConfiguration", @@ -17662,7 +17744,8 @@ "group": "admissionregistration.k8s.io", "kind": "InitializerConfiguration", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete an InitializerConfiguration", @@ -17728,7 +17811,8 @@ "group": "admissionregistration.k8s.io", "kind": "InitializerConfiguration", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified InitializerConfiguration", @@ -17776,7 +17860,8 @@ "group": "admissionregistration.k8s.io", "kind": "InitializerConfiguration", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -18122,7 +18207,8 @@ "group": "admissionregistration.k8s.io", "kind": "MutatingWebhookConfiguration", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of MutatingWebhookConfiguration", @@ -18328,7 +18414,8 @@ "group": "admissionregistration.k8s.io", "kind": "MutatingWebhookConfiguration", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a MutatingWebhookConfiguration", @@ -18394,7 +18481,8 @@ "group": "admissionregistration.k8s.io", "kind": "MutatingWebhookConfiguration", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified MutatingWebhookConfiguration", @@ -18442,7 +18530,8 @@ "group": "admissionregistration.k8s.io", "kind": "MutatingWebhookConfiguration", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -18613,7 +18702,8 @@ "group": "admissionregistration.k8s.io", "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ValidatingWebhookConfiguration", @@ -18819,7 +18909,8 @@ "group": "admissionregistration.k8s.io", "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ValidatingWebhookConfiguration", @@ -18885,7 +18976,8 @@ "group": "admissionregistration.k8s.io", "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ValidatingWebhookConfiguration", @@ -18933,7 +19025,8 @@ "group": "admissionregistration.k8s.io", "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -19454,7 +19547,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of CustomResourceDefinition", @@ -19660,7 +19754,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a CustomResourceDefinition", @@ -19726,7 +19821,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified CustomResourceDefinition", @@ -19774,7 +19870,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -19844,7 +19941,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -20223,7 +20321,8 @@ "group": "apiregistration.k8s.io", "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of APIService", @@ -20429,7 +20528,8 @@ "group": "apiregistration.k8s.io", "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete an APIService", @@ -20495,7 +20595,8 @@ "group": "apiregistration.k8s.io", "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified APIService", @@ -20543,7 +20644,8 @@ "group": "apiregistration.k8s.io", "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -20613,7 +20715,8 @@ "group": "apiregistration.k8s.io", "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -21304,7 +21407,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ControllerRevision", @@ -21518,7 +21622,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ControllerRevision", @@ -21584,7 +21689,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ControllerRevision", @@ -21632,7 +21738,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -21811,7 +21918,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of DaemonSet", @@ -22025,7 +22133,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a DaemonSet", @@ -22091,7 +22200,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified DaemonSet", @@ -22139,7 +22249,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -22252,7 +22363,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified DaemonSet", @@ -22300,7 +22412,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -22479,7 +22592,8 @@ "group": "apps", "kind": "Deployment", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Deployment", @@ -22693,7 +22807,8 @@ "group": "apps", "kind": "Deployment", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Deployment", @@ -22759,7 +22874,8 @@ "group": "apps", "kind": "Deployment", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Deployment", @@ -22807,7 +22923,8 @@ "group": "apps", "kind": "Deployment", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -22920,7 +23037,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified Deployment", @@ -22968,7 +23086,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -23081,7 +23200,8 @@ "group": "apps", "kind": "Deployment", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Deployment", @@ -23129,7 +23249,8 @@ "group": "apps", "kind": "Deployment", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -23308,7 +23429,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ReplicaSet", @@ -23522,7 +23644,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ReplicaSet", @@ -23588,7 +23711,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ReplicaSet", @@ -23636,7 +23760,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -23749,7 +23874,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified ReplicaSet", @@ -23797,7 +23923,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -23910,7 +24037,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified ReplicaSet", @@ -23958,7 +24086,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -24137,7 +24266,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of StatefulSet", @@ -24351,7 +24481,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a StatefulSet", @@ -24417,7 +24548,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified StatefulSet", @@ -24465,7 +24597,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -24578,7 +24711,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified StatefulSet", @@ -24626,7 +24760,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -24739,7 +24874,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified StatefulSet", @@ -24787,7 +24923,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -26540,7 +26677,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ControllerRevision", @@ -26754,7 +26892,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ControllerRevision", @@ -26820,7 +26959,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ControllerRevision", @@ -26868,7 +27008,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -27047,7 +27188,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Deployment", @@ -27261,7 +27403,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Deployment", @@ -27327,7 +27470,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Deployment", @@ -27375,7 +27519,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -27459,7 +27604,8 @@ "group": "apps", "kind": "DeploymentRollback", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -27572,7 +27718,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified Deployment", @@ -27620,7 +27767,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -27733,7 +27881,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Deployment", @@ -27781,7 +27930,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -27960,7 +28110,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of StatefulSet", @@ -28174,7 +28325,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a StatefulSet", @@ -28240,7 +28392,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified StatefulSet", @@ -28288,7 +28441,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -28401,7 +28555,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified StatefulSet", @@ -28449,7 +28604,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -28562,7 +28718,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified StatefulSet", @@ -28610,7 +28767,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -29913,7 +30071,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ControllerRevision", @@ -30127,7 +30286,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ControllerRevision", @@ -30193,7 +30353,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ControllerRevision", @@ -30241,7 +30402,8 @@ "group": "apps", "kind": "ControllerRevision", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -30420,7 +30582,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of DaemonSet", @@ -30634,7 +30797,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a DaemonSet", @@ -30700,7 +30864,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified DaemonSet", @@ -30748,7 +30913,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -30861,7 +31027,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified DaemonSet", @@ -30909,7 +31076,8 @@ "group": "apps", "kind": "DaemonSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -31088,7 +31256,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Deployment", @@ -31302,7 +31471,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Deployment", @@ -31368,7 +31538,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Deployment", @@ -31416,7 +31587,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -31529,7 +31701,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified Deployment", @@ -31577,7 +31750,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -31690,7 +31864,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Deployment", @@ -31738,7 +31913,8 @@ "group": "apps", "kind": "Deployment", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -31917,7 +32093,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ReplicaSet", @@ -32131,7 +32308,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ReplicaSet", @@ -32197,7 +32375,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ReplicaSet", @@ -32245,7 +32424,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -32358,7 +32538,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified ReplicaSet", @@ -32406,7 +32587,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -32519,7 +32701,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified ReplicaSet", @@ -32567,7 +32750,8 @@ "group": "apps", "kind": "ReplicaSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -32746,7 +32930,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of StatefulSet", @@ -32960,7 +33145,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a StatefulSet", @@ -33026,7 +33212,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified StatefulSet", @@ -33074,7 +33261,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -33187,7 +33375,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified StatefulSet", @@ -33235,7 +33424,8 @@ "group": "apps", "kind": "Scale", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -33348,7 +33538,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified StatefulSet", @@ -33396,7 +33587,8 @@ "group": "apps", "kind": "StatefulSet", "version": "v1beta2" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -34879,7 +35071,8 @@ "group": "authentication.k8s.io", "kind": "TokenReview", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -34980,7 +35173,8 @@ "group": "authentication.k8s.io", "kind": "TokenReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35114,7 +35308,8 @@ "group": "authorization.k8s.io", "kind": "LocalSubjectAccessReview", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35190,7 +35385,8 @@ "group": "authorization.k8s.io", "kind": "SelfSubjectAccessReview", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35258,7 +35454,8 @@ "group": "authorization.k8s.io", "kind": "SelfSubjectRulesReview", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35326,7 +35523,8 @@ "group": "authorization.k8s.io", "kind": "SubjectAccessReview", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35427,7 +35625,8 @@ "group": "authorization.k8s.io", "kind": "LocalSubjectAccessReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35503,7 +35702,8 @@ "group": "authorization.k8s.io", "kind": "SelfSubjectAccessReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35571,7 +35771,8 @@ "group": "authorization.k8s.io", "kind": "SelfSubjectRulesReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35639,7 +35840,8 @@ "group": "authorization.k8s.io", "kind": "SubjectAccessReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -35972,7 +36174,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of HorizontalPodAutoscaler", @@ -36186,7 +36389,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a HorizontalPodAutoscaler", @@ -36252,7 +36456,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified HorizontalPodAutoscaler", @@ -36300,7 +36505,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -36413,7 +36619,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified HorizontalPodAutoscaler", @@ -36461,7 +36668,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -37002,7 +37210,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v2beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of HorizontalPodAutoscaler", @@ -37216,7 +37425,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v2beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a HorizontalPodAutoscaler", @@ -37282,7 +37492,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v2beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified HorizontalPodAutoscaler", @@ -37330,7 +37541,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v2beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -37443,7 +37655,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v2beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified HorizontalPodAutoscaler", @@ -37491,7 +37704,8 @@ "group": "autoscaling", "kind": "HorizontalPodAutoscaler", "version": "v2beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -38065,7 +38279,8 @@ "group": "batch", "kind": "Job", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Job", @@ -38279,7 +38494,8 @@ "group": "batch", "kind": "Job", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Job", @@ -38345,7 +38561,8 @@ "group": "batch", "kind": "Job", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Job", @@ -38393,7 +38610,8 @@ "group": "batch", "kind": "Job", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -38506,7 +38724,8 @@ "group": "batch", "kind": "Job", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Job", @@ -38554,7 +38773,8 @@ "group": "batch", "kind": "Job", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -39095,7 +39315,8 @@ "group": "batch", "kind": "CronJob", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of CronJob", @@ -39309,7 +39530,8 @@ "group": "batch", "kind": "CronJob", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a CronJob", @@ -39375,7 +39597,8 @@ "group": "batch", "kind": "CronJob", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified CronJob", @@ -39423,7 +39646,8 @@ "group": "batch", "kind": "CronJob", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -39536,7 +39760,8 @@ "group": "batch", "kind": "CronJob", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified CronJob", @@ -39584,7 +39809,8 @@ "group": "batch", "kind": "CronJob", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -40125,7 +40351,8 @@ "group": "batch", "kind": "CronJob", "version": "v2alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of CronJob", @@ -40339,7 +40566,8 @@ "group": "batch", "kind": "CronJob", "version": "v2alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a CronJob", @@ -40405,7 +40633,8 @@ "group": "batch", "kind": "CronJob", "version": "v2alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified CronJob", @@ -40453,7 +40682,8 @@ "group": "batch", "kind": "CronJob", "version": "v2alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -40566,7 +40796,8 @@ "group": "batch", "kind": "CronJob", "version": "v2alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified CronJob", @@ -40614,7 +40845,8 @@ "group": "batch", "kind": "CronJob", "version": "v2alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -41084,7 +41316,8 @@ "group": "certificates.k8s.io", "kind": "CertificateSigningRequest", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of CertificateSigningRequest", @@ -41290,7 +41523,8 @@ "group": "certificates.k8s.io", "kind": "CertificateSigningRequest", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a CertificateSigningRequest", @@ -41356,7 +41590,8 @@ "group": "certificates.k8s.io", "kind": "CertificateSigningRequest", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified CertificateSigningRequest", @@ -41404,7 +41639,8 @@ "group": "certificates.k8s.io", "kind": "CertificateSigningRequest", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -41474,7 +41710,8 @@ "group": "certificates.k8s.io", "kind": "CertificateSigningRequest", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -41544,7 +41781,8 @@ "group": "certificates.k8s.io", "kind": "CertificateSigningRequest", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -42027,7 +42265,8 @@ "group": "events.k8s.io", "kind": "Event", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Event", @@ -42241,7 +42480,8 @@ "group": "events.k8s.io", "kind": "Event", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete an Event", @@ -42307,7 +42547,8 @@ "group": "events.k8s.io", "kind": "Event", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Event", @@ -42355,7 +42596,8 @@ "group": "events.k8s.io", "kind": "Event", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -43137,7 +43379,8 @@ "group": "extensions", "kind": "DaemonSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of DaemonSet", @@ -43351,7 +43594,8 @@ "group": "extensions", "kind": "DaemonSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a DaemonSet", @@ -43417,7 +43661,8 @@ "group": "extensions", "kind": "DaemonSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified DaemonSet", @@ -43465,7 +43710,8 @@ "group": "extensions", "kind": "DaemonSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -43578,7 +43824,8 @@ "group": "extensions", "kind": "DaemonSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified DaemonSet", @@ -43626,7 +43873,8 @@ "group": "extensions", "kind": "DaemonSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -43805,7 +44053,8 @@ "group": "extensions", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Deployment", @@ -44019,7 +44268,8 @@ "group": "extensions", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Deployment", @@ -44085,7 +44335,8 @@ "group": "extensions", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Deployment", @@ -44133,7 +44384,8 @@ "group": "extensions", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -44217,7 +44469,8 @@ "group": "extensions", "kind": "DeploymentRollback", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -44330,7 +44583,8 @@ "group": "extensions", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified Deployment", @@ -44378,7 +44632,8 @@ "group": "extensions", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -44491,7 +44746,8 @@ "group": "extensions", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Deployment", @@ -44539,7 +44795,8 @@ "group": "extensions", "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -44718,7 +44975,8 @@ "group": "extensions", "kind": "Ingress", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Ingress", @@ -44932,7 +45190,8 @@ "group": "extensions", "kind": "Ingress", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete an Ingress", @@ -44998,7 +45257,8 @@ "group": "extensions", "kind": "Ingress", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Ingress", @@ -45046,7 +45306,8 @@ "group": "extensions", "kind": "Ingress", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -45159,7 +45420,8 @@ "group": "extensions", "kind": "Ingress", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Ingress", @@ -45207,7 +45469,8 @@ "group": "extensions", "kind": "Ingress", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -45386,7 +45649,8 @@ "group": "extensions", "kind": "NetworkPolicy", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of NetworkPolicy", @@ -45600,7 +45864,8 @@ "group": "extensions", "kind": "NetworkPolicy", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a NetworkPolicy", @@ -45666,7 +45931,8 @@ "group": "extensions", "kind": "NetworkPolicy", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified NetworkPolicy", @@ -45714,7 +45980,8 @@ "group": "extensions", "kind": "NetworkPolicy", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -45893,7 +46160,8 @@ "group": "extensions", "kind": "ReplicaSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ReplicaSet", @@ -46107,7 +46375,8 @@ "group": "extensions", "kind": "ReplicaSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ReplicaSet", @@ -46173,7 +46442,8 @@ "group": "extensions", "kind": "ReplicaSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ReplicaSet", @@ -46221,7 +46491,8 @@ "group": "extensions", "kind": "ReplicaSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -46334,7 +46605,8 @@ "group": "extensions", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified ReplicaSet", @@ -46382,7 +46654,8 @@ "group": "extensions", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -46495,7 +46768,8 @@ "group": "extensions", "kind": "ReplicaSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified ReplicaSet", @@ -46543,7 +46817,8 @@ "group": "extensions", "kind": "ReplicaSet", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -46656,7 +46931,8 @@ "group": "extensions", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified ReplicationControllerDummy", @@ -46704,7 +46980,8 @@ "group": "extensions", "kind": "Scale", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -46987,7 +47264,8 @@ "group": "extensions", "kind": "PodSecurityPolicy", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PodSecurityPolicy", @@ -47193,7 +47471,8 @@ "group": "extensions", "kind": "PodSecurityPolicy", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PodSecurityPolicy", @@ -47259,7 +47538,8 @@ "group": "extensions", "kind": "PodSecurityPolicy", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PodSecurityPolicy", @@ -47307,7 +47587,8 @@ "group": "extensions", "kind": "PodSecurityPolicy", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -48915,7 +49196,8 @@ "group": "networking.k8s.io", "kind": "NetworkPolicy", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of NetworkPolicy", @@ -49129,7 +49411,8 @@ "group": "networking.k8s.io", "kind": "NetworkPolicy", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a NetworkPolicy", @@ -49195,7 +49478,8 @@ "group": "networking.k8s.io", "kind": "NetworkPolicy", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified NetworkPolicy", @@ -49243,7 +49527,8 @@ "group": "networking.k8s.io", "kind": "NetworkPolicy", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -49817,7 +50102,8 @@ "group": "policy", "kind": "PodDisruptionBudget", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PodDisruptionBudget", @@ -50031,7 +50317,8 @@ "group": "policy", "kind": "PodDisruptionBudget", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PodDisruptionBudget", @@ -50097,7 +50384,8 @@ "group": "policy", "kind": "PodDisruptionBudget", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PodDisruptionBudget", @@ -50145,7 +50433,8 @@ "group": "policy", "kind": "PodDisruptionBudget", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -50258,7 +50547,8 @@ "group": "policy", "kind": "PodDisruptionBudget", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified PodDisruptionBudget", @@ -50306,7 +50596,8 @@ "group": "policy", "kind": "PodDisruptionBudget", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -50880,7 +51171,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ClusterRoleBinding", @@ -51070,7 +51362,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ClusterRoleBinding", @@ -51136,7 +51429,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ClusterRoleBinding", @@ -51184,7 +51478,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -51355,7 +51650,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ClusterRole", @@ -51545,7 +51841,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ClusterRole", @@ -51611,7 +51908,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ClusterRole", @@ -51659,7 +51957,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -51830,7 +52129,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of RoleBinding", @@ -52028,7 +52328,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a RoleBinding", @@ -52094,7 +52395,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified RoleBinding", @@ -52142,7 +52444,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -52321,7 +52624,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Role", @@ -52519,7 +52823,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Role", @@ -52585,7 +52890,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Role", @@ -52633,7 +52939,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -53787,7 +54094,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ClusterRoleBinding", @@ -53977,7 +54285,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ClusterRoleBinding", @@ -54043,7 +54352,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ClusterRoleBinding", @@ -54091,7 +54401,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -54262,7 +54573,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ClusterRole", @@ -54452,7 +54764,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ClusterRole", @@ -54518,7 +54831,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ClusterRole", @@ -54566,7 +54880,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -54737,7 +55052,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of RoleBinding", @@ -54935,7 +55251,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a RoleBinding", @@ -55001,7 +55318,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified RoleBinding", @@ -55049,7 +55367,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -55228,7 +55547,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Role", @@ -55426,7 +55746,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Role", @@ -55492,7 +55813,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Role", @@ -55540,7 +55862,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -56694,7 +57017,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ClusterRoleBinding", @@ -56884,7 +57208,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ClusterRoleBinding", @@ -56950,7 +57275,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ClusterRoleBinding", @@ -56998,7 +57324,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -57169,7 +57496,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ClusterRole", @@ -57359,7 +57687,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ClusterRole", @@ -57425,7 +57754,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ClusterRole", @@ -57473,7 +57803,8 @@ "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -57644,7 +57975,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of RoleBinding", @@ -57842,7 +58174,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a RoleBinding", @@ -57908,7 +58241,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified RoleBinding", @@ -57956,7 +58290,8 @@ "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -58135,7 +58470,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Role", @@ -58333,7 +58669,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Role", @@ -58399,7 +58736,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Role", @@ -58447,7 +58785,8 @@ "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -59634,7 +59973,8 @@ "group": "scheduling.k8s.io", "kind": "PriorityClass", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PriorityClass", @@ -59840,7 +60180,8 @@ "group": "scheduling.k8s.io", "kind": "PriorityClass", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PriorityClass", @@ -59906,7 +60247,8 @@ "group": "scheduling.k8s.io", "kind": "PriorityClass", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PriorityClass", @@ -59954,7 +60296,8 @@ "group": "scheduling.k8s.io", "kind": "PriorityClass", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -60333,7 +60676,8 @@ "group": "settings.k8s.io", "kind": "PodPreset", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PodPreset", @@ -60547,7 +60891,8 @@ "group": "settings.k8s.io", "kind": "PodPreset", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PodPreset", @@ -60613,7 +60958,8 @@ "group": "settings.k8s.io", "kind": "PodPreset", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PodPreset", @@ -60661,7 +61007,8 @@ "group": "settings.k8s.io", "kind": "PodPreset", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -61235,7 +61582,8 @@ "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of StorageClass", @@ -61441,7 +61789,8 @@ "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a StorageClass", @@ -61507,7 +61856,8 @@ "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified StorageClass", @@ -61555,7 +61905,8 @@ "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -61901,7 +62252,8 @@ "group": "storage.k8s.io", "kind": "VolumeAttachment", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of VolumeAttachment", @@ -62107,7 +62459,8 @@ "group": "storage.k8s.io", "kind": "VolumeAttachment", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a VolumeAttachment", @@ -62173,7 +62526,8 @@ "group": "storage.k8s.io", "kind": "VolumeAttachment", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified VolumeAttachment", @@ -62221,7 +62575,8 @@ "group": "storage.k8s.io", "kind": "VolumeAttachment", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -62567,7 +62922,8 @@ "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of StorageClass", @@ -62773,7 +63129,8 @@ "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a StorageClass", @@ -62839,7 +63196,8 @@ "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified StorageClass", @@ -62887,7 +63245,8 @@ "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -63120,7 +63479,7 @@ } } }, - "/apis/{group}/{version}/{plural}": { + "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { "post": { "responses": { "201": { @@ -63136,7 +63495,7 @@ "schemes": [ "https" ], - "description": "Creates a cluster scoped Custom object", + "description": "Creates a namespace scoped Custom object", "parameters": [ { "schema": { @@ -63151,10 +63510,11 @@ "produces": [ "application/json" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], - "operationId": "createClusterCustomObject" + "operationId": "createNamespacedCustomObject" }, "parameters": [ { @@ -63178,6 +63538,13 @@ "name": "version", "in": "path" }, + { + "description": "The custom resource's namespace", + "required": true, + "type": "string", + "name": "namespace", + "in": "path" + }, { "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", "required": true, @@ -63201,7 +63568,7 @@ "schemes": [ "https" ], - "description": "list or watch cluster scoped custom objects", + "description": "list or watch namespace scoped custom objects", "parameters": [ { "uniqueItems": true, @@ -63217,6 +63584,13 @@ "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", "name": "resourceVersion" }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds" + }, { "uniqueItems": true, "in": "query", @@ -63235,10 +63609,10 @@ "consumes": [ "*/*" ], - "operationId": "listClusterCustomObject" + "operationId": "listNamespacedCustomObject" } }, - "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { + "/apis/{group}/{version}/{plural}": { "post": { "responses": { "201": { @@ -63254,7 +63628,7 @@ "schemes": [ "https" ], - "description": "Creates a namespace scoped Custom object", + "description": "Creates a cluster scoped Custom object", "parameters": [ { "schema": { @@ -63269,10 +63643,11 @@ "produces": [ "application/json" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], - "operationId": "createNamespacedCustomObject" + "operationId": "createClusterCustomObject" }, "parameters": [ { @@ -63296,13 +63671,6 @@ "name": "version", "in": "path" }, - { - "description": "The custom resource's namespace", - "required": true, - "type": "string", - "name": "namespace", - "in": "path" - }, { "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", "required": true, @@ -63326,7 +63694,7 @@ "schemes": [ "https" ], - "description": "list or watch namespace scoped custom objects", + "description": "list or watch cluster scoped custom objects", "parameters": [ { "uniqueItems": true, @@ -63342,6 +63710,13 @@ "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", "name": "resourceVersion" }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds" + }, { "uniqueItems": true, "in": "query", @@ -63360,12 +63735,18 @@ "consumes": [ "*/*" ], - "operationId": "listNamespacedCustomObject" + "operationId": "listClusterCustomObject" } }, - "/apis/{group}/{version}/{plural}/{name}": { + "/apis/{group}/{version}/{plural}/{name}/status": { "put": { "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, "200": { "description": "OK", "schema": { @@ -63379,30 +63760,32 @@ "schemes": [ "https" ], - "description": "replace the specified cluster scoped custom object", + "description": "replace status of the cluster scoped specified custom object", "parameters": [ { "schema": { "type": "object" }, - "description": "The JSON schema of the Resource to replace.", "required": true, "name": "body", "in": "body" } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], "consumes": [ "*/*" ], - "operationId": "replaceClusterCustomObject" + "operationId": "replaceClusterCustomObjectStatus" }, - "delete": { + "patch": { "responses": { "200": { "description": "OK", @@ -63417,48 +63800,31 @@ "schemes": [ "https" ], - "description": "Deletes the specified cluster scoped custom object", + "description": "partially update status of the specified cluster scoped custom object", "parameters": [ { "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "type": "object", + "description": "The JSON schema of the Resource to patch." }, "required": true, "name": "body", "in": "body" - }, - { - "uniqueItems": true, - "in": "query", - "type": "integer", - "name": "gracePeriodSeconds", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." - }, - { - "uniqueItems": true, - "in": "query", - "type": "boolean", - "name": "orphanDependents", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "name": "propagationPolicy", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], "consumes": [ - "*/*" + "application/merge-patch+json" ], - "operationId": "deleteClusterCustomObject" + "operationId": "patchClusterCustomObjectStatus" }, "parameters": [ { @@ -63476,7 +63842,7 @@ "in": "path" }, { - "description": "the custom object's plural name. For TPRs this would be lowercase plural kind.", + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", "required": true, "type": "string", "name": "plural", @@ -63493,7 +63859,7 @@ "get": { "responses": { "200": { - "description": "A single Resource", + "description": "OK", "schema": { "type": "object" } @@ -63505,9 +63871,11 @@ "schemes": [ "https" ], - "description": "Returns a cluster scoped custom object", + "description": "read status of the specified cluster scoped custom object", "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" @@ -63515,7 +63883,7 @@ "consumes": [ "*/*" ], - "operationId": "getClusterCustomObject" + "operationId": "getClusterCustomObjectStatus" } }, "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}": { @@ -63549,6 +63917,7 @@ "produces": [ "application/json" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], @@ -63557,6 +63926,45 @@ ], "operationId": "replaceNamespacedCustomObject" }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "patch the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to patch.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchNamespacedCustomObject" + }, "delete": { "responses": { "200": { @@ -63607,6 +64015,7 @@ "produces": [ "application/json" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], @@ -63679,6 +64088,660 @@ ], "operationId": "getNamespacedCustomObject" } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale": { + "put": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "replace scale of the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceNamespacedCustomObjectScale" + }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "partially update scale of the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object", + "description": "The JSON schema of the Resource to patch." + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchNamespacedCustomObjectScale" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "the custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's namespace", + "required": true, + "type": "string", + "name": "namespace", + "in": "path" + }, + { + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "read scale of the specified namespace scoped custom object", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "getNamespacedCustomObjectScale" + } + }, + "/apis/{group}/{version}/{plural}/{name}/scale": { + "put": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "replace scale of the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceClusterCustomObjectScale" + }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "partially update scale of the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object", + "description": "The JSON schema of the Resource to patch." + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchClusterCustomObjectScale" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "the custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "read scale of the specified custom object", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "getClusterCustomObjectScale" + } + }, + "/apis/{group}/{version}/{plural}/{name}": { + "put": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "replace the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to replace.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceClusterCustomObject" + }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "patch the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to patch.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchClusterCustomObject" + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Deletes the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + }, + "required": true, + "name": "body", + "in": "body" + }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "name": "gracePeriodSeconds", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "orphanDependents", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "name": "propagationPolicy", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." + } + ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "deleteClusterCustomObject" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "the custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "the custom object's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "A single Resource", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Returns a cluster scoped custom object", + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "getClusterCustomObject" + } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status": { + "put": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "replace status of the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceNamespacedCustomObjectStatus" + }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "partially update status of the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object", + "description": "The JSON schema of the Resource to patch." + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchNamespacedCustomObjectStatus" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "the custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's namespace", + "required": true, + "type": "string", + "name": "namespace", + "in": "path" + }, + { + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "read status of the specified namespace scoped custom object", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "getNamespacedCustomObjectStatus" + } } }, "definitions": { @@ -71996,7 +73059,7 @@ "type": "string" }, "namespaceSelector": { - "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is other cluster scoped resource, it is not subjected to the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", + "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", "$ref": "#/definitions/v1.LabelSelector" }, "rules": { diff --git a/kubernetes/swagger.json.unprocessed b/kubernetes/swagger.json.unprocessed index 29d40cf..eadd729 100644 --- a/kubernetes/swagger.json.unprocessed +++ b/kubernetes/swagger.json.unprocessed @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.9.2" + "version": "v1.9.12" }, "paths": { "/api/": { @@ -69812,7 +69812,7 @@ "type": "string" }, "namespaceSelector": { - "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is other cluster scoped resource, it is not subjected to the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", + "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "rules": { diff --git a/kubernetes/swagger.yaml b/kubernetes/swagger.yaml index c1cff58..6e10622 100644 --- a/kubernetes/swagger.yaml +++ b/kubernetes/swagger.yaml @@ -1,7 +1,7 @@ --- swagger: "2.0" info: - version: "v1.9.2" + version: "v1.9.12" title: "Kubernetes" security: - BearerToken: [] @@ -858,6 +858,7 @@ paths: group: "" kind: "Namespace" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/bindings: post: tags: @@ -910,6 +911,7 @@ paths: group: "" kind: "Binding" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/configmaps: get: tags: @@ -1087,6 +1089,7 @@ paths: group: "" kind: "ConfigMap" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -1322,6 +1325,7 @@ paths: group: "" kind: "ConfigMap" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -1402,6 +1406,7 @@ paths: group: "" kind: "ConfigMap" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -1455,6 +1460,7 @@ paths: group: "" kind: "ConfigMap" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/endpoints: get: tags: @@ -1632,6 +1638,7 @@ paths: group: "" kind: "Endpoints" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -1867,6 +1874,7 @@ paths: group: "" kind: "Endpoints" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -1947,6 +1955,7 @@ paths: group: "" kind: "Endpoints" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -2000,6 +2009,7 @@ paths: group: "" kind: "Endpoints" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/events: get: tags: @@ -2177,6 +2187,7 @@ paths: group: "" kind: "Event" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -2412,6 +2423,7 @@ paths: group: "" kind: "Event" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -2492,6 +2504,7 @@ paths: group: "" kind: "Event" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -2545,6 +2558,7 @@ paths: group: "" kind: "Event" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/limitranges: get: tags: @@ -2722,6 +2736,7 @@ paths: group: "" kind: "LimitRange" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -2957,6 +2972,7 @@ paths: group: "" kind: "LimitRange" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -3037,6 +3053,7 @@ paths: group: "" kind: "LimitRange" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -3090,6 +3107,7 @@ paths: group: "" kind: "LimitRange" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/persistentvolumeclaims: get: tags: @@ -3267,6 +3285,7 @@ paths: group: "" kind: "PersistentVolumeClaim" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -3502,6 +3521,7 @@ paths: group: "" kind: "PersistentVolumeClaim" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -3582,6 +3602,7 @@ paths: group: "" kind: "PersistentVolumeClaim" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -3635,6 +3656,7 @@ paths: group: "" kind: "PersistentVolumeClaim" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status: get: tags: @@ -3733,6 +3755,7 @@ paths: group: "" kind: "PersistentVolumeClaim" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -3786,6 +3809,7 @@ paths: group: "" kind: "PersistentVolumeClaim" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/pods: get: tags: @@ -3963,6 +3987,7 @@ paths: group: "" kind: "Pod" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -4198,6 +4223,7 @@ paths: group: "" kind: "Pod" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -4278,6 +4304,7 @@ paths: group: "" kind: "Pod" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -4331,6 +4358,7 @@ paths: group: "" kind: "Pod" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/pods/{name}/attach: get: tags: @@ -4534,6 +4562,7 @@ paths: group: "" kind: "Binding" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/pods/{name}/eviction: post: tags: @@ -4592,6 +4621,7 @@ paths: group: "policy" kind: "Eviction" version: "v1beta1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/pods/{name}/exec: get: tags: @@ -5676,6 +5706,7 @@ paths: group: "" kind: "Pod" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -5729,6 +5760,7 @@ paths: group: "" kind: "Pod" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/podtemplates: get: tags: @@ -5906,6 +5938,7 @@ paths: group: "" kind: "PodTemplate" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -6141,6 +6174,7 @@ paths: group: "" kind: "PodTemplate" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -6221,6 +6255,7 @@ paths: group: "" kind: "PodTemplate" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -6274,6 +6309,7 @@ paths: group: "" kind: "PodTemplate" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/replicationcontrollers: get: tags: @@ -6451,6 +6487,7 @@ paths: group: "" kind: "ReplicationController" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -6686,6 +6723,7 @@ paths: group: "" kind: "ReplicationController" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -6766,6 +6804,7 @@ paths: group: "" kind: "ReplicationController" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -6819,6 +6858,7 @@ paths: group: "" kind: "ReplicationController" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale: get: tags: @@ -6917,6 +6957,7 @@ paths: group: "autoscaling" kind: "Scale" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -6970,6 +7011,7 @@ paths: group: "autoscaling" kind: "Scale" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status: get: tags: @@ -7068,6 +7110,7 @@ paths: group: "" kind: "ReplicationController" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -7121,6 +7164,7 @@ paths: group: "" kind: "ReplicationController" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/resourcequotas: get: tags: @@ -7298,6 +7342,7 @@ paths: group: "" kind: "ResourceQuota" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -7533,6 +7578,7 @@ paths: group: "" kind: "ResourceQuota" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -7613,6 +7659,7 @@ paths: group: "" kind: "ResourceQuota" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -7666,6 +7713,7 @@ paths: group: "" kind: "ResourceQuota" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/resourcequotas/{name}/status: get: tags: @@ -7764,6 +7812,7 @@ paths: group: "" kind: "ResourceQuota" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -7817,6 +7866,7 @@ paths: group: "" kind: "ResourceQuota" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/secrets: get: tags: @@ -7994,6 +8044,7 @@ paths: group: "" kind: "Secret" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -8229,6 +8280,7 @@ paths: group: "" kind: "Secret" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -8309,6 +8361,7 @@ paths: group: "" kind: "Secret" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -8362,6 +8415,7 @@ paths: group: "" kind: "Secret" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/serviceaccounts: get: tags: @@ -8539,6 +8593,7 @@ paths: group: "" kind: "ServiceAccount" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -8774,6 +8829,7 @@ paths: group: "" kind: "ServiceAccount" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -8854,6 +8910,7 @@ paths: group: "" kind: "ServiceAccount" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -8907,6 +8964,7 @@ paths: group: "" kind: "ServiceAccount" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/services: get: tags: @@ -9084,6 +9142,7 @@ paths: group: "" kind: "Service" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/services/{name}: get: tags: @@ -9196,6 +9255,7 @@ paths: group: "" kind: "Service" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -9293,6 +9353,7 @@ paths: group: "" kind: "Service" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{namespace}/services/{name}/proxy: get: tags: @@ -10065,6 +10126,7 @@ paths: group: "" kind: "Service" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -10118,6 +10180,7 @@ paths: group: "" kind: "Service" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{name}: get: tags: @@ -10218,6 +10281,7 @@ paths: group: "" kind: "Namespace" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -10292,6 +10356,7 @@ paths: group: "" kind: "Namespace" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -10339,6 +10404,7 @@ paths: group: "" kind: "Namespace" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{name}/finalize: put: tags: @@ -10387,6 +10453,7 @@ paths: group: "" kind: "Namespace" version: "v1" + x-codegen-request-body-name: "body" /api/v1/namespaces/{name}/status: get: tags: @@ -10473,6 +10540,7 @@ paths: group: "" kind: "Namespace" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -10520,6 +10588,7 @@ paths: group: "" kind: "Namespace" version: "v1" + x-codegen-request-body-name: "body" /api/v1/nodes: get: tags: @@ -10685,6 +10754,7 @@ paths: group: "" kind: "Node" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -10902,6 +10972,7 @@ paths: group: "" kind: "Node" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -10976,6 +11047,7 @@ paths: group: "" kind: "Node" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -11023,6 +11095,7 @@ paths: group: "" kind: "Node" version: "v1" + x-codegen-request-body-name: "body" /api/v1/nodes/{name}/proxy: get: tags: @@ -11671,6 +11744,7 @@ paths: group: "" kind: "Node" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -11718,6 +11792,7 @@ paths: group: "" kind: "Node" version: "v1" + x-codegen-request-body-name: "body" /api/v1/persistentvolumeclaims: get: tags: @@ -12003,6 +12078,7 @@ paths: group: "" kind: "PersistentVolume" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -12220,6 +12296,7 @@ paths: group: "" kind: "PersistentVolume" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "core_v1" @@ -12294,6 +12371,7 @@ paths: group: "" kind: "PersistentVolume" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -12341,6 +12419,7 @@ paths: group: "" kind: "PersistentVolume" version: "v1" + x-codegen-request-body-name: "body" /api/v1/persistentvolumes/{name}/status: get: tags: @@ -12427,6 +12506,7 @@ paths: group: "" kind: "PersistentVolume" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "core_v1" @@ -12474,6 +12554,7 @@ paths: group: "" kind: "PersistentVolume" version: "v1" + x-codegen-request-body-name: "body" /api/v1/pods: get: tags: @@ -15153,6 +15234,7 @@ paths: group: "admissionregistration.k8s.io" kind: "InitializerConfiguration" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "admissionregistration_v1alpha1" @@ -15370,6 +15452,7 @@ paths: group: "admissionregistration.k8s.io" kind: "InitializerConfiguration" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "admissionregistration_v1alpha1" @@ -15444,6 +15527,7 @@ paths: group: "admissionregistration.k8s.io" kind: "InitializerConfiguration" version: "v1alpha1" + x-codegen-request-body-name: "body" patch: tags: - "admissionregistration_v1alpha1" @@ -15491,6 +15575,7 @@ paths: group: "admissionregistration.k8s.io" kind: "InitializerConfiguration" version: "v1alpha1" + x-codegen-request-body-name: "body" /apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations: {} /apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations/{name}: {} /apis/admissionregistration.k8s.io/v1beta1/: @@ -15682,6 +15767,7 @@ paths: group: "admissionregistration.k8s.io" kind: "MutatingWebhookConfiguration" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "admissionregistration_v1beta1" @@ -15899,6 +15985,7 @@ paths: group: "admissionregistration.k8s.io" kind: "MutatingWebhookConfiguration" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "admissionregistration_v1beta1" @@ -15973,6 +16060,7 @@ paths: group: "admissionregistration.k8s.io" kind: "MutatingWebhookConfiguration" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "admissionregistration_v1beta1" @@ -16020,6 +16108,7 @@ paths: group: "admissionregistration.k8s.io" kind: "MutatingWebhookConfiguration" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations: get: tags: @@ -16185,6 +16274,7 @@ paths: group: "admissionregistration.k8s.io" kind: "ValidatingWebhookConfiguration" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "admissionregistration_v1beta1" @@ -16402,6 +16492,7 @@ paths: group: "admissionregistration.k8s.io" kind: "ValidatingWebhookConfiguration" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "admissionregistration_v1beta1" @@ -16476,6 +16567,7 @@ paths: group: "admissionregistration.k8s.io" kind: "ValidatingWebhookConfiguration" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "admissionregistration_v1beta1" @@ -16523,6 +16615,7 @@ paths: group: "admissionregistration.k8s.io" kind: "ValidatingWebhookConfiguration" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations: {} /apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}: {} /apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations: {} @@ -16740,6 +16833,7 @@ paths: group: "apiextensions.k8s.io" kind: "CustomResourceDefinition" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apiextensions_v1beta1" @@ -16957,6 +17051,7 @@ paths: group: "apiextensions.k8s.io" kind: "CustomResourceDefinition" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apiextensions_v1beta1" @@ -17031,6 +17126,7 @@ paths: group: "apiextensions.k8s.io" kind: "CustomResourceDefinition" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apiextensions_v1beta1" @@ -17078,6 +17174,7 @@ paths: group: "apiextensions.k8s.io" kind: "CustomResourceDefinition" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status: put: tags: @@ -17126,6 +17223,7 @@ paths: group: "apiextensions.k8s.io" kind: "CustomResourceDefinition" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions: {} /apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}: {} /apis/apiregistration.k8s.io/: @@ -17341,6 +17439,7 @@ paths: group: "apiregistration.k8s.io" kind: "APIService" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apiregistration_v1beta1" @@ -17558,6 +17657,7 @@ paths: group: "apiregistration.k8s.io" kind: "APIService" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apiregistration_v1beta1" @@ -17632,6 +17732,7 @@ paths: group: "apiregistration.k8s.io" kind: "APIService" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apiregistration_v1beta1" @@ -17679,6 +17780,7 @@ paths: group: "apiregistration.k8s.io" kind: "APIService" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status: put: tags: @@ -17727,6 +17829,7 @@ paths: group: "apiregistration.k8s.io" kind: "APIService" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apiregistration.k8s.io/v1beta1/watch/apiservices: {} /apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}: {} /apis/apps/: @@ -18314,6 +18417,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -18549,6 +18653,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -18629,6 +18734,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -18682,6 +18788,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/daemonsets: get: tags: @@ -18859,6 +18966,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -19094,6 +19202,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -19174,6 +19283,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -19227,6 +19337,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status: get: tags: @@ -19325,6 +19436,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -19378,6 +19490,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/deployments: get: tags: @@ -19555,6 +19668,7 @@ paths: group: "apps" kind: "Deployment" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -19790,6 +19904,7 @@ paths: group: "apps" kind: "Deployment" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -19870,6 +19985,7 @@ paths: group: "apps" kind: "Deployment" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -19923,6 +20039,7 @@ paths: group: "apps" kind: "Deployment" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale: get: tags: @@ -20021,6 +20138,7 @@ paths: group: "autoscaling" kind: "Scale" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -20074,6 +20192,7 @@ paths: group: "autoscaling" kind: "Scale" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status: get: tags: @@ -20172,6 +20291,7 @@ paths: group: "apps" kind: "Deployment" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -20225,6 +20345,7 @@ paths: group: "apps" kind: "Deployment" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/replicasets: get: tags: @@ -20402,6 +20523,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -20637,6 +20759,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -20717,6 +20840,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -20770,6 +20894,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale: get: tags: @@ -20868,6 +20993,7 @@ paths: group: "autoscaling" kind: "Scale" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -20921,6 +21047,7 @@ paths: group: "autoscaling" kind: "Scale" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status: get: tags: @@ -21019,6 +21146,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -21072,6 +21200,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/statefulsets: get: tags: @@ -21249,6 +21378,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -21484,6 +21614,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1" @@ -21564,6 +21695,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -21617,6 +21749,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale: get: tags: @@ -21715,6 +21848,7 @@ paths: group: "autoscaling" kind: "Scale" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -21768,6 +21902,7 @@ paths: group: "autoscaling" kind: "Scale" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status: get: tags: @@ -21866,6 +22001,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1" @@ -21919,6 +22055,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1" + x-codegen-request-body-name: "body" /apis/apps/v1/replicasets: get: tags: @@ -22615,6 +22752,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta1" @@ -22850,6 +22988,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta1" @@ -22930,6 +23069,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta1" @@ -22983,6 +23123,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apps/v1beta1/namespaces/{namespace}/deployments: get: tags: @@ -23160,6 +23301,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta1" @@ -23395,6 +23537,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta1" @@ -23475,6 +23618,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta1" @@ -23528,6 +23672,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback: post: tags: @@ -23586,6 +23731,7 @@ paths: group: "apps" kind: "DeploymentRollback" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale: get: tags: @@ -23684,6 +23830,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta1" @@ -23737,6 +23884,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status: get: tags: @@ -23835,6 +23983,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta1" @@ -23888,6 +24037,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apps/v1beta1/namespaces/{namespace}/statefulsets: get: tags: @@ -24065,6 +24215,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta1" @@ -24300,6 +24451,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta1" @@ -24380,6 +24532,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta1" @@ -24433,6 +24586,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale: get: tags: @@ -24531,6 +24685,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta1" @@ -24584,6 +24739,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status: get: tags: @@ -24682,6 +24838,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta1" @@ -24735,6 +24892,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/apps/v1beta1/statefulsets: get: tags: @@ -25425,6 +25583,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -25660,6 +25819,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -25740,6 +25900,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -25793,6 +25954,7 @@ paths: group: "apps" kind: "ControllerRevision" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/daemonsets: get: tags: @@ -25970,6 +26132,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -26205,6 +26368,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -26285,6 +26449,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -26338,6 +26503,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status: get: tags: @@ -26436,6 +26602,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -26489,6 +26656,7 @@ paths: group: "apps" kind: "DaemonSet" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/deployments: get: tags: @@ -26666,6 +26834,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -26901,6 +27070,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -26981,6 +27151,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -27034,6 +27205,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale: get: tags: @@ -27132,6 +27304,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -27185,6 +27358,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status: get: tags: @@ -27283,6 +27457,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -27336,6 +27511,7 @@ paths: group: "apps" kind: "Deployment" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/replicasets: get: tags: @@ -27513,6 +27689,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -27748,6 +27925,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -27828,6 +28006,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -27881,6 +28060,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale: get: tags: @@ -27979,6 +28159,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -28032,6 +28213,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status: get: tags: @@ -28130,6 +28312,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -28183,6 +28366,7 @@ paths: group: "apps" kind: "ReplicaSet" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/statefulsets: get: tags: @@ -28360,6 +28544,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -28595,6 +28780,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta2" + x-codegen-request-body-name: "body" delete: tags: - "apps_v1beta2" @@ -28675,6 +28861,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -28728,6 +28915,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale: get: tags: @@ -28826,6 +29014,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -28879,6 +29068,7 @@ paths: group: "apps" kind: "Scale" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status: get: tags: @@ -28977,6 +29167,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta2" + x-codegen-request-body-name: "body" patch: tags: - "apps_v1beta2" @@ -29030,6 +29221,7 @@ paths: group: "apps" kind: "StatefulSet" version: "v1beta2" + x-codegen-request-body-name: "body" /apis/apps/v1beta2/replicasets: get: tags: @@ -29379,6 +29571,7 @@ paths: group: "authentication.k8s.io" kind: "TokenReview" version: "v1" + x-codegen-request-body-name: "body" /apis/authentication.k8s.io/v1beta1/: get: tags: @@ -29449,6 +29642,7 @@ paths: group: "authentication.k8s.io" kind: "TokenReview" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/authorization.k8s.io/: get: tags: @@ -29549,6 +29743,7 @@ paths: group: "authorization.k8s.io" kind: "LocalSubjectAccessReview" version: "v1" + x-codegen-request-body-name: "body" /apis/authorization.k8s.io/v1/selfsubjectaccessreviews: post: tags: @@ -29595,6 +29790,7 @@ paths: group: "authorization.k8s.io" kind: "SelfSubjectAccessReview" version: "v1" + x-codegen-request-body-name: "body" /apis/authorization.k8s.io/v1/selfsubjectrulesreviews: post: tags: @@ -29641,6 +29837,7 @@ paths: group: "authorization.k8s.io" kind: "SelfSubjectRulesReview" version: "v1" + x-codegen-request-body-name: "body" /apis/authorization.k8s.io/v1/subjectaccessreviews: post: tags: @@ -29687,6 +29884,7 @@ paths: group: "authorization.k8s.io" kind: "SubjectAccessReview" version: "v1" + x-codegen-request-body-name: "body" /apis/authorization.k8s.io/v1beta1/: get: tags: @@ -29763,6 +29961,7 @@ paths: group: "authorization.k8s.io" kind: "LocalSubjectAccessReview" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews: post: tags: @@ -29809,6 +30008,7 @@ paths: group: "authorization.k8s.io" kind: "SelfSubjectAccessReview" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews: post: tags: @@ -29855,6 +30055,7 @@ paths: group: "authorization.k8s.io" kind: "SelfSubjectRulesReview" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/authorization.k8s.io/v1beta1/subjectaccessreviews: post: tags: @@ -29901,6 +30102,7 @@ paths: group: "authorization.k8s.io" kind: "SubjectAccessReview" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/autoscaling/: get: tags: @@ -30246,6 +30448,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "autoscaling_v1" @@ -30481,6 +30684,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "autoscaling_v1" @@ -30561,6 +30765,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "autoscaling_v1" @@ -30614,6 +30819,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v1" + x-codegen-request-body-name: "body" /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status: get: tags: @@ -30712,6 +30918,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "autoscaling_v1" @@ -30765,6 +30972,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v1" + x-codegen-request-body-name: "body" /apis/autoscaling/v1/watch/horizontalpodautoscalers: {} /apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers: {} /apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}: {} @@ -31089,6 +31297,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v2beta1" + x-codegen-request-body-name: "body" delete: tags: - "autoscaling_v2beta1" @@ -31324,6 +31533,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v2beta1" + x-codegen-request-body-name: "body" delete: tags: - "autoscaling_v2beta1" @@ -31404,6 +31614,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v2beta1" + x-codegen-request-body-name: "body" patch: tags: - "autoscaling_v2beta1" @@ -31457,6 +31668,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v2beta1" + x-codegen-request-body-name: "body" /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status: get: tags: @@ -31555,6 +31767,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v2beta1" + x-codegen-request-body-name: "body" patch: tags: - "autoscaling_v2beta1" @@ -31608,6 +31821,7 @@ paths: group: "autoscaling" kind: "HorizontalPodAutoscaler" version: "v2beta1" + x-codegen-request-body-name: "body" /apis/autoscaling/v2beta1/watch/horizontalpodautoscalers: {} /apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers: {} /apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}: {} @@ -31956,6 +32170,7 @@ paths: group: "batch" kind: "Job" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "batch_v1" @@ -32191,6 +32406,7 @@ paths: group: "batch" kind: "Job" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "batch_v1" @@ -32271,6 +32487,7 @@ paths: group: "batch" kind: "Job" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "batch_v1" @@ -32324,6 +32541,7 @@ paths: group: "batch" kind: "Job" version: "v1" + x-codegen-request-body-name: "body" /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status: get: tags: @@ -32422,6 +32640,7 @@ paths: group: "batch" kind: "Job" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "batch_v1" @@ -32475,6 +32694,7 @@ paths: group: "batch" kind: "Job" version: "v1" + x-codegen-request-body-name: "body" /apis/batch/v1/watch/jobs: {} /apis/batch/v1/watch/namespaces/{namespace}/jobs: {} /apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}: {} @@ -32799,6 +33019,7 @@ paths: group: "batch" kind: "CronJob" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "batch_v1beta1" @@ -33034,6 +33255,7 @@ paths: group: "batch" kind: "CronJob" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "batch_v1beta1" @@ -33114,6 +33336,7 @@ paths: group: "batch" kind: "CronJob" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "batch_v1beta1" @@ -33167,6 +33390,7 @@ paths: group: "batch" kind: "CronJob" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status: get: tags: @@ -33265,6 +33489,7 @@ paths: group: "batch" kind: "CronJob" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "batch_v1beta1" @@ -33318,6 +33543,7 @@ paths: group: "batch" kind: "CronJob" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/batch/v1beta1/watch/cronjobs: {} /apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs: {} /apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}: {} @@ -33642,6 +33868,7 @@ paths: group: "batch" kind: "CronJob" version: "v2alpha1" + x-codegen-request-body-name: "body" delete: tags: - "batch_v2alpha1" @@ -33877,6 +34104,7 @@ paths: group: "batch" kind: "CronJob" version: "v2alpha1" + x-codegen-request-body-name: "body" delete: tags: - "batch_v2alpha1" @@ -33957,6 +34185,7 @@ paths: group: "batch" kind: "CronJob" version: "v2alpha1" + x-codegen-request-body-name: "body" patch: tags: - "batch_v2alpha1" @@ -34010,6 +34239,7 @@ paths: group: "batch" kind: "CronJob" version: "v2alpha1" + x-codegen-request-body-name: "body" /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status: get: tags: @@ -34108,6 +34338,7 @@ paths: group: "batch" kind: "CronJob" version: "v2alpha1" + x-codegen-request-body-name: "body" patch: tags: - "batch_v2alpha1" @@ -34161,6 +34392,7 @@ paths: group: "batch" kind: "CronJob" version: "v2alpha1" + x-codegen-request-body-name: "body" /apis/batch/v2alpha1/watch/cronjobs: {} /apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs: {} /apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}: {} @@ -34377,6 +34609,7 @@ paths: group: "certificates.k8s.io" kind: "CertificateSigningRequest" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "certificates_v1beta1" @@ -34594,6 +34827,7 @@ paths: group: "certificates.k8s.io" kind: "CertificateSigningRequest" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "certificates_v1beta1" @@ -34668,6 +34902,7 @@ paths: group: "certificates.k8s.io" kind: "CertificateSigningRequest" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "certificates_v1beta1" @@ -34715,6 +34950,7 @@ paths: group: "certificates.k8s.io" kind: "CertificateSigningRequest" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval: put: tags: @@ -34763,6 +34999,7 @@ paths: group: "certificates.k8s.io" kind: "CertificateSigningRequest" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status: put: tags: @@ -34811,6 +35048,7 @@ paths: group: "certificates.k8s.io" kind: "CertificateSigningRequest" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests: {} /apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}: {} /apis/events.k8s.io/: @@ -35158,6 +35396,7 @@ paths: group: "events.k8s.io" kind: "Event" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "events_v1beta1" @@ -35393,6 +35632,7 @@ paths: group: "events.k8s.io" kind: "Event" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "events_v1beta1" @@ -35473,6 +35713,7 @@ paths: group: "events.k8s.io" kind: "Event" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "events_v1beta1" @@ -35526,6 +35767,7 @@ paths: group: "events.k8s.io" kind: "Event" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/events.k8s.io/v1beta1/watch/events: {} /apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events: {} /apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}: {} @@ -36114,6 +36356,7 @@ paths: group: "extensions" kind: "DaemonSet" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -36349,6 +36592,7 @@ paths: group: "extensions" kind: "DaemonSet" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -36429,6 +36673,7 @@ paths: group: "extensions" kind: "DaemonSet" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -36482,6 +36727,7 @@ paths: group: "extensions" kind: "DaemonSet" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status: get: tags: @@ -36580,6 +36826,7 @@ paths: group: "extensions" kind: "DaemonSet" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -36633,6 +36880,7 @@ paths: group: "extensions" kind: "DaemonSet" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/deployments: get: tags: @@ -36810,6 +37058,7 @@ paths: group: "extensions" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -37045,6 +37294,7 @@ paths: group: "extensions" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -37125,6 +37375,7 @@ paths: group: "extensions" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -37178,6 +37429,7 @@ paths: group: "extensions" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback: post: tags: @@ -37236,6 +37488,7 @@ paths: group: "extensions" kind: "DeploymentRollback" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale: get: tags: @@ -37334,6 +37587,7 @@ paths: group: "extensions" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -37387,6 +37641,7 @@ paths: group: "extensions" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status: get: tags: @@ -37485,6 +37740,7 @@ paths: group: "extensions" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -37538,6 +37794,7 @@ paths: group: "extensions" kind: "Deployment" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/ingresses: get: tags: @@ -37715,6 +37972,7 @@ paths: group: "extensions" kind: "Ingress" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -37950,6 +38208,7 @@ paths: group: "extensions" kind: "Ingress" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -38030,6 +38289,7 @@ paths: group: "extensions" kind: "Ingress" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -38083,6 +38343,7 @@ paths: group: "extensions" kind: "Ingress" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status: get: tags: @@ -38181,6 +38442,7 @@ paths: group: "extensions" kind: "Ingress" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -38234,6 +38496,7 @@ paths: group: "extensions" kind: "Ingress" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies: get: tags: @@ -38411,6 +38674,7 @@ paths: group: "extensions" kind: "NetworkPolicy" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -38646,6 +38910,7 @@ paths: group: "extensions" kind: "NetworkPolicy" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -38726,6 +38991,7 @@ paths: group: "extensions" kind: "NetworkPolicy" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -38779,6 +39045,7 @@ paths: group: "extensions" kind: "NetworkPolicy" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/replicasets: get: tags: @@ -38956,6 +39223,7 @@ paths: group: "extensions" kind: "ReplicaSet" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -39191,6 +39459,7 @@ paths: group: "extensions" kind: "ReplicaSet" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -39271,6 +39540,7 @@ paths: group: "extensions" kind: "ReplicaSet" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -39324,6 +39594,7 @@ paths: group: "extensions" kind: "ReplicaSet" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale: get: tags: @@ -39422,6 +39693,7 @@ paths: group: "extensions" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -39475,6 +39747,7 @@ paths: group: "extensions" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status: get: tags: @@ -39573,6 +39846,7 @@ paths: group: "extensions" kind: "ReplicaSet" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -39626,6 +39900,7 @@ paths: group: "extensions" kind: "ReplicaSet" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale: get: tags: @@ -39724,6 +39999,7 @@ paths: group: "extensions" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -39777,6 +40053,7 @@ paths: group: "extensions" kind: "Scale" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/networkpolicies: get: tags: @@ -40062,6 +40339,7 @@ paths: group: "extensions" kind: "PodSecurityPolicy" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -40279,6 +40557,7 @@ paths: group: "extensions" kind: "PodSecurityPolicy" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "extensions_v1beta1" @@ -40353,6 +40632,7 @@ paths: group: "extensions" kind: "PodSecurityPolicy" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "extensions_v1beta1" @@ -40400,6 +40680,7 @@ paths: group: "extensions" kind: "PodSecurityPolicy" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/extensions/v1beta1/replicasets: get: tags: @@ -40762,6 +41043,7 @@ paths: group: "networking.k8s.io" kind: "NetworkPolicy" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "networking_v1" @@ -40997,6 +41279,7 @@ paths: group: "networking.k8s.io" kind: "NetworkPolicy" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "networking_v1" @@ -41077,6 +41360,7 @@ paths: group: "networking.k8s.io" kind: "NetworkPolicy" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "networking_v1" @@ -41130,6 +41414,7 @@ paths: group: "networking.k8s.io" kind: "NetworkPolicy" version: "v1" + x-codegen-request-body-name: "body" /apis/networking.k8s.io/v1/networkpolicies: get: tags: @@ -41478,6 +41763,7 @@ paths: group: "policy" kind: "PodDisruptionBudget" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "policy_v1beta1" @@ -41713,6 +41999,7 @@ paths: group: "policy" kind: "PodDisruptionBudget" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "policy_v1beta1" @@ -41793,6 +42080,7 @@ paths: group: "policy" kind: "PodDisruptionBudget" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "policy_v1beta1" @@ -41846,6 +42134,7 @@ paths: group: "policy" kind: "PodDisruptionBudget" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status: get: tags: @@ -41944,6 +42233,7 @@ paths: group: "policy" kind: "PodDisruptionBudget" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "policy_v1beta1" @@ -41997,6 +42287,7 @@ paths: group: "policy" kind: "PodDisruptionBudget" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/policy/v1beta1/poddisruptionbudgets: get: tags: @@ -42333,6 +42624,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1" @@ -42536,6 +42828,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1" @@ -42610,6 +42903,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1" @@ -42657,6 +42951,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1/clusterroles: get: tags: @@ -42822,6 +43117,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1" @@ -43025,6 +43321,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1" @@ -43099,6 +43396,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1" @@ -43146,6 +43444,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings: get: tags: @@ -43323,6 +43622,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1" @@ -43544,6 +43844,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1" @@ -43624,6 +43925,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1" @@ -43677,6 +43979,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles: get: tags: @@ -43854,6 +44157,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1" @@ -44075,6 +44379,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1" @@ -44155,6 +44460,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1" @@ -44208,6 +44514,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1/rolebindings: get: tags: @@ -44647,6 +44954,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1alpha1" @@ -44850,6 +45158,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1alpha1" @@ -44924,6 +45233,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1alpha1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1alpha1" @@ -44971,6 +45281,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1alpha1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles: get: tags: @@ -45136,6 +45447,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1alpha1" @@ -45339,6 +45651,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1alpha1" @@ -45413,6 +45726,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1alpha1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1alpha1" @@ -45460,6 +45774,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1alpha1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings: get: tags: @@ -45637,6 +45952,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1alpha1" @@ -45858,6 +46174,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1alpha1" @@ -45938,6 +46255,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1alpha1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1alpha1" @@ -45991,6 +46309,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1alpha1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles: get: tags: @@ -46168,6 +46487,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1alpha1" @@ -46389,6 +46709,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1alpha1" @@ -46469,6 +46790,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1alpha1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1alpha1" @@ -46522,6 +46844,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1alpha1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1alpha1/rolebindings: get: tags: @@ -46961,6 +47284,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1beta1" @@ -47164,6 +47488,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1beta1" @@ -47238,6 +47563,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1beta1" @@ -47285,6 +47611,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRoleBinding" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1beta1/clusterroles: get: tags: @@ -47450,6 +47777,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1beta1" @@ -47653,6 +47981,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1beta1" @@ -47727,6 +48056,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1beta1" @@ -47774,6 +48104,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "ClusterRole" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings: get: tags: @@ -47951,6 +48282,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1beta1" @@ -48172,6 +48504,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1beta1" @@ -48252,6 +48585,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1beta1" @@ -48305,6 +48639,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "RoleBinding" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles: get: tags: @@ -48482,6 +48817,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1beta1" @@ -48703,6 +49039,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "rbacAuthorization_v1beta1" @@ -48783,6 +49120,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "rbacAuthorization_v1beta1" @@ -48836,6 +49174,7 @@ paths: group: "rbac.authorization.k8s.io" kind: "Role" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/rbac.authorization.k8s.io/v1beta1/rolebindings: get: tags: @@ -49299,6 +49638,7 @@ paths: group: "scheduling.k8s.io" kind: "PriorityClass" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "scheduling_v1alpha1" @@ -49516,6 +49856,7 @@ paths: group: "scheduling.k8s.io" kind: "PriorityClass" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "scheduling_v1alpha1" @@ -49590,6 +49931,7 @@ paths: group: "scheduling.k8s.io" kind: "PriorityClass" version: "v1alpha1" + x-codegen-request-body-name: "body" patch: tags: - "scheduling_v1alpha1" @@ -49637,6 +49979,7 @@ paths: group: "scheduling.k8s.io" kind: "PriorityClass" version: "v1alpha1" + x-codegen-request-body-name: "body" /apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses: {} /apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}: {} /apis/settings.k8s.io/: @@ -49864,6 +50207,7 @@ paths: group: "settings.k8s.io" kind: "PodPreset" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "settings_v1alpha1" @@ -50099,6 +50443,7 @@ paths: group: "settings.k8s.io" kind: "PodPreset" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "settings_v1alpha1" @@ -50179,6 +50524,7 @@ paths: group: "settings.k8s.io" kind: "PodPreset" version: "v1alpha1" + x-codegen-request-body-name: "body" patch: tags: - "settings_v1alpha1" @@ -50232,6 +50578,7 @@ paths: group: "settings.k8s.io" kind: "PodPreset" version: "v1alpha1" + x-codegen-request-body-name: "body" /apis/settings.k8s.io/v1alpha1/podpresets: get: tags: @@ -50568,6 +50915,7 @@ paths: group: "storage.k8s.io" kind: "StorageClass" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "storage_v1" @@ -50785,6 +51133,7 @@ paths: group: "storage.k8s.io" kind: "StorageClass" version: "v1" + x-codegen-request-body-name: "body" delete: tags: - "storage_v1" @@ -50859,6 +51208,7 @@ paths: group: "storage.k8s.io" kind: "StorageClass" version: "v1" + x-codegen-request-body-name: "body" patch: tags: - "storage_v1" @@ -50906,6 +51256,7 @@ paths: group: "storage.k8s.io" kind: "StorageClass" version: "v1" + x-codegen-request-body-name: "body" /apis/storage.k8s.io/v1/watch/storageclasses: {} /apis/storage.k8s.io/v1/watch/storageclasses/{name}: {} /apis/storage.k8s.io/v1alpha1/: @@ -51097,6 +51448,7 @@ paths: group: "storage.k8s.io" kind: "VolumeAttachment" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "storage_v1alpha1" @@ -51314,6 +51666,7 @@ paths: group: "storage.k8s.io" kind: "VolumeAttachment" version: "v1alpha1" + x-codegen-request-body-name: "body" delete: tags: - "storage_v1alpha1" @@ -51388,6 +51741,7 @@ paths: group: "storage.k8s.io" kind: "VolumeAttachment" version: "v1alpha1" + x-codegen-request-body-name: "body" patch: tags: - "storage_v1alpha1" @@ -51435,6 +51789,7 @@ paths: group: "storage.k8s.io" kind: "VolumeAttachment" version: "v1alpha1" + x-codegen-request-body-name: "body" /apis/storage.k8s.io/v1alpha1/watch/volumeattachments: {} /apis/storage.k8s.io/v1alpha1/watch/volumeattachments/{name}: {} /apis/storage.k8s.io/v1beta1/: @@ -51626,6 +51981,7 @@ paths: group: "storage.k8s.io" kind: "StorageClass" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "storage_v1beta1" @@ -51843,6 +52199,7 @@ paths: group: "storage.k8s.io" kind: "StorageClass" version: "v1beta1" + x-codegen-request-body-name: "body" delete: tags: - "storage_v1beta1" @@ -51917,6 +52274,7 @@ paths: group: "storage.k8s.io" kind: "StorageClass" version: "v1beta1" + x-codegen-request-body-name: "body" patch: tags: - "storage_v1beta1" @@ -51964,6 +52322,7 @@ paths: group: "storage.k8s.io" kind: "StorageClass" version: "v1beta1" + x-codegen-request-body-name: "body" /apis/storage.k8s.io/v1beta1/watch/storageclasses: {} /apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}: {} /logs/: @@ -52014,12 +52373,12 @@ paths: $ref: "#/definitions/version.Info" 401: description: "Unauthorized" - /apis/{group}/{version}/{plural}: + /apis/{group}/{version}/namespaces/{namespace}/{plural}: get: tags: - "custom_objects" - description: "list or watch cluster scoped custom objects" - operationId: "listClusterCustomObject" + description: "list or watch namespace scoped custom objects" + operationId: "listNamespacedCustomObject" schemes: - "https" consumes: @@ -52044,6 +52403,11 @@ paths: description: "The custom resource's version" required: true type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" - name: "plural" in: "path" description: "The custom resource's plural name. For TPRs this would be lowercase\ @@ -52068,6 +52432,13 @@ paths: required: false type: "string" uniqueItems: true + - name: "timeoutSeconds" + in: "query" + description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + required: false + type: "integer" + uniqueItems: true - name: "watch" in: "query" description: "Watch for changes to the described resources and return them\ @@ -52086,8 +52457,8 @@ paths: post: tags: - "custom_objects" - description: "Creates a cluster scoped Custom object" - operationId: "createClusterCustomObject" + description: "Creates a namespace scoped Custom object" + operationId: "createNamespacedCustomObject" schemes: - "https" produces: @@ -52109,6 +52480,11 @@ paths: description: "The custom resource's version" required: true type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" - name: "plural" in: "path" description: "The custom resource's plural name. For TPRs this would be lowercase\ @@ -52129,12 +52505,13 @@ paths: properties: {} 401: description: "Unauthorized" - /apis/{group}/{version}/namespaces/{namespace}/{plural}: + x-codegen-request-body-name: "body" + /apis/{group}/{version}/{plural}: get: tags: - "custom_objects" - description: "list or watch namespace scoped custom objects" - operationId: "listNamespacedCustomObject" + description: "list or watch cluster scoped custom objects" + operationId: "listClusterCustomObject" schemes: - "https" consumes: @@ -52159,11 +52536,6 @@ paths: description: "The custom resource's version" required: true type: "string" - - name: "namespace" - in: "path" - description: "The custom resource's namespace" - required: true - type: "string" - name: "plural" in: "path" description: "The custom resource's plural name. For TPRs this would be lowercase\ @@ -52188,6 +52560,13 @@ paths: required: false type: "string" uniqueItems: true + - name: "timeoutSeconds" + in: "query" + description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + required: false + type: "integer" + uniqueItems: true - name: "watch" in: "query" description: "Watch for changes to the described resources and return them\ @@ -52206,8 +52585,8 @@ paths: post: tags: - "custom_objects" - description: "Creates a namespace scoped Custom object" - operationId: "createNamespacedCustomObject" + description: "Creates a cluster scoped Custom object" + operationId: "createClusterCustomObject" schemes: - "https" produces: @@ -52229,24 +52608,117 @@ paths: description: "The custom resource's version" required: true type: "string" - - name: "namespace" + - name: "plural" in: "path" - description: "The custom resource's namespace" + description: "The custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - in: "body" + name: "body" + description: "The JSON schema of the Resource to create." + required: true + schema: + type: "object" + responses: + 201: + description: "Created" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + /apis/{group}/{version}/{plural}/{name}/status: + get: + tags: + - "custom_objects" + description: "read status of the specified cluster scoped custom object" + operationId: "getClusterCustomObjectStatus" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" required: true type: "string" - name: "plural" in: "path" - description: "The custom resource's plural name. For TPRs this would be lowercase\ + description: "the custom resource's plural name. For TPRs this would be lowercase\ \ plural kind." required: true type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + put: + tags: + - "custom_objects" + description: "replace status of the cluster scoped specified custom object" + operationId: "replaceClusterCustomObjectStatus" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" - in: "body" name: "body" - description: "The JSON schema of the Resource to create." required: true schema: type: "object" responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} 201: description: "Created" schema: @@ -52254,12 +52726,64 @@ paths: properties: {} 401: description: "Unauthorized" - /apis/{group}/{version}/{plural}/{name}: + x-codegen-request-body-name: "body" + patch: + tags: + - "custom_objects" + description: "partially update status of the specified cluster scoped custom\ + \ object" + operationId: "patchClusterCustomObjectStatus" + schemes: + - "https" + consumes: + - "application/merge-patch+json" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + - in: "body" + name: "body" + required: true + schema: + type: "object" + description: "The JSON schema of the Resource to patch." + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}: get: tags: - "custom_objects" - description: "Returns a cluster scoped custom object" - operationId: "getClusterCustomObject" + description: "Returns a namespace scoped custom object" + operationId: "getNamespacedCustomObject" schemes: - "https" consumes: @@ -52277,9 +52801,14 @@ paths: description: "the custom resource's version" required: true type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" - name: "plural" in: "path" - description: "the custom object's plural name. For TPRs this would be lowercase\ + description: "the custom resource's plural name. For TPRs this would be lowercase\ \ plural kind." required: true type: "string" @@ -52299,8 +52828,8 @@ paths: put: tags: - "custom_objects" - description: "replace the specified cluster scoped custom object" - operationId: "replaceClusterCustomObject" + description: "replace the specified namespace scoped custom object" + operationId: "replaceNamespacedCustomObject" schemes: - "https" consumes: @@ -52318,9 +52847,14 @@ paths: description: "the custom resource's version" required: true type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" - name: "plural" in: "path" - description: "the custom object's plural name. For TPRs this would be lowercase\ + description: "the custom resource's plural name. For TPRs this would be lowercase\ \ plural kind." required: true type: "string" @@ -52343,11 +52877,12 @@ paths: properties: {} 401: description: "Unauthorized" + x-codegen-request-body-name: "body" delete: tags: - "custom_objects" - description: "Deletes the specified cluster scoped custom object" - operationId: "deleteClusterCustomObject" + description: "Deletes the specified namespace scoped custom object" + operationId: "deleteNamespacedCustomObject" schemes: - "https" consumes: @@ -52365,9 +52900,14 @@ paths: description: "the custom resource's version" required: true type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" - name: "plural" in: "path" - description: "the custom object's plural name. For TPRs this would be lowercase\ + description: "the custom resource's plural name. For TPRs this would be lowercase\ \ plural kind." required: true type: "string" @@ -52417,18 +52957,74 @@ paths: properties: {} 401: description: "Unauthorized" - /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}: + x-codegen-request-body-name: "body" + patch: + tags: + - "custom_objects" + description: "patch the specified namespace scoped custom object" + operationId: "patchNamespacedCustomObject" + schemes: + - "https" + consumes: + - "application/merge-patch+json" + produces: + - "application/json" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + - in: "body" + name: "body" + description: "The JSON schema of the Resource to patch." + required: true + schema: + type: "object" + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale: get: tags: - "custom_objects" - description: "Returns a namespace scoped custom object" - operationId: "getNamespacedCustomObject" + description: "read scale of the specified namespace scoped custom object" + operationId: "getNamespacedCustomObjectScale" schemes: - "https" consumes: - "*/*" produces: - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" parameters: - name: "group" in: "path" @@ -52458,7 +53054,7 @@ paths: type: "string" responses: 200: - description: "A single Resource" + description: "OK" schema: type: "object" properties: {} @@ -52467,14 +53063,16 @@ paths: put: tags: - "custom_objects" - description: "replace the specified namespace scoped custom object" - operationId: "replaceNamespacedCustomObject" + description: "replace scale of the specified namespace scoped custom object" + operationId: "replaceNamespacedCustomObjectScale" schemes: - "https" consumes: - "*/*" produces: - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" parameters: - name: "group" in: "path" @@ -52504,7 +53102,6 @@ paths: type: "string" - in: "body" name: "body" - description: "The JSON schema of the Resource to replace." required: true schema: type: "object" @@ -52514,19 +53111,28 @@ paths: schema: type: "object" properties: {} + 201: + description: "Created" + schema: + type: "object" + properties: {} 401: description: "Unauthorized" - delete: + x-codegen-request-body-name: "body" + patch: tags: - "custom_objects" - description: "Deletes the specified namespace scoped custom object" - operationId: "deleteNamespacedCustomObject" + description: "partially update scale of the specified namespace scoped custom\ + \ object" + operationId: "patchNamespacedCustomObjectScale" schemes: - "https" consumes: - - "*/*" + - "application/merge-patch+json" produces: - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" parameters: - name: "group" in: "path" @@ -52554,6 +53160,293 @@ paths: description: "the custom object's name" required: true type: "string" + - in: "body" + name: "body" + required: true + schema: + type: "object" + description: "The JSON schema of the Resource to patch." + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + /apis/{group}/{version}/{plural}/{name}/scale: + get: + tags: + - "custom_objects" + description: "read scale of the specified custom object" + operationId: "getClusterCustomObjectScale" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + put: + tags: + - "custom_objects" + description: "replace scale of the specified cluster scoped custom object" + operationId: "replaceClusterCustomObjectScale" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + - in: "body" + name: "body" + required: true + schema: + type: "object" + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 201: + description: "Created" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + patch: + tags: + - "custom_objects" + description: "partially update scale of the specified cluster scoped custom\ + \ object" + operationId: "patchClusterCustomObjectScale" + schemes: + - "https" + consumes: + - "application/merge-patch+json" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + - in: "body" + name: "body" + required: true + schema: + type: "object" + description: "The JSON schema of the Resource to patch." + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + /apis/{group}/{version}/{plural}/{name}: + get: + tags: + - "custom_objects" + description: "Returns a cluster scoped custom object" + operationId: "getClusterCustomObject" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom object's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + responses: + 200: + description: "A single Resource" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + put: + tags: + - "custom_objects" + description: "replace the specified cluster scoped custom object" + operationId: "replaceClusterCustomObject" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom object's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + - in: "body" + name: "body" + description: "The JSON schema of the Resource to replace." + required: true + schema: + type: "object" + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + delete: + tags: + - "custom_objects" + description: "Deletes the specified cluster scoped custom object" + operationId: "deleteClusterCustomObject" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom object's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" - in: "body" name: "body" required: true @@ -52595,6 +53488,219 @@ paths: properties: {} 401: description: "Unauthorized" + x-codegen-request-body-name: "body" + patch: + tags: + - "custom_objects" + description: "patch the specified cluster scoped custom object" + operationId: "patchClusterCustomObject" + schemes: + - "https" + consumes: + - "application/merge-patch+json" + produces: + - "application/json" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom object's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + - in: "body" + name: "body" + description: "The JSON schema of the Resource to patch." + required: true + schema: + type: "object" + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status: + get: + tags: + - "custom_objects" + description: "read status of the specified namespace scoped custom object" + operationId: "getNamespacedCustomObjectStatus" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + put: + tags: + - "custom_objects" + description: "replace status of the specified namespace scoped custom object" + operationId: "replaceNamespacedCustomObjectStatus" + schemes: + - "https" + consumes: + - "*/*" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + - in: "body" + name: "body" + required: true + schema: + type: "object" + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 201: + description: "Created" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" + patch: + tags: + - "custom_objects" + description: "partially update status of the specified namespace scoped custom\ + \ object" + operationId: "patchNamespacedCustomObjectStatus" + schemes: + - "https" + consumes: + - "application/merge-patch+json" + produces: + - "application/json" + - "application/yaml" + - "application/vnd.kubernetes.protobuf" + parameters: + - name: "group" + in: "path" + description: "the custom resource's group" + required: true + type: "string" + - name: "version" + in: "path" + description: "the custom resource's version" + required: true + type: "string" + - name: "namespace" + in: "path" + description: "The custom resource's namespace" + required: true + type: "string" + - name: "plural" + in: "path" + description: "the custom resource's plural name. For TPRs this would be lowercase\ + \ plural kind." + required: true + type: "string" + - name: "name" + in: "path" + description: "the custom object's name" + required: true + type: "string" + - in: "body" + name: "body" + required: true + schema: + type: "object" + description: "The JSON schema of the Resource to patch." + responses: + 200: + description: "OK" + schema: + type: "object" + properties: {} + 401: + description: "Unauthorized" + x-codegen-request-body-name: "body" securityDefinitions: BearerToken: description: "Bearer Token authentication" @@ -59365,25 +60471,21 @@ definitions: example: Raw: "Raw" exclusiveMaximum: true - patternProperties: - key: null + patternProperties: {} allOf: - null - null default: Raw: "Raw" - not: null oneOf: - null - null additionalItems: Allows: true - Schema: null id: "id" maxProperties: 1 exclusiveMinimum: true - definitions: - key: null + definitions: {} multipleOf: 3.616076749251911 maxItems: 0 format: "format" @@ -59395,7 +60497,6 @@ definitions: - Raw: "Raw" dependencies: key: - Schema: null Property: - "Property" - "Property" @@ -59405,20 +60506,17 @@ definitions: maximum: 5.962133916683182 additionalProperties: Allows: true - Schema: null externalDocs: description: "description" url: "url" $ref: "$ref" items: - Schema: null JSONSchemas: - null - null minimum: 9.301444243932576 maxLength: 6 - properties: - key: null + properties: {} v1beta2.DaemonSetUpdateStrategy: properties: rollingUpdate: @@ -83921,25 +85019,21 @@ definitions: example: Raw: "Raw" exclusiveMaximum: true - patternProperties: - key: null + patternProperties: {} allOf: - null - null default: Raw: "Raw" - not: null oneOf: - null - null additionalItems: Allows: true - Schema: null id: "id" maxProperties: 1 exclusiveMinimum: true - definitions: - key: null + definitions: {} multipleOf: 3.616076749251911 maxItems: 0 format: "format" @@ -83951,7 +85045,6 @@ definitions: - Raw: "Raw" dependencies: key: - Schema: null Property: - "Property" - "Property" @@ -83961,20 +85054,17 @@ definitions: maximum: 5.962133916683182 additionalProperties: Allows: true - Schema: null externalDocs: description: "description" url: "url" $ref: "$ref" items: - Schema: null JSONSchemas: - null - null minimum: 9.301444243932576 maxLength: 6 - properties: - key: null + properties: {} group: "group" status: conditions: @@ -116105,25 +117195,21 @@ definitions: example: Raw: "Raw" exclusiveMaximum: true - patternProperties: - key: null + patternProperties: {} allOf: - null - null default: Raw: "Raw" - not: null oneOf: - null - null additionalItems: Allows: true - Schema: null id: "id" maxProperties: 1 exclusiveMinimum: true - definitions: - key: null + definitions: {} multipleOf: 3.616076749251911 maxItems: 0 format: "format" @@ -116135,7 +117221,6 @@ definitions: - Raw: "Raw" dependencies: key: - Schema: null Property: - "Property" - "Property" @@ -116145,20 +117230,17 @@ definitions: maximum: 5.962133916683182 additionalProperties: Allows: true - Schema: null externalDocs: description: "description" url: "url" $ref: "$ref" items: - Schema: null JSONSchemas: - null - null minimum: 9.301444243932576 maxLength: 6 - properties: - key: null + properties: {} group: "group" v1beta2.DeploymentStrategy: properties: @@ -137050,15 +138132,15 @@ definitions: description: "NamespaceSelector decides whether to run the webhook on an object\ \ based on whether the namespace for that object matches the selector. If\ \ the object itself is a namespace, the matching is performed on object.metadata.labels.\ - \ If the object is other cluster scoped resource, it is not subjected to\ - \ the webhook.\n\nFor example, to run the webhook on any objects whose namespace\ - \ is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the\ - \ selector as follows: \"namespaceSelector\": {\n \"matchExpressions\"\ - : [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\"\ - ,\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n\ - \ ]\n}\n\nIf instead you want to only run the webhook on any objects whose\ - \ namespace is associated with the \"environment\" of \"prod\" or \"staging\"\ - ; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\"\ + \ If the object is another cluster scoped resource, it never skips the webhook.\n\ + \nFor example, to run the webhook on any objects whose namespace is not\ + \ associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector\ + \ as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n\ + \ \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"\ + values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf\ + \ instead you want to only run the webhook on any objects whose namespace\ + \ is associated with the \"environment\" of \"prod\" or \"staging\"; you\ + \ will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\"\ : [\n {\n \"key\": \"environment\",\n \"operator\": \"In\"\ ,\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n\ \ }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/\ @@ -157855,7 +158937,6 @@ definitions: description: "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps\ \ or an array of JSONSchemaProps. Mainly here for serialization purposes." example: - Schema: null JSONSchemas: - null - null @@ -167586,7 +168667,6 @@ definitions: \ Defaults to true for the boolean property." example: Allows: true - Schema: null v1beta1.CertificateSigningRequestList: required: - "items" @@ -197904,25 +198984,21 @@ definitions: example: Raw: "Raw" exclusiveMaximum: true - patternProperties: - key: null + patternProperties: {} allOf: - null - null default: Raw: "Raw" - not: null oneOf: - null - null additionalItems: Allows: true - Schema: null id: "id" maxProperties: 1 exclusiveMinimum: true - definitions: - key: null + definitions: {} multipleOf: 3.616076749251911 maxItems: 0 format: "format" @@ -197934,7 +199010,6 @@ definitions: - Raw: "Raw" dependencies: key: - Schema: null Property: - "Property" - "Property" @@ -197944,20 +199019,17 @@ definitions: maximum: 5.962133916683182 additionalProperties: Allows: true - Schema: null externalDocs: description: "description" url: "url" $ref: "$ref" items: - Schema: null JSONSchemas: - null - null minimum: 9.301444243932576 maxLength: 6 - properties: - key: null + properties: {} group: "group" status: conditions: @@ -198066,25 +199138,21 @@ definitions: example: Raw: "Raw" exclusiveMaximum: true - patternProperties: - key: null + patternProperties: {} allOf: - null - null default: Raw: "Raw" - not: null oneOf: - null - null additionalItems: Allows: true - Schema: null id: "id" maxProperties: 1 exclusiveMinimum: true - definitions: - key: null + definitions: {} multipleOf: 3.616076749251911 maxItems: 0 format: "format" @@ -198096,7 +199164,6 @@ definitions: - Raw: "Raw" dependencies: key: - Schema: null Property: - "Property" - "Property" @@ -198106,20 +199173,17 @@ definitions: maximum: 5.962133916683182 additionalProperties: Allows: true - Schema: null externalDocs: description: "description" url: "url" $ref: "$ref" items: - Schema: null JSONSchemas: - null - null minimum: 9.301444243932576 maxLength: 6 - properties: - key: null + properties: {} group: "group" status: conditions: @@ -213015,7 +214079,6 @@ definitions: description: "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string\ \ array." example: - Schema: null Property: - "Property" - "Property" @@ -225221,25 +226284,21 @@ definitions: example: Raw: "Raw" exclusiveMaximum: true - patternProperties: - key: null + patternProperties: {} allOf: - null - null default: Raw: "Raw" - not: null oneOf: - null - null additionalItems: Allows: true - Schema: null id: "id" maxProperties: 1 exclusiveMinimum: true - definitions: - key: null + definitions: {} multipleOf: 3.616076749251911 maxItems: 0 format: "format" @@ -225251,7 +226310,6 @@ definitions: - Raw: "Raw" dependencies: key: - Schema: null Property: - "Property" - "Property" @@ -225261,20 +226319,17 @@ definitions: maximum: 5.962133916683182 additionalProperties: Allows: true - Schema: null externalDocs: description: "description" url: "url" $ref: "$ref" items: - Schema: null JSONSchemas: - null - null minimum: 9.301444243932576 maxLength: 6 - properties: - key: null + properties: {} v1beta1.IDRange: required: - "max" diff --git a/kubernetes/tests/Instances.hs b/kubernetes/tests/Instances.hs index 0c9cc56..bae1d7f 100644 --- a/kubernetes/tests/Instances.hs +++ b/kubernetes/tests/Instances.hs @@ -2,8 +2,8 @@ module Instances where -import Kubernetes.Model -import Kubernetes.Core +import Kubernetes.OpenAPI.Model +import Kubernetes.OpenAPI.Core import qualified Data.Aeson as A import qualified Data.ByteString.Lazy as BL diff --git a/kubernetes/tests/PropMime.hs b/kubernetes/tests/PropMime.hs index a57272e..86060d7 100644 --- a/kubernetes/tests/PropMime.hs +++ b/kubernetes/tests/PropMime.hs @@ -15,7 +15,7 @@ import Test.QuickCheck import Test.QuickCheck.Property import Test.Hspec.QuickCheck (prop) -import Kubernetes.MimeTypes +import Kubernetes.OpenAPI.MimeTypes import ApproxEq diff --git a/kubernetes/tests/Test.hs b/kubernetes/tests/Test.hs index 83f1828..f850ebd 100644 --- a/kubernetes/tests/Test.hs +++ b/kubernetes/tests/Test.hs @@ -12,8 +12,8 @@ import Test.Hspec.QuickCheck import PropMime import Instances () -import Kubernetes.Model -import Kubernetes.MimeTypes +import Kubernetes.OpenAPI.Model +import Kubernetes.OpenAPI.MimeTypes main :: IO () main = diff --git a/settings b/settings index 5d7d022..570c820 100644 --- a/settings +++ b/settings @@ -24,3 +24,4 @@ export CLIENT_VERSION="0.1" # Name of the release package export PACKAGE_NAME="kubernetes" +export USERNAME="kubernetes" From 1f4868fbe199d1b4509fd9c307d916c79d7865b7 Mon Sep 17 00:00:00 2001 From: Shimin Guo Date: Tue, 26 Feb 2019 10:08:58 -0800 Subject: [PATCH 2/2] change package name for generated code to kubernetes-openapi-client-gen. adapt existing code to the change --- kubernetes-client-helper/package.yaml | 5 +---- .../src/Kubernetes/ClientHelper.hs | 20 +++++++++---------- kubernetes-watch/package.yaml | 2 +- .../src/Kubernetes/Watch/Client.hs | 10 +++++----- ...al => kubernetes-openapi-client-gen.cabal} | 8 ++++---- kubernetes/lib/Kubernetes/OpenAPI/Core.hs | 4 ++-- 6 files changed, 23 insertions(+), 26 deletions(-) rename kubernetes/{kubernetes-openapi.cabal => kubernetes-openapi-client-gen.cabal} (95%) diff --git a/kubernetes-client-helper/package.yaml b/kubernetes-client-helper/package.yaml index c706a02..a8c09ea 100644 --- a/kubernetes-client-helper/package.yaml +++ b/kubernetes-client-helper/package.yaml @@ -4,7 +4,7 @@ library: source-dirs: src dependencies: - base >=4.7 && <5.0 - - kubernetes == 0.1.0.0 + - kubernetes-openapi-client-gen == 0.1.0.0 - pem - x509 - tls @@ -19,6 +19,3 @@ dependencies: - bytestring >=0.10.0 && <0.11 - text >=0.11 && <1.3 - safe-exceptions <0.2 - - - diff --git a/kubernetes-client-helper/src/Kubernetes/ClientHelper.hs b/kubernetes-client-helper/src/Kubernetes/ClientHelper.hs index 9df227a..e503c48 100644 --- a/kubernetes-client-helper/src/Kubernetes/ClientHelper.hs +++ b/kubernetes-client-helper/src/Kubernetes/ClientHelper.hs @@ -2,8 +2,8 @@ module Kubernetes.ClientHelper where -import qualified Kubernetes.Core as K -import qualified Kubernetes.Model as K +import qualified Kubernetes.OpenAPI.Core as K +import qualified Kubernetes.OpenAPI.Model as K import Control.Exception.Safe (Exception, MonadThrow, throwM) import Control.Monad.IO.Class (MonadIO, liftIO) @@ -32,23 +32,23 @@ import qualified Network.TLS.Extra as TLS import System.Environment (getEnv) import System.X509 (getSystemCertificateStore) --- |Sets the master URI in the 'K.KubernetesConfig'. +-- |Sets the master URI in the 'K.KubernetesClientConfig'. setMasterURI :: T.Text -- ^ Master URI - -> K.KubernetesConfig - -> K.KubernetesConfig + -> K.KubernetesClientConfig + -> K.KubernetesClientConfig setMasterURI server kcfg = kcfg { K.configHost = (LazyB.fromStrict . T.encodeUtf8) server } -- |Disables the client-side auth methods validation. This is necessary if you are using client cert authentication. -disableValidateAuthMethods :: K.KubernetesConfig -> K.KubernetesConfig +disableValidateAuthMethods :: K.KubernetesClientConfig -> K.KubernetesClientConfig disableValidateAuthMethods kcfg = kcfg { K.configValidateAuthMethods = False } --- |Configures the 'K.KubernetesConfig' to use token authentication. +-- |Configures the 'K.KubernetesClientConfig' to use token authentication. setTokenAuth :: T.Text -- ^Authentication token - -> K.KubernetesConfig - -> K.KubernetesConfig + -> K.KubernetesClientConfig + -> K.KubernetesClientConfig setTokenAuth token kcfg = kcfg { K.configAuthMethods = [K.AnyAuthMethod (K.AuthApiKeyBearerToken $ "Bearer " <> token)] } @@ -124,7 +124,7 @@ loadPEMCerts p = do serviceAccountDir :: FilePath serviceAccountDir = "/var/run/secrets/kubernetes.io/serviceaccount" -cluster :: (MonadIO m, MonadThrow m) => m (NH.Manager, K.KubernetesConfig) +cluster :: (MonadIO m, MonadThrow m) => m (NH.Manager, K.KubernetesClientConfig) cluster = do caStore <- loadPEMCerts $ serviceAccountDir ++ "/ca.crt" defTlsParams <- liftIO defaultTLSClientParams diff --git a/kubernetes-watch/package.yaml b/kubernetes-watch/package.yaml index eae5d8a..68084de 100644 --- a/kubernetes-watch/package.yaml +++ b/kubernetes-watch/package.yaml @@ -10,6 +10,6 @@ dependencies: - mtl >=2.2.1 - streaming-bytestring >= 0.1.5 && < 0.2.0 - text >=0.11 && <1.3 - - kubernetes == 0.1.0.0 + - kubernetes-openapi-client-gen == 0.1.0.0 diff --git a/kubernetes-watch/src/Kubernetes/Watch/Client.hs b/kubernetes-watch/src/Kubernetes/Watch/Client.hs index 7f2dd76..9ae430c 100644 --- a/kubernetes-watch/src/Kubernetes/Watch/Client.hs +++ b/kubernetes-watch/src/Kubernetes/Watch/Client.hs @@ -13,10 +13,10 @@ import Data.Aeson import qualified Data.ByteString as B import qualified Data.ByteString.Streaming.Char8 as Q import qualified Data.Text as T -import Kubernetes.Core -import Kubernetes.Client -import Kubernetes.MimeTypes -import Kubernetes.Model (Watch(..)) +import Kubernetes.OpenAPI.Core +import Kubernetes.OpenAPI.Client +import Kubernetes.OpenAPI.MimeTypes +import Kubernetes.OpenAPI.Model (Watch(..)) import Network.HTTP.Client data WatchEvent a = WatchEvent @@ -66,7 +66,7 @@ Launching 'dispatchWatch' with the above we get a stream of endpoints data: dispatchWatch :: (HasOptionalParam req Watch, MimeType accept, MimeType contentType) => Manager - -> KubernetesConfig + -> KubernetesClientConfig -> KubernetesRequest req contentType resp accept -> (Q.ByteString IO () -> IO a) -> IO a diff --git a/kubernetes/kubernetes-openapi.cabal b/kubernetes/kubernetes-openapi-client-gen.cabal similarity index 95% rename from kubernetes/kubernetes-openapi.cabal rename to kubernetes/kubernetes-openapi-client-gen.cabal index cec78fd..a2fd134 100644 --- a/kubernetes/kubernetes-openapi.cabal +++ b/kubernetes/kubernetes-openapi-client-gen.cabal @@ -1,6 +1,6 @@ -name: kubernetes-openapi +name: kubernetes-openapi-client-gen version: 0.1.0.0 -synopsis: Auto-generated kubernetes-openapi API Client +synopsis: Auto-generated kubernetes-openapi-client-gen API Client description: . Client library for calling the Kubernetes API based on http-client. . @@ -57,7 +57,7 @@ library , vector >=0.10.9 && <0.13 , katip >=0.4 && < 0.6 other-modules: - Paths_kubernetes_openapi + Paths_kubernetes_openapi_client_gen exposed-modules: Kubernetes.OpenAPI Kubernetes.OpenAPI.API.Admissionregistration @@ -127,7 +127,7 @@ test-suite tests tests ghc-options: -Wall -fno-warn-orphans build-depends: - kubernetes-openapi + kubernetes-openapi-client-gen , QuickCheck , aeson , base >=4.7 && <5.0 diff --git a/kubernetes/lib/Kubernetes/OpenAPI/Core.hs b/kubernetes/lib/Kubernetes/OpenAPI/Core.hs index f402b68..b09187c 100644 --- a/kubernetes/lib/Kubernetes/OpenAPI/Core.hs +++ b/kubernetes/lib/Kubernetes/OpenAPI/Core.hs @@ -95,14 +95,14 @@ instance P.Show KubernetesClientConfig where -- -- configUserAgent: -- --- @"kubernetes-openapi/0.1.0.0"@ +-- @"kubernetes-openapi-client-gen/0.1.0.0"@ -- newConfig :: IO KubernetesClientConfig newConfig = do logCxt <- initLogContext return $ KubernetesClientConfig { configHost = "https://localhost" - , configUserAgent = "kubernetes-openapi/0.1.0.0" + , configUserAgent = "kubernetes-openapi-client-gen/0.1.0.0" , configLogExecWithContext = runDefaultLogExecWithContext , configLogContext = logCxt , configAuthMethods = []