{-
   Kubernetes

   No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

   OpenAPI Version: 3.0.1
   Kubernetes API version: release-1.16
   Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

{-|
Module : Kubernetes.OpenAPI.API.AppsV1beta1
-}

{-# 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.AppsV1beta1 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


-- ** AppsV1beta1

-- *** createNamespacedControllerRevision

-- | @POST \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions@
-- 
-- create a ControllerRevision
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedControllerRevision 
  :: (Consumes CreateNamespacedControllerRevision contentType, MimeRender contentType V1beta1ControllerRevision)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1ControllerRevision -- ^ "body"
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedControllerRevision contentType V1beta1ControllerRevision accept
createNamespacedControllerRevision :: ContentType contentType
-> Accept accept
-> V1beta1ControllerRevision
-> Namespace
-> KubernetesRequest
     CreateNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
createNamespacedControllerRevision ContentType contentType
_  Accept accept
_ V1beta1ControllerRevision
body (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/controllerrevisions"]
    KubernetesRequest
  CreateNamespacedControllerRevision
  contentType
  V1beta1ControllerRevision
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  CreateNamespacedControllerRevision
  contentType
  V1beta1ControllerRevision
  accept
-> V1beta1ControllerRevision
-> KubernetesRequest
     CreateNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` V1beta1ControllerRevision
body

data CreateNamespacedControllerRevision 
instance HasBodyParam CreateNamespacedControllerRevision V1beta1ControllerRevision 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedControllerRevision Pretty where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
-> Pretty
-> KubernetesRequest
     CreateNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
req KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedControllerRevision DryRun where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
-> DryRun
-> KubernetesRequest
     CreateNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
req KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam CreateNamespacedControllerRevision FieldManager where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
req KubernetesRequest
  CreateNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedControllerRevision mtype

-- | @application/json@
instance Produces CreateNamespacedControllerRevision MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces CreateNamespacedControllerRevision MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces CreateNamespacedControllerRevision MimeYaml


-- *** createNamespacedDeployment

-- | @POST \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments@
-- 
-- create a Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedDeployment 
  :: (Consumes CreateNamespacedDeployment contentType, MimeRender contentType AppsV1beta1Deployment)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> AppsV1beta1Deployment -- ^ "body"
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedDeployment contentType AppsV1beta1Deployment accept
createNamespacedDeployment :: ContentType contentType
-> Accept accept
-> AppsV1beta1Deployment
-> Namespace
-> KubernetesRequest
     CreateNamespacedDeployment contentType AppsV1beta1Deployment accept
createNamespacedDeployment ContentType contentType
_  Accept accept
_ AppsV1beta1Deployment
body (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedDeployment contentType AppsV1beta1Deployment accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments"]
    KubernetesRequest
  CreateNamespacedDeployment contentType AppsV1beta1Deployment accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedDeployment contentType AppsV1beta1Deployment accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  CreateNamespacedDeployment contentType AppsV1beta1Deployment accept
-> AppsV1beta1Deployment
-> KubernetesRequest
     CreateNamespacedDeployment contentType AppsV1beta1Deployment accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` AppsV1beta1Deployment
body

data CreateNamespacedDeployment 
instance HasBodyParam CreateNamespacedDeployment AppsV1beta1Deployment 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDeployment Pretty where
  applyOptionalParam :: KubernetesRequest CreateNamespacedDeployment contentType res accept
-> Pretty
-> KubernetesRequest
     CreateNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedDeployment contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest CreateNamespacedDeployment contentType res accept
req KubernetesRequest CreateNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedDeployment DryRun where
  applyOptionalParam :: KubernetesRequest CreateNamespacedDeployment contentType res accept
-> DryRun
-> KubernetesRequest
     CreateNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedDeployment contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest CreateNamespacedDeployment contentType res accept
req KubernetesRequest CreateNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam CreateNamespacedDeployment FieldManager where
  applyOptionalParam :: KubernetesRequest CreateNamespacedDeployment contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedDeployment contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest CreateNamespacedDeployment contentType res accept
req KubernetesRequest CreateNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedDeployment mtype

-- | @application/json@
instance Produces CreateNamespacedDeployment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces CreateNamespacedDeployment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces CreateNamespacedDeployment MimeYaml


-- *** createNamespacedDeploymentRollback

-- | @POST \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/rollback@
-- 
-- create rollback of a Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedDeploymentRollback 
  :: (Consumes CreateNamespacedDeploymentRollback contentType, MimeRender contentType AppsV1beta1DeploymentRollback)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> AppsV1beta1DeploymentRollback -- ^ "body"
  -> Name -- ^ "name" -  name of the DeploymentRollback
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedDeploymentRollback contentType V1Status accept
createNamespacedDeploymentRollback :: ContentType contentType
-> Accept accept
-> AppsV1beta1DeploymentRollback
-> Name
-> Namespace
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType V1Status accept
createNamespacedDeploymentRollback ContentType contentType
_  Accept accept
_ AppsV1beta1DeploymentRollback
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/rollback"]
    KubernetesRequest
  CreateNamespacedDeploymentRollback contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType V1Status accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  CreateNamespacedDeploymentRollback contentType V1Status accept
-> AppsV1beta1DeploymentRollback
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType V1Status accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` AppsV1beta1DeploymentRollback
body

data CreateNamespacedDeploymentRollback 
instance HasBodyParam CreateNamespacedDeploymentRollback AppsV1beta1DeploymentRollback 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedDeploymentRollback DryRun where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
-> DryRun
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
req KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam CreateNamespacedDeploymentRollback FieldManager where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
req KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDeploymentRollback Pretty where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
-> Pretty
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
req KubernetesRequest
  CreateNamespacedDeploymentRollback contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedDeploymentRollback mtype

-- | @application/json@
instance Produces CreateNamespacedDeploymentRollback MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces CreateNamespacedDeploymentRollback MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces CreateNamespacedDeploymentRollback MimeYaml


-- *** createNamespacedStatefulSet

-- | @POST \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets@
-- 
-- create a StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedStatefulSet 
  :: (Consumes CreateNamespacedStatefulSet contentType, MimeRender contentType V1beta1StatefulSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1StatefulSet -- ^ "body"
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedStatefulSet contentType V1beta1StatefulSet accept
createNamespacedStatefulSet :: ContentType contentType
-> Accept accept
-> V1beta1StatefulSet
-> Namespace
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType V1beta1StatefulSet accept
createNamespacedStatefulSet ContentType contentType
_  Accept accept
_ V1beta1StatefulSet
body (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets"]
    KubernetesRequest
  CreateNamespacedStatefulSet contentType V1beta1StatefulSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  CreateNamespacedStatefulSet contentType V1beta1StatefulSet accept
-> V1beta1StatefulSet
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` V1beta1StatefulSet
body

data CreateNamespacedStatefulSet 
instance HasBodyParam CreateNamespacedStatefulSet V1beta1StatefulSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedStatefulSet Pretty where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
-> Pretty
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
req KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedStatefulSet DryRun where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
-> DryRun
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
req KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam CreateNamespacedStatefulSet FieldManager where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
req KubernetesRequest
  CreateNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedStatefulSet mtype

-- | @application/json@
instance Produces CreateNamespacedStatefulSet MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces CreateNamespacedStatefulSet MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces CreateNamespacedStatefulSet MimeYaml


-- *** deleteCollectionNamespacedControllerRevision

-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions@
-- 
-- delete collection of ControllerRevision
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionNamespacedControllerRevision 
  :: (Consumes DeleteCollectionNamespacedControllerRevision contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteCollectionNamespacedControllerRevision contentType V1Status accept
deleteCollectionNamespacedControllerRevision :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision
     contentType
     V1Status
     accept
deleteCollectionNamespacedControllerRevision ContentType contentType
_  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision
     contentType
     V1Status
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/controllerrevisions"]
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision
  contentType
  V1Status
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision
     contentType
     V1Status
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteCollectionNamespacedControllerRevision 
instance HasBodyParam DeleteCollectionNamespacedControllerRevision V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Continue where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> Continue
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision FieldSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> FieldSelector
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /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 DeleteCollectionNamespacedControllerRevision GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision LabelSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> LabelSelector
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Limit where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> Limit
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 DeleteCollectionNamespacedControllerRevision OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 DeleteCollectionNamespacedControllerRevision ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> ResourceVersion
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 DeleteCollectionNamespacedControllerRevision TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteCollectionNamespacedControllerRevision mtype

-- | @application/json@
instance Produces DeleteCollectionNamespacedControllerRevision MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteCollectionNamespacedControllerRevision MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteCollectionNamespacedControllerRevision MimeYaml


-- *** deleteCollectionNamespacedDeployment

-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments@
-- 
-- delete collection of Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionNamespacedDeployment 
  :: (Consumes DeleteCollectionNamespacedDeployment contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteCollectionNamespacedDeployment contentType V1Status accept
deleteCollectionNamespacedDeployment :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType V1Status accept
deleteCollectionNamespacedDeployment ContentType contentType
_  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments"]
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType V1Status accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteCollectionNamespacedDeployment 
instance HasBodyParam DeleteCollectionNamespacedDeployment V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedDeployment Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam DeleteCollectionNamespacedDeployment Continue where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> Continue
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteCollectionNamespacedDeployment DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedDeployment FieldSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> FieldSelector
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /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 DeleteCollectionNamespacedDeployment GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedDeployment LabelSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> LabelSelector
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam DeleteCollectionNamespacedDeployment Limit where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> Limit
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 DeleteCollectionNamespacedDeployment OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeleteCollectionNamespacedDeployment PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 DeleteCollectionNamespacedDeployment ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> ResourceVersion
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 DeleteCollectionNamespacedDeployment TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteCollectionNamespacedDeployment mtype

-- | @application/json@
instance Produces DeleteCollectionNamespacedDeployment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteCollectionNamespacedDeployment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteCollectionNamespacedDeployment MimeYaml


-- *** deleteCollectionNamespacedStatefulSet

-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets@
-- 
-- delete collection of StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionNamespacedStatefulSet 
  :: (Consumes DeleteCollectionNamespacedStatefulSet contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteCollectionNamespacedStatefulSet contentType V1Status accept
deleteCollectionNamespacedStatefulSet :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType V1Status accept
deleteCollectionNamespacedStatefulSet ContentType contentType
_  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets"]
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType V1Status accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteCollectionNamespacedStatefulSet 
instance HasBodyParam DeleteCollectionNamespacedStatefulSet V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Continue where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> Continue
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet FieldSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> FieldSelector
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /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 DeleteCollectionNamespacedStatefulSet GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet LabelSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> LabelSelector
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Limit where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> Limit
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 DeleteCollectionNamespacedStatefulSet OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 DeleteCollectionNamespacedStatefulSet ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> ResourceVersion
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 DeleteCollectionNamespacedStatefulSet TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteCollectionNamespacedStatefulSet mtype

-- | @application/json@
instance Produces DeleteCollectionNamespacedStatefulSet MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteCollectionNamespacedStatefulSet MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteCollectionNamespacedStatefulSet MimeYaml


-- *** deleteNamespacedControllerRevision

-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions\/{name}@
-- 
-- delete a ControllerRevision
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteNamespacedControllerRevision 
  :: (Consumes DeleteNamespacedControllerRevision contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the ControllerRevision
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteNamespacedControllerRevision contentType V1Status accept
deleteNamespacedControllerRevision :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType V1Status accept
deleteNamespacedControllerRevision ContentType contentType
_  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/controllerrevisions/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteNamespacedControllerRevision contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType V1Status accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteNamespacedControllerRevision 
instance HasBodyParam DeleteNamespacedControllerRevision V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteNamespacedControllerRevision Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedControllerRevision DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /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 DeleteNamespacedControllerRevision GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 DeleteNamespacedControllerRevision OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeleteNamespacedControllerRevision PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
req KubernetesRequest
  DeleteNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteNamespacedControllerRevision mtype

-- | @application/json@
instance Produces DeleteNamespacedControllerRevision MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteNamespacedControllerRevision MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteNamespacedControllerRevision MimeYaml


-- *** deleteNamespacedDeployment

-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
-- 
-- delete a Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteNamespacedDeployment 
  :: (Consumes DeleteNamespacedDeployment contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteNamespacedDeployment contentType V1Status accept
deleteNamespacedDeployment :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     DeleteNamespacedDeployment contentType V1Status accept
deleteNamespacedDeployment ContentType contentType
_  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteNamespacedDeployment contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteNamespacedDeployment contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteNamespacedDeployment contentType V1Status accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteNamespacedDeployment 
instance HasBodyParam DeleteNamespacedDeployment V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteNamespacedDeployment Pretty where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDeployment contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest DeleteNamespacedDeployment contentType res accept
req KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedDeployment DryRun where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDeployment contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest DeleteNamespacedDeployment contentType res accept
req KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /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 DeleteNamespacedDeployment GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDeployment contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest DeleteNamespacedDeployment contentType res accept
req KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 DeleteNamespacedDeployment OrphanDependents where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDeployment contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest DeleteNamespacedDeployment contentType res accept
req KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeleteNamespacedDeployment PropagationPolicy where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDeployment contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest DeleteNamespacedDeployment contentType res accept
req KubernetesRequest DeleteNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteNamespacedDeployment mtype

-- | @application/json@
instance Produces DeleteNamespacedDeployment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteNamespacedDeployment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteNamespacedDeployment MimeYaml


-- *** deleteNamespacedStatefulSet

-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}@
-- 
-- delete a StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteNamespacedStatefulSet 
  :: (Consumes DeleteNamespacedStatefulSet contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the StatefulSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteNamespacedStatefulSet contentType V1Status accept
deleteNamespacedStatefulSet :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType V1Status accept
deleteNamespacedStatefulSet ContentType contentType
_  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteNamespacedStatefulSet contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType V1Status accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteNamespacedStatefulSet 
instance HasBodyParam DeleteNamespacedStatefulSet V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteNamespacedStatefulSet Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedStatefulSet DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /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 DeleteNamespacedStatefulSet GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 DeleteNamespacedStatefulSet OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeleteNamespacedStatefulSet PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
req KubernetesRequest
  DeleteNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteNamespacedStatefulSet mtype

-- | @application/json@
instance Produces DeleteNamespacedStatefulSet MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteNamespacedStatefulSet MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteNamespacedStatefulSet MimeYaml


-- *** getAPIResources

-- | @GET \/apis\/apps\/v1beta1\/@
-- 
-- get available resources
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
getAPIResources 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept
getAPIResources :: Accept accept
-> KubernetesRequest
     GetAPIResources MimeNoContent V1APIResourceList accept
getAPIResources  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     GetAPIResources MimeNoContent V1APIResourceList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/"]
    KubernetesRequest
  GetAPIResources MimeNoContent V1APIResourceList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     GetAPIResources MimeNoContent V1APIResourceList accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data GetAPIResources  
-- | @application/json@
instance Produces GetAPIResources MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetAPIResources MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetAPIResources MimeYaml


-- *** listControllerRevisionForAllNamespaces

-- | @GET \/apis\/apps\/v1beta1\/controllerrevisions@
-- 
-- list or watch objects of kind ControllerRevision
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listControllerRevisionForAllNamespaces 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListControllerRevisionForAllNamespaces MimeNoContent V1beta1ControllerRevisionList accept
listControllerRevisionForAllNamespaces :: Accept accept
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces
     MimeNoContent
     V1beta1ControllerRevisionList
     accept
listControllerRevisionForAllNamespaces  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces
     MimeNoContent
     V1beta1ControllerRevisionList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/controllerrevisions"]
    KubernetesRequest
  ListControllerRevisionForAllNamespaces
  MimeNoContent
  V1beta1ControllerRevisionList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces
     MimeNoContent
     V1beta1ControllerRevisionList
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ListControllerRevisionForAllNamespaces  

-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.  This field is beta.
instance HasOptionalParam ListControllerRevisionForAllNamespaces AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"allowWatchBookmarks", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam ListControllerRevisionForAllNamespaces Continue where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListControllerRevisionForAllNamespaces FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListControllerRevisionForAllNamespaces LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListControllerRevisionForAllNamespaces Limit where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListControllerRevisionForAllNamespaces Pretty where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListControllerRevisionForAllNamespaces ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListControllerRevisionForAllNamespaces TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListControllerRevisionForAllNamespaces Watch where
  applyOptionalParam :: KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
req KubernetesRequest
  ListControllerRevisionForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListControllerRevisionForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"watch", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ListControllerRevisionForAllNamespaces MimeJSON
-- | @application/json;stream=watch@
instance Produces ListControllerRevisionForAllNamespaces MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListControllerRevisionForAllNamespaces MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListControllerRevisionForAllNamespaces MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListControllerRevisionForAllNamespaces MimeYaml


-- *** listDeploymentForAllNamespaces

-- | @GET \/apis\/apps\/v1beta1\/deployments@
-- 
-- list or watch objects of kind Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listDeploymentForAllNamespaces 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListDeploymentForAllNamespaces MimeNoContent AppsV1beta1DeploymentList accept
listDeploymentForAllNamespaces :: Accept accept
-> KubernetesRequest
     ListDeploymentForAllNamespaces
     MimeNoContent
     AppsV1beta1DeploymentList
     accept
listDeploymentForAllNamespaces  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListDeploymentForAllNamespaces
     MimeNoContent
     AppsV1beta1DeploymentList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/deployments"]
    KubernetesRequest
  ListDeploymentForAllNamespaces
  MimeNoContent
  AppsV1beta1DeploymentList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListDeploymentForAllNamespaces
     MimeNoContent
     AppsV1beta1DeploymentList
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ListDeploymentForAllNamespaces  

-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.  This field is beta.
instance HasOptionalParam ListDeploymentForAllNamespaces AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"allowWatchBookmarks", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam ListDeploymentForAllNamespaces Continue where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListDeploymentForAllNamespaces FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListDeploymentForAllNamespaces LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListDeploymentForAllNamespaces Limit where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListDeploymentForAllNamespaces Pretty where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListDeploymentForAllNamespaces ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListDeploymentForAllNamespaces TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListDeploymentForAllNamespaces Watch where
  applyOptionalParam :: KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
req KubernetesRequest
  ListDeploymentForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDeploymentForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"watch", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ListDeploymentForAllNamespaces MimeJSON
-- | @application/json;stream=watch@
instance Produces ListDeploymentForAllNamespaces MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListDeploymentForAllNamespaces MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListDeploymentForAllNamespaces MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListDeploymentForAllNamespaces MimeYaml


-- *** listNamespacedControllerRevision

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions@
-- 
-- list or watch objects of kind ControllerRevision
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNamespacedControllerRevision 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ListNamespacedControllerRevision MimeNoContent V1beta1ControllerRevisionList accept
listNamespacedControllerRevision :: Accept accept
-> Namespace
-> KubernetesRequest
     ListNamespacedControllerRevision
     MimeNoContent
     V1beta1ControllerRevisionList
     accept
listNamespacedControllerRevision  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedControllerRevision
     MimeNoContent
     V1beta1ControllerRevisionList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/controllerrevisions"]
    KubernetesRequest
  ListNamespacedControllerRevision
  MimeNoContent
  V1beta1ControllerRevisionList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedControllerRevision
     MimeNoContent
     V1beta1ControllerRevisionList
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ListNamespacedControllerRevision  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedControllerRevision Pretty where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> Pretty
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.  This field is beta.
instance HasOptionalParam ListNamespacedControllerRevision AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"allowWatchBookmarks", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam ListNamespacedControllerRevision Continue where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> Continue
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListNamespacedControllerRevision FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedControllerRevision LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListNamespacedControllerRevision Limit where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> Limit
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 ListNamespacedControllerRevision ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListNamespacedControllerRevision TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListNamespacedControllerRevision Watch where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> Watch
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ListNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"watch", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ListNamespacedControllerRevision MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedControllerRevision MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListNamespacedControllerRevision MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListNamespacedControllerRevision MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListNamespacedControllerRevision MimeYaml


-- *** listNamespacedDeployment

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments@
-- 
-- list or watch objects of kind Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNamespacedDeployment 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ListNamespacedDeployment MimeNoContent AppsV1beta1DeploymentList accept
listNamespacedDeployment :: Accept accept
-> Namespace
-> KubernetesRequest
     ListNamespacedDeployment
     MimeNoContent
     AppsV1beta1DeploymentList
     accept
listNamespacedDeployment  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedDeployment
     MimeNoContent
     AppsV1beta1DeploymentList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments"]
    KubernetesRequest
  ListNamespacedDeployment
  MimeNoContent
  AppsV1beta1DeploymentList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedDeployment
     MimeNoContent
     AppsV1beta1DeploymentList
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ListNamespacedDeployment  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedDeployment Pretty where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> Pretty
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.  This field is beta.
instance HasOptionalParam ListNamespacedDeployment AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"allowWatchBookmarks", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam ListNamespacedDeployment Continue where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> Continue
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (Continue Text
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListNamespacedDeployment FieldSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedDeployment LabelSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListNamespacedDeployment Limit where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> Limit
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (Limit Int
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 ListNamespacedDeployment ResourceVersion where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListNamespacedDeployment TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListNamespacedDeployment Watch where
  applyOptionalParam :: KubernetesRequest ListNamespacedDeployment contentType res accept
-> Watch
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDeployment contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest ListNamespacedDeployment contentType res accept
req KubernetesRequest ListNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"watch", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ListNamespacedDeployment MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedDeployment MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListNamespacedDeployment MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListNamespacedDeployment MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListNamespacedDeployment MimeYaml


-- *** listNamespacedStatefulSet

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets@
-- 
-- list or watch objects of kind StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNamespacedStatefulSet 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ListNamespacedStatefulSet MimeNoContent V1beta1StatefulSetList accept
listNamespacedStatefulSet :: Accept accept
-> Namespace
-> KubernetesRequest
     ListNamespacedStatefulSet
     MimeNoContent
     V1beta1StatefulSetList
     accept
listNamespacedStatefulSet  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedStatefulSet
     MimeNoContent
     V1beta1StatefulSetList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets"]
    KubernetesRequest
  ListNamespacedStatefulSet
  MimeNoContent
  V1beta1StatefulSetList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedStatefulSet
     MimeNoContent
     V1beta1StatefulSetList
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ListNamespacedStatefulSet  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedStatefulSet Pretty where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> Pretty
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.  This field is beta.
instance HasOptionalParam ListNamespacedStatefulSet AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"allowWatchBookmarks", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam ListNamespacedStatefulSet Continue where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> Continue
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (Continue Text
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListNamespacedStatefulSet FieldSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedStatefulSet LabelSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListNamespacedStatefulSet Limit where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> Limit
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (Limit Int
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
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 ListNamespacedStatefulSet ResourceVersion where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListNamespacedStatefulSet TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListNamespacedStatefulSet Watch where
  applyOptionalParam :: KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> Watch
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedStatefulSet contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest ListNamespacedStatefulSet contentType res accept
req KubernetesRequest ListNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"watch", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ListNamespacedStatefulSet MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedStatefulSet MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListNamespacedStatefulSet MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListNamespacedStatefulSet MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListNamespacedStatefulSet MimeYaml


-- *** listStatefulSetForAllNamespaces

-- | @GET \/apis\/apps\/v1beta1\/statefulsets@
-- 
-- list or watch objects of kind StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listStatefulSetForAllNamespaces 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListStatefulSetForAllNamespaces MimeNoContent V1beta1StatefulSetList accept
listStatefulSetForAllNamespaces :: Accept accept
-> KubernetesRequest
     ListStatefulSetForAllNamespaces
     MimeNoContent
     V1beta1StatefulSetList
     accept
listStatefulSetForAllNamespaces  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces
     MimeNoContent
     V1beta1StatefulSetList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/statefulsets"]
    KubernetesRequest
  ListStatefulSetForAllNamespaces
  MimeNoContent
  V1beta1StatefulSetList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListStatefulSetForAllNamespaces
     MimeNoContent
     V1beta1StatefulSetList
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ListStatefulSetForAllNamespaces  

-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.  This field is beta.
instance HasOptionalParam ListStatefulSetForAllNamespaces AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"allowWatchBookmarks", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam ListStatefulSetForAllNamespaces Continue where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListStatefulSetForAllNamespaces FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListStatefulSetForAllNamespaces LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListStatefulSetForAllNamespaces Limit where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListStatefulSetForAllNamespaces Pretty where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListStatefulSetForAllNamespaces ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
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 ListStatefulSetForAllNamespaces TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListStatefulSetForAllNamespaces Watch where
  applyOptionalParam :: KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListStatefulSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListStatefulSetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"watch", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ListStatefulSetForAllNamespaces MimeJSON
-- | @application/json;stream=watch@
instance Produces ListStatefulSetForAllNamespaces MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListStatefulSetForAllNamespaces MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListStatefulSetForAllNamespaces MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListStatefulSetForAllNamespaces MimeYaml


-- *** patchNamespacedControllerRevision

-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions\/{name}@
-- 
-- partially update the specified ControllerRevision
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedControllerRevision 
  :: (Consumes PatchNamespacedControllerRevision contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the ControllerRevision
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedControllerRevision contentType V1beta1ControllerRevision accept
patchNamespacedControllerRevision :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
patchNamespacedControllerRevision ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/controllerrevisions/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchNamespacedControllerRevision
  contentType
  V1beta1ControllerRevision
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedControllerRevision
  contentType
  V1beta1ControllerRevision
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedControllerRevision 
instance HasBodyParam PatchNamespacedControllerRevision Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedControllerRevision Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
req KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedControllerRevision DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
req KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedControllerRevision FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
req KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedControllerRevision Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
req KubernetesRequest
  PatchNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedControllerRevision MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedControllerRevision MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedControllerRevision MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedControllerRevision MimeStrategicMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedControllerRevision MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedControllerRevision MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedControllerRevision MimeYaml


-- *** patchNamespacedDeployment

-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
-- 
-- partially update the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedDeployment 
  :: (Consumes PatchNamespacedDeployment contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedDeployment contentType AppsV1beta1Deployment accept
patchNamespacedDeployment :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedDeployment contentType AppsV1beta1Deployment accept
patchNamespacedDeployment ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedDeployment contentType AppsV1beta1Deployment accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchNamespacedDeployment contentType AppsV1beta1Deployment accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedDeployment contentType AppsV1beta1Deployment accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedDeployment contentType AppsV1beta1Deployment accept
-> Body
-> KubernetesRequest
     PatchNamespacedDeployment contentType AppsV1beta1Deployment accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedDeployment 
instance HasBodyParam PatchNamespacedDeployment Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedDeployment Pretty where
  applyOptionalParam :: KubernetesRequest PatchNamespacedDeployment contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedDeployment contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest PatchNamespacedDeployment contentType res accept
req KubernetesRequest PatchNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeployment DryRun where
  applyOptionalParam :: KubernetesRequest PatchNamespacedDeployment contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedDeployment contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest PatchNamespacedDeployment contentType res accept
req KubernetesRequest PatchNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedDeployment FieldManager where
  applyOptionalParam :: KubernetesRequest PatchNamespacedDeployment contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedDeployment contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest PatchNamespacedDeployment contentType res accept
req KubernetesRequest PatchNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedDeployment Force where
  applyOptionalParam :: KubernetesRequest PatchNamespacedDeployment contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedDeployment contentType res accept
req (Force Bool
xs) =
    KubernetesRequest PatchNamespacedDeployment contentType res accept
req KubernetesRequest PatchNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedDeployment MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeployment MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedDeployment MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedDeployment MimeStrategicMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedDeployment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedDeployment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedDeployment MimeYaml


-- *** patchNamespacedDeploymentScale

-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/scale@
-- 
-- partially update scale of the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedDeploymentScale 
  :: (Consumes PatchNamespacedDeploymentScale contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedDeploymentScale contentType AppsV1beta1Scale accept
patchNamespacedDeploymentScale :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType AppsV1beta1Scale accept
patchNamespacedDeploymentScale ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType AppsV1beta1Scale accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  PatchNamespacedDeploymentScale contentType AppsV1beta1Scale accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType AppsV1beta1Scale accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedDeploymentScale contentType AppsV1beta1Scale accept
-> Body
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType AppsV1beta1Scale accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedDeploymentScale 
instance HasBodyParam PatchNamespacedDeploymentScale Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedDeploymentScale Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
req KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeploymentScale DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
req KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedDeploymentScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
req KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedDeploymentScale Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
req KubernetesRequest
  PatchNamespacedDeploymentScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeploymentScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedDeploymentScale MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeploymentScale MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedDeploymentScale MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedDeploymentScale MimeStrategicMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedDeploymentScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedDeploymentScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedDeploymentScale MimeYaml


-- *** patchNamespacedDeploymentStatus

-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/status@
-- 
-- partially update status of the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedDeploymentStatus 
  :: (Consumes PatchNamespacedDeploymentStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedDeploymentStatus contentType AppsV1beta1Deployment accept
patchNamespacedDeploymentStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedDeploymentStatus
     contentType
     AppsV1beta1Deployment
     accept
patchNamespacedDeploymentStatus ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedDeploymentStatus
     contentType
     AppsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  PatchNamespacedDeploymentStatus
  contentType
  AppsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedDeploymentStatus
     contentType
     AppsV1beta1Deployment
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedDeploymentStatus
  contentType
  AppsV1beta1Deployment
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedDeploymentStatus
     contentType
     AppsV1beta1Deployment
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedDeploymentStatus 
instance HasBodyParam PatchNamespacedDeploymentStatus Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedDeploymentStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedDeploymentStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
req KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeploymentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeploymentStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedDeploymentStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
req KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeploymentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedDeploymentStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedDeploymentStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
req KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeploymentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedDeploymentStatus Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedDeploymentStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
req KubernetesRequest
  PatchNamespacedDeploymentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDeploymentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedDeploymentStatus MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeploymentStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedDeploymentStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedDeploymentStatus MimeStrategicMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedDeploymentStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedDeploymentStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedDeploymentStatus MimeYaml


-- *** patchNamespacedStatefulSet

-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}@
-- 
-- partially update the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedStatefulSet 
  :: (Consumes PatchNamespacedStatefulSet contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the StatefulSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedStatefulSet contentType V1beta1StatefulSet accept
patchNamespacedStatefulSet :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType V1beta1StatefulSet accept
patchNamespacedStatefulSet ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchNamespacedStatefulSet contentType V1beta1StatefulSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedStatefulSet contentType V1beta1StatefulSet accept
-> Body
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedStatefulSet 
instance HasBodyParam PatchNamespacedStatefulSet Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedStatefulSet Pretty where
  applyOptionalParam :: KubernetesRequest PatchNamespacedStatefulSet contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedStatefulSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest PatchNamespacedStatefulSet contentType res accept
req KubernetesRequest PatchNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSet DryRun where
  applyOptionalParam :: KubernetesRequest PatchNamespacedStatefulSet contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedStatefulSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest PatchNamespacedStatefulSet contentType res accept
req KubernetesRequest PatchNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedStatefulSet FieldManager where
  applyOptionalParam :: KubernetesRequest PatchNamespacedStatefulSet contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedStatefulSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest PatchNamespacedStatefulSet contentType res accept
req KubernetesRequest PatchNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedStatefulSet Force where
  applyOptionalParam :: KubernetesRequest PatchNamespacedStatefulSet contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedStatefulSet contentType res accept
req (Force Bool
xs) =
    KubernetesRequest PatchNamespacedStatefulSet contentType res accept
req KubernetesRequest PatchNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedStatefulSet MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSet MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedStatefulSet MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedStatefulSet MimeStrategicMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedStatefulSet MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedStatefulSet MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedStatefulSet MimeYaml


-- *** patchNamespacedStatefulSetScale

-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/scale@
-- 
-- partially update scale of the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedStatefulSetScale 
  :: (Consumes PatchNamespacedStatefulSetScale contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
patchNamespacedStatefulSetScale :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
patchNamespacedStatefulSetScale ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  PatchNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
-> Body
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedStatefulSetScale 
instance HasBodyParam PatchNamespacedStatefulSetScale Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedStatefulSetScale Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
req KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSetScale DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
req KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedStatefulSetScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
req KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedStatefulSetScale Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
req KubernetesRequest
  PatchNamespacedStatefulSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSetScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedStatefulSetScale MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSetScale MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedStatefulSetScale MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedStatefulSetScale MimeStrategicMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedStatefulSetScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedStatefulSetScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedStatefulSetScale MimeYaml


-- *** patchNamespacedStatefulSetStatus

-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/status@
-- 
-- partially update status of the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedStatefulSetStatus 
  :: (Consumes PatchNamespacedStatefulSetStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the StatefulSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedStatefulSetStatus contentType V1beta1StatefulSet accept
patchNamespacedStatefulSetStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus
     contentType
     V1beta1StatefulSet
     accept
patchNamespacedStatefulSetStatus ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus
     contentType
     V1beta1StatefulSet
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  PatchNamespacedStatefulSetStatus
  contentType
  V1beta1StatefulSet
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus
     contentType
     V1beta1StatefulSet
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedStatefulSetStatus
  contentType
  V1beta1StatefulSet
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus
     contentType
     V1beta1StatefulSet
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedStatefulSetStatus 
instance HasBodyParam PatchNamespacedStatefulSetStatus Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedStatefulSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSetStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedStatefulSetStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedStatefulSetStatus Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedStatefulSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedStatefulSetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedStatefulSetStatus MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedStatefulSetStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedStatefulSetStatus MimeStrategicMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedStatefulSetStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedStatefulSetStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedStatefulSetStatus MimeYaml


-- *** readNamespacedControllerRevision

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions\/{name}@
-- 
-- read the specified ControllerRevision
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedControllerRevision 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the ControllerRevision
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedControllerRevision MimeNoContent V1beta1ControllerRevision accept
readNamespacedControllerRevision :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedControllerRevision
     MimeNoContent
     V1beta1ControllerRevision
     accept
readNamespacedControllerRevision  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedControllerRevision
     MimeNoContent
     V1beta1ControllerRevision
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/controllerrevisions/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReadNamespacedControllerRevision
  MimeNoContent
  V1beta1ControllerRevision
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedControllerRevision
     MimeNoContent
     V1beta1ControllerRevision
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ReadNamespacedControllerRevision  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedControllerRevision Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "exact" - Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
instance HasOptionalParam ReadNamespacedControllerRevision Exact where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
-> Exact
-> KubernetesRequest
     ReadNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
req (Exact Bool
xs) =
    KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "export" - Should this value be exported.  Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
instance HasOptionalParam ReadNamespacedControllerRevision Export where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
-> Export
-> KubernetesRequest
     ReadNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
req (Export Bool
xs) =
    KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ReadNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ReadNamespacedControllerRevision MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedControllerRevision MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedControllerRevision MimeYaml


-- *** readNamespacedDeployment

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
-- 
-- read the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedDeployment 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedDeployment MimeNoContent AppsV1beta1Deployment accept
readNamespacedDeployment :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedDeployment MimeNoContent AppsV1beta1Deployment accept
readNamespacedDeployment  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedDeployment MimeNoContent AppsV1beta1Deployment accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReadNamespacedDeployment MimeNoContent AppsV1beta1Deployment accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedDeployment MimeNoContent AppsV1beta1Deployment accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ReadNamespacedDeployment  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedDeployment Pretty where
  applyOptionalParam :: KubernetesRequest ReadNamespacedDeployment contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedDeployment contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReadNamespacedDeployment contentType res accept
req KubernetesRequest ReadNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "exact" - Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
instance HasOptionalParam ReadNamespacedDeployment Exact where
  applyOptionalParam :: KubernetesRequest ReadNamespacedDeployment contentType res accept
-> Exact
-> KubernetesRequest
     ReadNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedDeployment contentType res accept
req (Exact Bool
xs) =
    KubernetesRequest ReadNamespacedDeployment contentType res accept
req KubernetesRequest ReadNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "export" - Should this value be exported.  Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
instance HasOptionalParam ReadNamespacedDeployment Export where
  applyOptionalParam :: KubernetesRequest ReadNamespacedDeployment contentType res accept
-> Export
-> KubernetesRequest
     ReadNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedDeployment contentType res accept
req (Export Bool
xs) =
    KubernetesRequest ReadNamespacedDeployment contentType res accept
req KubernetesRequest ReadNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ReadNamespacedDeployment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedDeployment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedDeployment MimeYaml


-- *** readNamespacedDeploymentScale

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/scale@
-- 
-- read scale of the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedDeploymentScale 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedDeploymentScale MimeNoContent AppsV1beta1Scale accept
readNamespacedDeploymentScale :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedDeploymentScale MimeNoContent AppsV1beta1Scale accept
readNamespacedDeploymentScale  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedDeploymentScale MimeNoContent AppsV1beta1Scale accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReadNamespacedDeploymentScale MimeNoContent AppsV1beta1Scale accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedDeploymentScale MimeNoContent AppsV1beta1Scale accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ReadNamespacedDeploymentScale  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedDeploymentScale Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedDeploymentScale contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedDeploymentScale contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedDeploymentScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedDeploymentScale contentType res accept
req KubernetesRequest
  ReadNamespacedDeploymentScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedDeploymentScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
-- | @application/json@
instance Produces ReadNamespacedDeploymentScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedDeploymentScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedDeploymentScale MimeYaml


-- *** readNamespacedDeploymentStatus

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/status@
-- 
-- read status of the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedDeploymentStatus 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedDeploymentStatus MimeNoContent AppsV1beta1Deployment accept
readNamespacedDeploymentStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedDeploymentStatus
     MimeNoContent
     AppsV1beta1Deployment
     accept
readNamespacedDeploymentStatus  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedDeploymentStatus
     MimeNoContent
     AppsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReadNamespacedDeploymentStatus
  MimeNoContent
  AppsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedDeploymentStatus
     MimeNoContent
     AppsV1beta1Deployment
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ReadNamespacedDeploymentStatus  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedDeploymentStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedDeploymentStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedDeploymentStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedDeploymentStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedDeploymentStatus contentType res accept
req KubernetesRequest
  ReadNamespacedDeploymentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedDeploymentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
-- | @application/json@
instance Produces ReadNamespacedDeploymentStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedDeploymentStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedDeploymentStatus MimeYaml


-- *** readNamespacedStatefulSet

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}@
-- 
-- read the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedStatefulSet 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the StatefulSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedStatefulSet MimeNoContent V1beta1StatefulSet accept
readNamespacedStatefulSet :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedStatefulSet MimeNoContent V1beta1StatefulSet accept
readNamespacedStatefulSet  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedStatefulSet MimeNoContent V1beta1StatefulSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReadNamespacedStatefulSet MimeNoContent V1beta1StatefulSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedStatefulSet MimeNoContent V1beta1StatefulSet accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ReadNamespacedStatefulSet  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedStatefulSet Pretty where
  applyOptionalParam :: KubernetesRequest ReadNamespacedStatefulSet contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedStatefulSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReadNamespacedStatefulSet contentType res accept
req KubernetesRequest ReadNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "exact" - Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
instance HasOptionalParam ReadNamespacedStatefulSet Exact where
  applyOptionalParam :: KubernetesRequest ReadNamespacedStatefulSet contentType res accept
-> Exact
-> KubernetesRequest
     ReadNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedStatefulSet contentType res accept
req (Exact Bool
xs) =
    KubernetesRequest ReadNamespacedStatefulSet contentType res accept
req KubernetesRequest ReadNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "export" - Should this value be exported.  Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
instance HasOptionalParam ReadNamespacedStatefulSet Export where
  applyOptionalParam :: KubernetesRequest ReadNamespacedStatefulSet contentType res accept
-> Export
-> KubernetesRequest
     ReadNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedStatefulSet contentType res accept
req (Export Bool
xs) =
    KubernetesRequest ReadNamespacedStatefulSet contentType res accept
req KubernetesRequest ReadNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ReadNamespacedStatefulSet MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedStatefulSet MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedStatefulSet MimeYaml


-- *** readNamespacedStatefulSetScale

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/scale@
-- 
-- read scale of the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedStatefulSetScale 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedStatefulSetScale MimeNoContent AppsV1beta1Scale accept
readNamespacedStatefulSetScale :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedStatefulSetScale
     MimeNoContent
     AppsV1beta1Scale
     accept
readNamespacedStatefulSetScale  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedStatefulSetScale
     MimeNoContent
     AppsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReadNamespacedStatefulSetScale
  MimeNoContent
  AppsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedStatefulSetScale
     MimeNoContent
     AppsV1beta1Scale
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ReadNamespacedStatefulSetScale  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedStatefulSetScale Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedStatefulSetScale contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedStatefulSetScale contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedStatefulSetScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedStatefulSetScale contentType res accept
req KubernetesRequest
  ReadNamespacedStatefulSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedStatefulSetScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
-- | @application/json@
instance Produces ReadNamespacedStatefulSetScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedStatefulSetScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedStatefulSetScale MimeYaml


-- *** readNamespacedStatefulSetStatus

-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/status@
-- 
-- read status of the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedStatefulSetStatus 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the StatefulSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedStatefulSetStatus MimeNoContent V1beta1StatefulSet accept
readNamespacedStatefulSetStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedStatefulSetStatus
     MimeNoContent
     V1beta1StatefulSet
     accept
readNamespacedStatefulSetStatus  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedStatefulSetStatus
     MimeNoContent
     V1beta1StatefulSet
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReadNamespacedStatefulSetStatus
  MimeNoContent
  V1beta1StatefulSet
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedStatefulSetStatus
     MimeNoContent
     V1beta1StatefulSet
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ReadNamespacedStatefulSetStatus  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedStatefulSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedStatefulSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedStatefulSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedStatefulSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedStatefulSetStatus contentType res accept
req KubernetesRequest
  ReadNamespacedStatefulSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedStatefulSetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
-- | @application/json@
instance Produces ReadNamespacedStatefulSetStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedStatefulSetStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedStatefulSetStatus MimeYaml


-- *** replaceNamespacedControllerRevision

-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions\/{name}@
-- 
-- replace the specified ControllerRevision
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedControllerRevision 
  :: (Consumes ReplaceNamespacedControllerRevision contentType, MimeRender contentType V1beta1ControllerRevision)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1ControllerRevision -- ^ "body"
  -> Name -- ^ "name" -  name of the ControllerRevision
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedControllerRevision contentType V1beta1ControllerRevision accept
replaceNamespacedControllerRevision :: ContentType contentType
-> Accept accept
-> V1beta1ControllerRevision
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
replaceNamespacedControllerRevision ContentType contentType
_  Accept accept
_ V1beta1ControllerRevision
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/controllerrevisions/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceNamespacedControllerRevision
  contentType
  V1beta1ControllerRevision
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedControllerRevision
  contentType
  V1beta1ControllerRevision
  accept
-> V1beta1ControllerRevision
-> KubernetesRequest
     ReplaceNamespacedControllerRevision
     contentType
     V1beta1ControllerRevision
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` V1beta1ControllerRevision
body

data ReplaceNamespacedControllerRevision 
instance HasBodyParam ReplaceNamespacedControllerRevision V1beta1ControllerRevision 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedControllerRevision Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedControllerRevision DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedControllerRevision FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedControllerRevision contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
req KubernetesRequest
  ReplaceNamespacedControllerRevision contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedControllerRevision contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedControllerRevision mtype

-- | @application/json@
instance Produces ReplaceNamespacedControllerRevision MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedControllerRevision MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedControllerRevision MimeYaml


-- *** replaceNamespacedDeployment

-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
-- 
-- replace the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedDeployment 
  :: (Consumes ReplaceNamespacedDeployment contentType, MimeRender contentType AppsV1beta1Deployment)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> AppsV1beta1Deployment -- ^ "body"
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedDeployment contentType AppsV1beta1Deployment accept
replaceNamespacedDeployment :: ContentType contentType
-> Accept accept
-> AppsV1beta1Deployment
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedDeployment
     contentType
     AppsV1beta1Deployment
     accept
replaceNamespacedDeployment ContentType contentType
_  Accept accept
_ AppsV1beta1Deployment
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedDeployment
     contentType
     AppsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceNamespacedDeployment
  contentType
  AppsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedDeployment
     contentType
     AppsV1beta1Deployment
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedDeployment
  contentType
  AppsV1beta1Deployment
  accept
-> AppsV1beta1Deployment
-> KubernetesRequest
     ReplaceNamespacedDeployment
     contentType
     AppsV1beta1Deployment
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` AppsV1beta1Deployment
body

data ReplaceNamespacedDeployment 
instance HasBodyParam ReplaceNamespacedDeployment AppsV1beta1Deployment 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedDeployment Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeployment DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedDeployment FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedDeployment contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeployment contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeployment contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeployment mtype

-- | @application/json@
instance Produces ReplaceNamespacedDeployment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedDeployment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedDeployment MimeYaml


-- *** replaceNamespacedDeploymentScale

-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/scale@
-- 
-- replace scale of the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedDeploymentScale 
  :: (Consumes ReplaceNamespacedDeploymentScale contentType, MimeRender contentType AppsV1beta1Scale)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> AppsV1beta1Scale -- ^ "body"
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedDeploymentScale contentType AppsV1beta1Scale accept
replaceNamespacedDeploymentScale :: ContentType contentType
-> Accept accept
-> AppsV1beta1Scale
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale
     contentType
     AppsV1beta1Scale
     accept
replaceNamespacedDeploymentScale ContentType contentType
_  Accept accept
_ AppsV1beta1Scale
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale
     contentType
     AppsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReplaceNamespacedDeploymentScale
  contentType
  AppsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale
     contentType
     AppsV1beta1Scale
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedDeploymentScale
  contentType
  AppsV1beta1Scale
  accept
-> AppsV1beta1Scale
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale
     contentType
     AppsV1beta1Scale
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` AppsV1beta1Scale
body

data ReplaceNamespacedDeploymentScale 
instance HasBodyParam ReplaceNamespacedDeploymentScale AppsV1beta1Scale 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedDeploymentScale Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeploymentScale DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedDeploymentScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeploymentScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentScale mtype

-- | @application/json@
instance Produces ReplaceNamespacedDeploymentScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedDeploymentScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedDeploymentScale MimeYaml


-- *** replaceNamespacedDeploymentStatus

-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/status@
-- 
-- replace status of the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedDeploymentStatus 
  :: (Consumes ReplaceNamespacedDeploymentStatus contentType, MimeRender contentType AppsV1beta1Deployment)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> AppsV1beta1Deployment -- ^ "body"
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedDeploymentStatus contentType AppsV1beta1Deployment accept
replaceNamespacedDeploymentStatus :: ContentType contentType
-> Accept accept
-> AppsV1beta1Deployment
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus
     contentType
     AppsV1beta1Deployment
     accept
replaceNamespacedDeploymentStatus ContentType contentType
_  Accept accept
_ AppsV1beta1Deployment
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus
     contentType
     AppsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReplaceNamespacedDeploymentStatus
  contentType
  AppsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus
     contentType
     AppsV1beta1Deployment
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedDeploymentStatus
  contentType
  AppsV1beta1Deployment
  accept
-> AppsV1beta1Deployment
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus
     contentType
     AppsV1beta1Deployment
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` AppsV1beta1Deployment
body

data ReplaceNamespacedDeploymentStatus 
instance HasBodyParam ReplaceNamespacedDeploymentStatus AppsV1beta1Deployment 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedDeploymentStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeploymentStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedDeploymentStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedDeploymentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentStatus mtype

-- | @application/json@
instance Produces ReplaceNamespacedDeploymentStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedDeploymentStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedDeploymentStatus MimeYaml


-- *** replaceNamespacedStatefulSet

-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}@
-- 
-- replace the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedStatefulSet 
  :: (Consumes ReplaceNamespacedStatefulSet contentType, MimeRender contentType V1beta1StatefulSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1StatefulSet -- ^ "body"
  -> Name -- ^ "name" -  name of the StatefulSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedStatefulSet contentType V1beta1StatefulSet accept
replaceNamespacedStatefulSet :: ContentType contentType
-> Accept accept
-> V1beta1StatefulSet
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType V1beta1StatefulSet accept
replaceNamespacedStatefulSet ContentType contentType
_  Accept accept
_ V1beta1StatefulSet
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceNamespacedStatefulSet contentType V1beta1StatefulSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedStatefulSet contentType V1beta1StatefulSet accept
-> V1beta1StatefulSet
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType V1beta1StatefulSet accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` V1beta1StatefulSet
body

data ReplaceNamespacedStatefulSet 
instance HasBodyParam ReplaceNamespacedStatefulSet V1beta1StatefulSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedStatefulSet Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSet DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedStatefulSet FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSet contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSet mtype

-- | @application/json@
instance Produces ReplaceNamespacedStatefulSet MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedStatefulSet MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedStatefulSet MimeYaml


-- *** replaceNamespacedStatefulSetScale

-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/scale@
-- 
-- replace scale of the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedStatefulSetScale 
  :: (Consumes ReplaceNamespacedStatefulSetScale contentType, MimeRender contentType AppsV1beta1Scale)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> AppsV1beta1Scale -- ^ "body"
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
replaceNamespacedStatefulSetScale :: ContentType contentType
-> Accept accept
-> AppsV1beta1Scale
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale
     contentType
     AppsV1beta1Scale
     accept
replaceNamespacedStatefulSetScale ContentType contentType
_  Accept accept
_ AppsV1beta1Scale
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale
     contentType
     AppsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReplaceNamespacedStatefulSetScale
  contentType
  AppsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale
     contentType
     AppsV1beta1Scale
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedStatefulSetScale
  contentType
  AppsV1beta1Scale
  accept
-> AppsV1beta1Scale
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale
     contentType
     AppsV1beta1Scale
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` AppsV1beta1Scale
body

data ReplaceNamespacedStatefulSetScale 
instance HasBodyParam ReplaceNamespacedStatefulSetScale AppsV1beta1Scale 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedStatefulSetScale Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSetScale DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedStatefulSetScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSetScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetScale mtype

-- | @application/json@
instance Produces ReplaceNamespacedStatefulSetScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedStatefulSetScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedStatefulSetScale MimeYaml


-- *** replaceNamespacedStatefulSetStatus

-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/status@
-- 
-- replace status of the specified StatefulSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedStatefulSetStatus 
  :: (Consumes ReplaceNamespacedStatefulSetStatus contentType, MimeRender contentType V1beta1StatefulSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1StatefulSet -- ^ "body"
  -> Name -- ^ "name" -  name of the StatefulSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedStatefulSetStatus contentType V1beta1StatefulSet accept
replaceNamespacedStatefulSetStatus :: ContentType contentType
-> Accept accept
-> V1beta1StatefulSet
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus
     contentType
     V1beta1StatefulSet
     accept
replaceNamespacedStatefulSetStatus ContentType contentType
_  Accept accept
_ V1beta1StatefulSet
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus
     contentType
     V1beta1StatefulSet
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/apps/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/statefulsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReplaceNamespacedStatefulSetStatus
  contentType
  V1beta1StatefulSet
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus
     contentType
     V1beta1StatefulSet
     accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedStatefulSetStatus
  contentType
  V1beta1StatefulSet
  accept
-> V1beta1StatefulSet
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus
     contentType
     V1beta1StatefulSet
     accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` V1beta1StatefulSet
body

data ReplaceNamespacedStatefulSetStatus 
instance HasBodyParam ReplaceNamespacedStatefulSetStatus V1beta1StatefulSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedStatefulSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedStatefulSetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetStatus mtype

-- | @application/json@
instance Produces ReplaceNamespacedStatefulSetStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedStatefulSetStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedStatefulSetStatus MimeYaml