new package name and module base

This commit is contained in:
Shimin Guo
2019-01-30 13:04:51 -08:00
parent 6333558daa
commit 9ac01d2c31
71 changed files with 4371 additions and 1759 deletions

View File

@@ -1,2 +1,2 @@
Requested Commit: 3930b5b0a109327b94baad0b8d1eaf25f11ee035 Requested Commit: d0e2d7684dd3258233c3e4d838dcd7bf44055869
Actual Commit: 3930b5b0a109327b94baad0b8d1eaf25f11ee035 Actual Commit: d0e2d7684dd3258233c3e4d838dcd7bf44055869

View File

@@ -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 <smguo2001@gmail.com>
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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Admissionregistration Module : Kubernetes.OpenAPI.API.Admissionregistration
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Admissionregistration
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AdmissionregistrationV1alpha1 Module : Kubernetes.OpenAPI.API.AdmissionregistrationV1alpha1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AdmissionregistrationV1alpha1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AdmissionregistrationV1beta1 Module : Kubernetes.OpenAPI.API.AdmissionregistrationV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AdmissionregistrationV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Apiextensions Module : Kubernetes.OpenAPI.API.Apiextensions
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Apiextensions
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.ApiextensionsV1beta1 Module : Kubernetes.OpenAPI.API.ApiextensionsV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.ApiextensionsV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Apiregistration Module : Kubernetes.OpenAPI.API.Apiregistration
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Apiregistration
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.ApiregistrationV1beta1 Module : Kubernetes.OpenAPI.API.ApiregistrationV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.ApiregistrationV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Apis Module : Kubernetes.OpenAPI.API.Apis
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Apis
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Apps Module : Kubernetes.OpenAPI.API.Apps
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Apps
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AppsV1 Module : Kubernetes.OpenAPI.API.AppsV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AppsV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AppsV1beta1 Module : Kubernetes.OpenAPI.API.AppsV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AppsV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AppsV1beta2 Module : Kubernetes.OpenAPI.API.AppsV1beta2
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AppsV1beta2
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Authentication Module : Kubernetes.OpenAPI.API.Authentication
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Authentication
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AuthenticationV1 Module : Kubernetes.OpenAPI.API.AuthenticationV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AuthenticationV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AuthenticationV1beta1 Module : Kubernetes.OpenAPI.API.AuthenticationV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AuthenticationV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Authorization Module : Kubernetes.OpenAPI.API.Authorization
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Authorization
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AuthorizationV1 Module : Kubernetes.OpenAPI.API.AuthorizationV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AuthorizationV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AuthorizationV1beta1 Module : Kubernetes.OpenAPI.API.AuthorizationV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AuthorizationV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Autoscaling Module : Kubernetes.OpenAPI.API.Autoscaling
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Autoscaling
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AutoscalingV1 Module : Kubernetes.OpenAPI.API.AutoscalingV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AutoscalingV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.AutoscalingV2beta1 Module : Kubernetes.OpenAPI.API.AutoscalingV2beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.AutoscalingV2beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Batch Module : Kubernetes.OpenAPI.API.Batch
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Batch
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.BatchV1 Module : Kubernetes.OpenAPI.API.BatchV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.BatchV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.BatchV1beta1 Module : Kubernetes.OpenAPI.API.BatchV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.BatchV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.BatchV2alpha1 Module : Kubernetes.OpenAPI.API.BatchV2alpha1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.BatchV2alpha1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Certificates Module : Kubernetes.OpenAPI.API.Certificates
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Certificates
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.CertificatesV1beta1 Module : Kubernetes.OpenAPI.API.CertificatesV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.CertificatesV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Core Module : Kubernetes.OpenAPI.API.Core
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Core
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.CoreV1 Module : Kubernetes.OpenAPI.API.CoreV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.CoreV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -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

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Events Module : Kubernetes.OpenAPI.API.Events
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Events
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.EventsV1beta1 Module : Kubernetes.OpenAPI.API.EventsV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.EventsV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Extensions Module : Kubernetes.OpenAPI.API.Extensions
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Extensions
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.ExtensionsV1beta1 Module : Kubernetes.OpenAPI.API.ExtensionsV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.ExtensionsV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Logs Module : Kubernetes.OpenAPI.API.Logs
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Logs
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Networking Module : Kubernetes.OpenAPI.API.Networking
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Networking
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.NetworkingV1 Module : Kubernetes.OpenAPI.API.NetworkingV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.NetworkingV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Policy Module : Kubernetes.OpenAPI.API.Policy
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Policy
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.PolicyV1beta1 Module : Kubernetes.OpenAPI.API.PolicyV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.PolicyV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.RbacAuthorization Module : Kubernetes.OpenAPI.API.RbacAuthorization
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.RbacAuthorization
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.RbacAuthorizationV1 Module : Kubernetes.OpenAPI.API.RbacAuthorizationV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.RbacAuthorizationV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.RbacAuthorizationV1alpha1 Module : Kubernetes.OpenAPI.API.RbacAuthorizationV1alpha1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.RbacAuthorizationV1alpha1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.RbacAuthorizationV1beta1 Module : Kubernetes.OpenAPI.API.RbacAuthorizationV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.RbacAuthorizationV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Scheduling Module : Kubernetes.OpenAPI.API.Scheduling
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Scheduling
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.SchedulingV1alpha1 Module : Kubernetes.OpenAPI.API.SchedulingV1alpha1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.SchedulingV1alpha1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Settings Module : Kubernetes.OpenAPI.API.Settings
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Settings
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.SettingsV1alpha1 Module : Kubernetes.OpenAPI.API.SettingsV1alpha1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.SettingsV1alpha1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Storage Module : Kubernetes.OpenAPI.API.Storage
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Storage
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.StorageV1 Module : Kubernetes.OpenAPI.API.StorageV1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.StorageV1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.StorageV1alpha1 Module : Kubernetes.OpenAPI.API.StorageV1alpha1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.StorageV1alpha1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.StorageV1beta1 Module : Kubernetes.OpenAPI.API.StorageV1beta1
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.StorageV1beta1
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.API.Version Module : Kubernetes.OpenAPI.API.Version
-} -}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
@@ -19,11 +19,11 @@ Module : Kubernetes.API.Version
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Model as M import Kubernetes.OpenAPI.Model as M
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString as B import qualified Data.ByteString as B
@@ -66,9 +66,8 @@ import qualified Prelude as P
-- AuthMethod: 'AuthApiKeyBearerToken' -- AuthMethod: 'AuthApiKeyBearerToken'
-- --
getCode getCode
:: Accept accept -- ^ request accept ('MimeType') :: KubernetesRequest GetCode MimeNoContent VersionInfo MimeJSON
-> KubernetesRequest GetCode MimeNoContent VersionInfo accept getCode =
getCode _ =
_mkRequest "GET" ["/version/"] _mkRequest "GET" ["/version/"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken) `_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.Client Module : Kubernetes.OpenAPI.Client
-} -}
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
@@ -22,11 +22,11 @@ Module : Kubernetes.Client
{-# LANGUAGE DeriveTraversable #-} {-# LANGUAGE DeriveTraversable #-}
{-# OPTIONS_GHC -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-unused-binds -fno-warn-unused-imports #-}
module Kubernetes.Client where module Kubernetes.OpenAPI.Client where
import Kubernetes.Core import Kubernetes.OpenAPI.Core
import Kubernetes.Logging import Kubernetes.OpenAPI.Logging
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import qualified Control.Exception.Safe as E import qualified Control.Exception.Safe as E
import qualified Control.Monad.IO.Class as P import qualified Control.Monad.IO.Class as P
@@ -57,7 +57,7 @@ import GHC.Exts (IsString(..))
dispatchLbs dispatchLbs
:: (Produces req accept, MimeType contentType) :: (Produces req accept, MimeType contentType)
=> NH.Manager -- ^ http-client Connection manager => NH.Manager -- ^ http-client Connection manager
-> KubernetesConfig -- ^ config -> KubernetesClientConfig -- ^ config
-> KubernetesRequest req contentType res accept -- ^ request -> KubernetesRequest req contentType res accept -- ^ request
-> IO (NH.Response BCL.ByteString) -- ^ response -> IO (NH.Response BCL.ByteString) -- ^ response
dispatchLbs manager config request = do dispatchLbs manager config request = do
@@ -84,7 +84,7 @@ data MimeError =
dispatchMime dispatchMime
:: forall req contentType res accept. (Produces req accept, MimeUnrender accept res, MimeType contentType) :: forall req contentType res accept. (Produces req accept, MimeUnrender accept res, MimeType contentType)
=> NH.Manager -- ^ http-client Connection manager => NH.Manager -- ^ http-client Connection manager
-> KubernetesConfig -- ^ config -> KubernetesClientConfig -- ^ config
-> KubernetesRequest req contentType res accept -- ^ request -> KubernetesRequest req contentType res accept -- ^ request
-> IO (MimeResult res) -- ^ response -> IO (MimeResult res) -- ^ response
dispatchMime manager config request = do dispatchMime manager config request = do
@@ -108,7 +108,7 @@ dispatchMime manager config request = do
dispatchMime' dispatchMime'
:: (Produces req accept, MimeUnrender accept res, MimeType contentType) :: (Produces req accept, MimeUnrender accept res, MimeType contentType)
=> NH.Manager -- ^ http-client Connection manager => NH.Manager -- ^ http-client Connection manager
-> KubernetesConfig -- ^ config -> KubernetesClientConfig -- ^ config
-> KubernetesRequest req contentType res accept -- ^ request -> KubernetesRequest req contentType res accept -- ^ request
-> IO (Either MimeError res) -- ^ response -> IO (Either MimeError res) -- ^ response
dispatchMime' manager config request = do dispatchMime' manager config request = do
@@ -121,7 +121,7 @@ dispatchMime' manager config request = do
dispatchLbsUnsafe dispatchLbsUnsafe
:: (MimeType accept, MimeType contentType) :: (MimeType accept, MimeType contentType)
=> NH.Manager -- ^ http-client Connection manager => NH.Manager -- ^ http-client Connection manager
-> KubernetesConfig -- ^ config -> KubernetesClientConfig -- ^ config
-> KubernetesRequest req contentType res accept -- ^ request -> KubernetesRequest req contentType res accept -- ^ request
-> IO (NH.Response BCL.ByteString) -- ^ response -> IO (NH.Response BCL.ByteString) -- ^ response
dispatchLbsUnsafe manager config request = do dispatchLbsUnsafe manager config request = do
@@ -131,7 +131,7 @@ dispatchLbsUnsafe manager config request = do
-- | dispatch an InitRequest -- | dispatch an InitRequest
dispatchInitUnsafe dispatchInitUnsafe
:: NH.Manager -- ^ http-client Connection manager :: NH.Manager -- ^ http-client Connection manager
-> KubernetesConfig -- ^ config -> KubernetesClientConfig -- ^ config
-> InitRequest req contentType res accept -- ^ init request -> InitRequest req contentType res accept -- ^ init request
-> IO (NH.Response BCL.ByteString) -- ^ response -> IO (NH.Response BCL.ByteString) -- ^ response
dispatchInitUnsafe manager config (InitRequest req) = do 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 -- | Build an http-client 'Request' record from the supplied config and request
_toInitRequest _toInitRequest
:: (MimeType accept, MimeType contentType) :: (MimeType accept, MimeType contentType)
=> KubernetesConfig -- ^ config => KubernetesClientConfig -- ^ config
-> KubernetesRequest req contentType res accept -- ^ request -> KubernetesRequest req contentType res accept -- ^ request
-> IO (InitRequest req contentType res accept) -- ^ initialized request -> IO (InitRequest req contentType res accept) -- ^ initialized request
_toInitRequest config req0 = _toInitRequest config req0 =
@@ -207,11 +207,11 @@ modifyInitRequestM (InitRequest req) f = fmap InitRequest (f req)
-- | Run a block using the configured logger instance -- | Run a block using the configured logger instance
runConfigLog runConfigLog
:: P.MonadIO m :: P.MonadIO m
=> KubernetesConfig -> LogExec m => KubernetesClientConfig -> LogExec m
runConfigLog config = configLogExecWithContext config (configLogContext config) runConfigLog config = configLogExecWithContext config (configLogContext config)
-- | Run a block using the configured logger instance (logs exceptions) -- | Run a block using the configured logger instance (logs exceptions)
runConfigLogWithExceptions runConfigLogWithExceptions
:: (E.MonadCatch m, P.MonadIO m) :: (E.MonadCatch m, P.MonadIO m)
=> T.Text -> KubernetesConfig -> LogExec m => T.Text -> KubernetesClientConfig -> LogExec m
runConfigLogWithExceptions src config = runConfigLog config . logExceptions src runConfigLogWithExceptions src config = runConfigLog config . logExceptions src

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.Core Module : Kubernetes.OpenAPI.Core
-} -}
{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveDataTypeable #-}
@@ -25,10 +25,10 @@ Module : Kubernetes.Core
{-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeFamilies #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds #-} {-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds #-}
module Kubernetes.Core where module Kubernetes.OpenAPI.Core where
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.Logging import Kubernetes.OpenAPI.Logging
import qualified Control.Arrow as P (left) import qualified Control.Arrow as P (left)
import qualified Control.DeepSeq as NF import qualified Control.DeepSeq as NF
@@ -67,10 +67,10 @@ import Data.Monoid ((<>))
import Data.Text (Text) import Data.Text (Text)
import Prelude (($), (.), (<$>), (<*>), Maybe(..), Bool(..), Char, String, fmap, mempty, pure, return, show, IO, Monad, Functor) 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 { configHost :: BCL.ByteString -- ^ host supplied in the Request
, configUserAgent :: Text -- ^ user-agent supplied in the Request , configUserAgent :: Text -- ^ user-agent supplied in the Request
, configLogExecWithContext :: LogExecWithContext -- ^ Run a block using a Logger instance , configLogExecWithContext :: LogExecWithContext -- ^ Run a block using a Logger instance
@@ -80,14 +80,14 @@ data KubernetesConfig = KubernetesConfig
} }
-- | display the config -- | display the config
instance P.Show KubernetesConfig where instance P.Show KubernetesClientConfig where
show c = show c =
T.printf T.printf
"{ configHost = %v, configUserAgent = %v, ..}" "{ configHost = %v, configUserAgent = %v, ..}"
(show (configHost c)) (show (configHost c))
(show (configUserAgent c)) (show (configUserAgent c))
-- | constructs a default KubernetesConfig -- | constructs a default KubernetesClientConfig
-- --
-- configHost: -- configHost:
-- --
@@ -95,14 +95,14 @@ instance P.Show KubernetesConfig where
-- --
-- configUserAgent: -- configUserAgent:
-- --
-- @"swagger-haskell-http-client/1.0.0"@ -- @"kubernetes-openapi/0.1.0.0"@
-- --
newConfig :: IO KubernetesConfig newConfig :: IO KubernetesClientConfig
newConfig = do newConfig = do
logCxt <- initLogContext logCxt <- initLogContext
return $ KubernetesConfig return $ KubernetesClientConfig
{ configHost = "https://localhost" { configHost = "https://localhost"
, configUserAgent = "swagger-haskell-http-client/1.0.0" , configUserAgent = "kubernetes-openapi/0.1.0.0"
, configLogExecWithContext = runDefaultLogExecWithContext , configLogExecWithContext = runDefaultLogExecWithContext
, configLogContext = logCxt , configLogContext = logCxt
, configAuthMethods = [] , configAuthMethods = []
@@ -110,24 +110,24 @@ newConfig = do
} }
-- | updates config use AuthMethod on matching requests -- | updates config use AuthMethod on matching requests
addAuthMethod :: AuthMethod auth => KubernetesConfig -> auth -> KubernetesConfig addAuthMethod :: AuthMethod auth => KubernetesClientConfig -> auth -> KubernetesClientConfig
addAuthMethod config@KubernetesConfig {configAuthMethods = as} a = addAuthMethod config@KubernetesClientConfig {configAuthMethods = as} a =
config { configAuthMethods = AnyAuthMethod a : as} config { configAuthMethods = AnyAuthMethod a : as}
-- | updates the config to use stdout logging -- | updates the config to use stdout logging
withStdoutLogging :: KubernetesConfig -> IO KubernetesConfig withStdoutLogging :: KubernetesClientConfig -> IO KubernetesClientConfig
withStdoutLogging p = do withStdoutLogging p = do
logCxt <- stdoutLoggingContext (configLogContext p) logCxt <- stdoutLoggingContext (configLogContext p)
return $ p { configLogExecWithContext = stdoutLoggingExec, configLogContext = logCxt } return $ p { configLogExecWithContext = stdoutLoggingExec, configLogContext = logCxt }
-- | updates the config to use stderr logging -- | updates the config to use stderr logging
withStderrLogging :: KubernetesConfig -> IO KubernetesConfig withStderrLogging :: KubernetesClientConfig -> IO KubernetesClientConfig
withStderrLogging p = do withStderrLogging p = do
logCxt <- stderrLoggingContext (configLogContext p) logCxt <- stderrLoggingContext (configLogContext p)
return $ p { configLogExecWithContext = stderrLoggingExec, configLogContext = logCxt } return $ p { configLogExecWithContext = stderrLoggingExec, configLogContext = logCxt }
-- | updates the config to disable logging -- | updates the config to disable logging
withNoLogging :: KubernetesConfig -> KubernetesConfig withNoLogging :: KubernetesClientConfig -> KubernetesClientConfig
withNoLogging p = p { configLogExecWithContext = runNullLogExec} withNoLogging p = p { configLogExecWithContext = runNullLogExec}
-- * KubernetesRequest -- * KubernetesRequest
@@ -367,7 +367,7 @@ _toCollA' c encode one xs = case c of
class P.Typeable a => class P.Typeable a =>
AuthMethod a where AuthMethod a where
applyAuthMethod applyAuthMethod
:: KubernetesConfig :: KubernetesClientConfig
-> a -> a
-> KubernetesRequest req contentType res accept -> KubernetesRequest req contentType res accept
-> IO (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 -- | apply all matching AuthMethods in config to request
_applyAuthMethods _applyAuthMethods
:: KubernetesRequest req contentType res accept :: KubernetesRequest req contentType res accept
-> KubernetesConfig -> KubernetesClientConfig
-> IO (KubernetesRequest req contentType res accept) -> IO (KubernetesRequest req contentType res accept)
_applyAuthMethods req config@(KubernetesConfig {configAuthMethods = as}) = _applyAuthMethods req config@(KubernetesClientConfig {configAuthMethods = as}) =
foldlM go req as foldlM go req as
where where
go r (AnyAuthMethod a) = applyAuthMethod config a r go r (AnyAuthMethod a) = applyAuthMethod config a r

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.Logging Module : Kubernetes.OpenAPI.Logging
Katip Logging functions Katip Logging functions
-} -}
@@ -17,7 +17,7 @@ Katip Logging functions
{-# LANGUAGE RankNTypes #-} {-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ScopedTypeVariables #-}
module Kubernetes.Logging where module Kubernetes.OpenAPI.Logging where
import qualified Control.Exception.Safe as E import qualified Control.Exception.Safe as E
import qualified Control.Monad.IO.Class as P import qualified Control.Monad.IO.Class as P
@@ -50,7 +50,7 @@ type LogLevel = LG.Severity
-- | the default log environment -- | the default log environment
initLogContext :: IO LogContext initLogContext :: IO LogContext
initLogContext = LG.initLogEnv "Kubernetes" "dev" initLogContext = LG.initLogEnv "Kubernetes.OpenAPI" "dev"
-- | Runs a Katip logging block with the Log environment -- | Runs a Katip logging block with the Log environment
runDefaultLogExecWithContext :: LogExecWithContext runDefaultLogExecWithContext :: LogExecWithContext

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.MimeTypes Module : Kubernetes.OpenAPI.MimeTypes
-} -}
{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE ConstraintKinds #-}
@@ -21,7 +21,7 @@ Module : Kubernetes.MimeTypes
{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ScopedTypeVariables #-}
{-# OPTIONS_GHC -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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 Control.Arrow as P (left)
import qualified Data.Aeson as A import qualified Data.Aeson as A

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.Model Module : Kubernetes.OpenAPI.Model
-} -}
{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveDataTypeable #-}
@@ -26,10 +26,10 @@ Module : Kubernetes.Model
{-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeFamilies #-}
{-# OPTIONS_GHC -fno-warn-unused-matches -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.OpenAPI.Core
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import Data.Aeson ((.:),(.:!),(.:?),(.=)) import Data.Aeson ((.:),(.:!),(.:?),(.=))
@@ -19097,7 +19097,7 @@ data V1beta1Webhook = V1beta1Webhook
{ v1beta1WebhookClientConfig :: !(V1beta1WebhookClientConfig) -- ^ /Required/ "clientConfig" - ClientConfig defines how to communicate with the hook. Required { 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. , 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 \&quot;imagepolicy\&quot; is the name of the webhook, and kubernetes.io is the name of the organization. Required. , v1beta1WebhookName :: !(Text) -- ^ /Required/ "name" - The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \&quot;imagepolicy\&quot; 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 \&quot;runlevel\&quot; of \&quot;0\&quot; or \&quot;1\&quot;; you will set the selector as follows: \&quot;namespaceSelector\&quot;: { \&quot;matchExpressions\&quot;: [ { \&quot;key\&quot;: \&quot;runlevel\&quot;, \&quot;operator\&quot;: \&quot;NotIn\&quot;, \&quot;values\&quot;: [ \&quot;0\&quot;, \&quot;1\&quot; ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \&quot;environment\&quot; of \&quot;prod\&quot; or \&quot;staging\&quot;; you will set the selector as follows: \&quot;namespaceSelector\&quot;: { \&quot;matchExpressions\&quot;: [ { \&quot;key\&quot;: \&quot;environment\&quot;, \&quot;operator\&quot;: \&quot;In\&quot;, \&quot;values\&quot;: [ \&quot;prod\&quot;, \&quot;staging\&quot; ] } ] } 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 \&quot;runlevel\&quot; of \&quot;0\&quot; or \&quot;1\&quot;; you will set the selector as follows: \&quot;namespaceSelector\&quot;: { \&quot;matchExpressions\&quot;: [ { \&quot;key\&quot;: \&quot;runlevel\&quot;, \&quot;operator\&quot;: \&quot;NotIn\&quot;, \&quot;values\&quot;: [ \&quot;0\&quot;, \&quot;1\&quot; ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \&quot;environment\&quot; of \&quot;prod\&quot; or \&quot;staging\&quot;; you will set the selector as follows: \&quot;namespaceSelector\&quot;: { \&quot;matchExpressions\&quot;: [ { \&quot;key\&quot;: \&quot;environment\&quot;, \&quot;operator\&quot;: \&quot;In\&quot;, \&quot;values\&quot;: [ \&quot;prod\&quot;, \&quot;staging\&quot; ] } ] } 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. , 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) } deriving (P.Show, P.Eq, P.Typeable)

View File

@@ -4,12 +4,12 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0 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) Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
-} -}
{-| {-|
Module : Kubernetes.Lens Module : Kubernetes.OpenAPI.Lens
-} -}
{-# LANGUAGE KindSignatures #-} {-# LANGUAGE KindSignatures #-}
@@ -18,7 +18,7 @@ Module : Kubernetes.Lens
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE RecordWildCards #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-matches -fno-warn-unused-binds -fno-warn-unused-imports #-} {-# 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.Aeson as A
import qualified Data.ByteString.Lazy as BL 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 Prelude (($), (.),(<$>),(<*>),(=<<),Maybe(..),Bool(..),Char,Double,FilePath,Float,Int,Integer,String,fmap,undefined,mempty,maybe,pure,Monad,Applicative,Functor)
import qualified Prelude as P import qualified Prelude as P
import Kubernetes.Model import Kubernetes.OpenAPI.Model
import Kubernetes.Core import Kubernetes.OpenAPI.Core
-- * AdmissionregistrationV1beta1ServiceReference -- * AdmissionregistrationV1beta1ServiceReference

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"title": "Kubernetes", "title": "Kubernetes",
"version": "v1.9.2" "version": "v1.9.12"
}, },
"paths": { "paths": {
"/api/": { "/api/": {
@@ -69812,7 +69812,7 @@
"type": "string" "type": "string"
}, },
"namespaceSelector": { "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" "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
}, },
"rules": { "rules": {

File diff suppressed because it is too large Load Diff

View File

@@ -2,8 +2,8 @@
module Instances where module Instances where
import Kubernetes.Model import Kubernetes.OpenAPI.Model
import Kubernetes.Core import Kubernetes.OpenAPI.Core
import qualified Data.Aeson as A import qualified Data.Aeson as A
import qualified Data.ByteString.Lazy as BL import qualified Data.ByteString.Lazy as BL

View File

@@ -15,7 +15,7 @@ import Test.QuickCheck
import Test.QuickCheck.Property import Test.QuickCheck.Property
import Test.Hspec.QuickCheck (prop) import Test.Hspec.QuickCheck (prop)
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
import ApproxEq import ApproxEq

View File

@@ -12,8 +12,8 @@ import Test.Hspec.QuickCheck
import PropMime import PropMime
import Instances () import Instances ()
import Kubernetes.Model import Kubernetes.OpenAPI.Model
import Kubernetes.MimeTypes import Kubernetes.OpenAPI.MimeTypes
main :: IO () main :: IO ()
main = main =

View File

@@ -24,3 +24,4 @@ export CLIENT_VERSION="0.1"
# Name of the release package # Name of the release package
export PACKAGE_NAME="kubernetes" export PACKAGE_NAME="kubernetes"
export USERNAME="kubernetes"