{-
   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.ExtensionsV1beta1
-}

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


-- ** ExtensionsV1beta1

-- *** createNamespacedDaemonSet

-- | @POST \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets@
-- 
-- create a DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedDaemonSet 
  :: (Consumes CreateNamespacedDaemonSet contentType, MimeRender contentType V1beta1DaemonSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1DaemonSet -- ^ "body"
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedDaemonSet contentType V1beta1DaemonSet accept
createNamespacedDaemonSet :: ContentType contentType
-> Accept accept
-> V1beta1DaemonSet
-> Namespace
-> KubernetesRequest
     CreateNamespacedDaemonSet contentType V1beta1DaemonSet accept
createNamespacedDaemonSet ContentType contentType
_  Accept accept
_ V1beta1DaemonSet
body (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedDaemonSet contentType V1beta1DaemonSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets"]
    KubernetesRequest
  CreateNamespacedDaemonSet contentType V1beta1DaemonSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedDaemonSet contentType V1beta1DaemonSet 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
  CreateNamespacedDaemonSet contentType V1beta1DaemonSet accept
-> V1beta1DaemonSet
-> KubernetesRequest
     CreateNamespacedDaemonSet contentType V1beta1DaemonSet 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` V1beta1DaemonSet
body

data CreateNamespacedDaemonSet 
instance HasBodyParam CreateNamespacedDaemonSet V1beta1DaemonSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDaemonSet Pretty where
  applyOptionalParam :: KubernetesRequest CreateNamespacedDaemonSet contentType res accept
-> Pretty
-> KubernetesRequest
     CreateNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedDaemonSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest CreateNamespacedDaemonSet contentType res accept
req KubernetesRequest CreateNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDaemonSet 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 CreateNamespacedDaemonSet DryRun where
  applyOptionalParam :: KubernetesRequest CreateNamespacedDaemonSet contentType res accept
-> DryRun
-> KubernetesRequest
     CreateNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedDaemonSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest CreateNamespacedDaemonSet contentType res accept
req KubernetesRequest CreateNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDaemonSet 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 CreateNamespacedDaemonSet FieldManager where
  applyOptionalParam :: KubernetesRequest CreateNamespacedDaemonSet contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedDaemonSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest CreateNamespacedDaemonSet contentType res accept
req KubernetesRequest CreateNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedDaemonSet 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 CreateNamespacedDaemonSet mtype

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


-- *** createNamespacedDeployment

-- | @POST \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/deployments@
-- 
-- create a Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedDeployment 
  :: (Consumes CreateNamespacedDeployment contentType, MimeRender contentType ExtensionsV1beta1Deployment)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Deployment -- ^ "body"
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedDeployment contentType ExtensionsV1beta1Deployment accept
createNamespacedDeployment :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Deployment
-> Namespace
-> KubernetesRequest
     CreateNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     accept
createNamespacedDeployment ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Deployment
body (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments"]
    KubernetesRequest
  CreateNamespacedDeployment
  contentType
  ExtensionsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     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
  ExtensionsV1beta1Deployment
  accept
-> ExtensionsV1beta1Deployment
-> KubernetesRequest
     CreateNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     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` ExtensionsV1beta1Deployment
body

data CreateNamespacedDeployment 
instance HasBodyParam CreateNamespacedDeployment ExtensionsV1beta1Deployment 

-- | /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\/extensions\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/rollback@
-- 
-- create rollback of a Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedDeploymentRollback 
  :: (Consumes CreateNamespacedDeploymentRollback contentType, MimeRender contentType ExtensionsV1beta1DeploymentRollback)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1DeploymentRollback -- ^ "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
-> ExtensionsV1beta1DeploymentRollback
-> Name
-> Namespace
-> KubernetesRequest
     CreateNamespacedDeploymentRollback contentType V1Status accept
createNamespacedDeploymentRollback ContentType contentType
_  Accept accept
_ ExtensionsV1beta1DeploymentRollback
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/extensions/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
-> ExtensionsV1beta1DeploymentRollback
-> 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` ExtensionsV1beta1DeploymentRollback
body

data CreateNamespacedDeploymentRollback 
instance HasBodyParam CreateNamespacedDeploymentRollback ExtensionsV1beta1DeploymentRollback 

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


-- *** createNamespacedIngress

-- | @POST \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses@
-- 
-- create an Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedIngress 
  :: (Consumes CreateNamespacedIngress contentType, MimeRender contentType ExtensionsV1beta1Ingress)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Ingress -- ^ "body"
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedIngress contentType ExtensionsV1beta1Ingress accept
createNamespacedIngress :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Ingress
-> Namespace
-> KubernetesRequest
     CreateNamespacedIngress contentType ExtensionsV1beta1Ingress accept
createNamespacedIngress ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Ingress
body (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedIngress contentType ExtensionsV1beta1Ingress accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses"]
    KubernetesRequest
  CreateNamespacedIngress contentType ExtensionsV1beta1Ingress accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedIngress contentType ExtensionsV1beta1Ingress 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
  CreateNamespacedIngress contentType ExtensionsV1beta1Ingress accept
-> ExtensionsV1beta1Ingress
-> KubernetesRequest
     CreateNamespacedIngress contentType ExtensionsV1beta1Ingress 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` ExtensionsV1beta1Ingress
body

data CreateNamespacedIngress 
instance HasBodyParam CreateNamespacedIngress ExtensionsV1beta1Ingress 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedIngress Pretty where
  applyOptionalParam :: KubernetesRequest CreateNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedIngress contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest CreateNamespacedIngress contentType res accept
req KubernetesRequest CreateNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedIngress 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 CreateNamespacedIngress DryRun where
  applyOptionalParam :: KubernetesRequest CreateNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedIngress contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest CreateNamespacedIngress contentType res accept
req KubernetesRequest CreateNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedIngress 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 CreateNamespacedIngress FieldManager where
  applyOptionalParam :: KubernetesRequest CreateNamespacedIngress contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedIngress contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest CreateNamespacedIngress contentType res accept
req KubernetesRequest CreateNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedIngress 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 CreateNamespacedIngress mtype

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


-- *** createNamespacedNetworkPolicy

-- | @POST \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/networkpolicies@
-- 
-- create a NetworkPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedNetworkPolicy 
  :: (Consumes CreateNamespacedNetworkPolicy contentType, MimeRender contentType V1beta1NetworkPolicy)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1NetworkPolicy -- ^ "body"
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedNetworkPolicy contentType V1beta1NetworkPolicy accept
createNamespacedNetworkPolicy :: ContentType contentType
-> Accept accept
-> V1beta1NetworkPolicy
-> Namespace
-> KubernetesRequest
     CreateNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     accept
createNamespacedNetworkPolicy ContentType contentType
_  Accept accept
_ V1beta1NetworkPolicy
body (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/networkpolicies"]
    KubernetesRequest
  CreateNamespacedNetworkPolicy
  contentType
  V1beta1NetworkPolicy
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     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
  CreateNamespacedNetworkPolicy
  contentType
  V1beta1NetworkPolicy
  accept
-> V1beta1NetworkPolicy
-> KubernetesRequest
     CreateNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     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` V1beta1NetworkPolicy
body

data CreateNamespacedNetworkPolicy 
instance HasBodyParam CreateNamespacedNetworkPolicy V1beta1NetworkPolicy 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedNetworkPolicy Pretty where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     CreateNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedNetworkPolicy 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 CreateNamespacedNetworkPolicy DryRun where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
-> DryRun
-> KubernetesRequest
     CreateNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedNetworkPolicy 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 CreateNamespacedNetworkPolicy FieldManager where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  CreateNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedNetworkPolicy 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 CreateNamespacedNetworkPolicy mtype

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


-- *** createNamespacedReplicaSet

-- | @POST \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets@
-- 
-- create a ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedReplicaSet 
  :: (Consumes CreateNamespacedReplicaSet contentType, MimeRender contentType V1beta1ReplicaSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1ReplicaSet -- ^ "body"
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest CreateNamespacedReplicaSet contentType V1beta1ReplicaSet accept
createNamespacedReplicaSet :: ContentType contentType
-> Accept accept
-> V1beta1ReplicaSet
-> Namespace
-> KubernetesRequest
     CreateNamespacedReplicaSet contentType V1beta1ReplicaSet accept
createNamespacedReplicaSet ContentType contentType
_  Accept accept
_ V1beta1ReplicaSet
body (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedReplicaSet contentType V1beta1ReplicaSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets"]
    KubernetesRequest
  CreateNamespacedReplicaSet contentType V1beta1ReplicaSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedReplicaSet contentType V1beta1ReplicaSet 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
  CreateNamespacedReplicaSet contentType V1beta1ReplicaSet accept
-> V1beta1ReplicaSet
-> KubernetesRequest
     CreateNamespacedReplicaSet contentType V1beta1ReplicaSet 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` V1beta1ReplicaSet
body

data CreateNamespacedReplicaSet 
instance HasBodyParam CreateNamespacedReplicaSet V1beta1ReplicaSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedReplicaSet Pretty where
  applyOptionalParam :: KubernetesRequest CreateNamespacedReplicaSet contentType res accept
-> Pretty
-> KubernetesRequest
     CreateNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedReplicaSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest CreateNamespacedReplicaSet contentType res accept
req KubernetesRequest CreateNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedReplicaSet 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 CreateNamespacedReplicaSet DryRun where
  applyOptionalParam :: KubernetesRequest CreateNamespacedReplicaSet contentType res accept
-> DryRun
-> KubernetesRequest
     CreateNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedReplicaSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest CreateNamespacedReplicaSet contentType res accept
req KubernetesRequest CreateNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedReplicaSet 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 CreateNamespacedReplicaSet FieldManager where
  applyOptionalParam :: KubernetesRequest CreateNamespacedReplicaSet contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedReplicaSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest CreateNamespacedReplicaSet contentType res accept
req KubernetesRequest CreateNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedReplicaSet 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 CreateNamespacedReplicaSet mtype

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


-- *** createPodSecurityPolicy

-- | @POST \/apis\/extensions\/v1beta1\/podsecuritypolicies@
-- 
-- create a PodSecurityPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createPodSecurityPolicy 
  :: (Consumes CreatePodSecurityPolicy contentType, MimeRender contentType ExtensionsV1beta1PodSecurityPolicy)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1PodSecurityPolicy -- ^ "body"
  -> KubernetesRequest CreatePodSecurityPolicy contentType ExtensionsV1beta1PodSecurityPolicy accept
createPodSecurityPolicy :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1PodSecurityPolicy
-> KubernetesRequest
     CreatePodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     accept
createPodSecurityPolicy ContentType contentType
_  Accept accept
_ ExtensionsV1beta1PodSecurityPolicy
body =
  Method
-> [ByteString]
-> KubernetesRequest
     CreatePodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/extensions/v1beta1/podsecuritypolicies"]
    KubernetesRequest
  CreatePodSecurityPolicy
  contentType
  ExtensionsV1beta1PodSecurityPolicy
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreatePodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     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
  CreatePodSecurityPolicy
  contentType
  ExtensionsV1beta1PodSecurityPolicy
  accept
-> ExtensionsV1beta1PodSecurityPolicy
-> KubernetesRequest
     CreatePodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     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` ExtensionsV1beta1PodSecurityPolicy
body

data CreatePodSecurityPolicy 
instance HasBodyParam CreatePodSecurityPolicy ExtensionsV1beta1PodSecurityPolicy 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreatePodSecurityPolicy Pretty where
  applyOptionalParam :: KubernetesRequest CreatePodSecurityPolicy contentType res accept
-> Pretty
-> KubernetesRequest CreatePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest CreatePodSecurityPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest CreatePodSecurityPolicy contentType res accept
req KubernetesRequest CreatePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest CreatePodSecurityPolicy 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 CreatePodSecurityPolicy DryRun where
  applyOptionalParam :: KubernetesRequest CreatePodSecurityPolicy contentType res accept
-> DryRun
-> KubernetesRequest CreatePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest CreatePodSecurityPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest CreatePodSecurityPolicy contentType res accept
req KubernetesRequest CreatePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest CreatePodSecurityPolicy 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 CreatePodSecurityPolicy FieldManager where
  applyOptionalParam :: KubernetesRequest CreatePodSecurityPolicy contentType res accept
-> FieldManager
-> KubernetesRequest CreatePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest CreatePodSecurityPolicy contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest CreatePodSecurityPolicy contentType res accept
req KubernetesRequest CreatePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest CreatePodSecurityPolicy 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 CreatePodSecurityPolicy mtype

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


-- *** deleteCollectionNamespacedDaemonSet

-- | @DELETE \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets@
-- 
-- delete collection of DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionNamespacedDaemonSet 
  :: (Consumes DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet contentType V1Status accept
deleteCollectionNamespacedDaemonSet :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType V1Status accept
deleteCollectionNamespacedDaemonSet ContentType contentType
_  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets"]
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet 
instance HasBodyParam DeleteCollectionNamespacedDaemonSet V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet Continue where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> Continue
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet FieldSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> FieldSelector
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet LabelSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> LabelSelector
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet Limit where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> Limit
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> ResourceVersion
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedDaemonSet 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 DeleteCollectionNamespacedDaemonSet mtype

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


-- *** deleteCollectionNamespacedDeployment

-- | @DELETE \/apis\/extensions\/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/extensions/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


-- *** deleteCollectionNamespacedIngress

-- | @DELETE \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses@
-- 
-- delete collection of Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionNamespacedIngress 
  :: (Consumes DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress contentType V1Status accept
deleteCollectionNamespacedIngress :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType V1Status accept
deleteCollectionNamespacedIngress ContentType contentType
_  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses"]
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress 
instance HasBodyParam DeleteCollectionNamespacedIngress V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedIngress Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress Continue where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> Continue
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress FieldSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> FieldSelector
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress LabelSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> LabelSelector
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress Limit where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> Limit
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> ResourceVersion
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress mtype

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


-- *** deleteCollectionNamespacedNetworkPolicy

-- | @DELETE \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/networkpolicies@
-- 
-- delete collection of NetworkPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionNamespacedNetworkPolicy 
  :: (Consumes DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy contentType V1Status accept
deleteCollectionNamespacedNetworkPolicy :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType V1Status accept
deleteCollectionNamespacedNetworkPolicy ContentType contentType
_  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/networkpolicies"]
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy 
instance HasBodyParam DeleteCollectionNamespacedNetworkPolicy V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedNetworkPolicy Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy Continue where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> Continue
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy FieldSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> FieldSelector
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy LabelSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> LabelSelector
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy Limit where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> Limit
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> ResourceVersion
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedNetworkPolicy 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 DeleteCollectionNamespacedNetworkPolicy mtype

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


-- *** deleteCollectionNamespacedReplicaSet

-- | @DELETE \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets@
-- 
-- delete collection of ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionNamespacedReplicaSet 
  :: (Consumes DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet contentType V1Status accept
deleteCollectionNamespacedReplicaSet :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType V1Status accept
deleteCollectionNamespacedReplicaSet ContentType contentType
_  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets"]
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet 
instance HasBodyParam DeleteCollectionNamespacedReplicaSet V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet Continue where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> Continue
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet FieldSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> FieldSelector
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet LabelSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> LabelSelector
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet Limit where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> Limit
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> ResourceVersion
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedReplicaSet 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 DeleteCollectionNamespacedReplicaSet mtype

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


-- *** deleteCollectionPodSecurityPolicy

-- | @DELETE \/apis\/extensions\/v1beta1\/podsecuritypolicies@
-- 
-- delete collection of PodSecurityPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionPodSecurityPolicy 
  :: (Consumes DeleteCollectionPodSecurityPolicy contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest DeleteCollectionPodSecurityPolicy contentType V1Status accept
deleteCollectionPodSecurityPolicy :: ContentType contentType
-> Accept accept
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType V1Status accept
deleteCollectionPodSecurityPolicy ContentType contentType
_  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/podsecuritypolicies"]
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy 
instance HasBodyParam DeleteCollectionPodSecurityPolicy V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy Continue where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> Continue
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy FieldSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> FieldSelector
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy LabelSelector where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> LabelSelector
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy Limit where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> Limit
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> ResourceVersion
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
req KubernetesRequest
  DeleteCollectionPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionPodSecurityPolicy 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 DeleteCollectionPodSecurityPolicy mtype

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


-- *** deleteNamespacedDaemonSet

-- | @DELETE \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets\/{name}@
-- 
-- delete a DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteNamespacedDaemonSet 
  :: (Consumes DeleteNamespacedDaemonSet contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the DaemonSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteNamespacedDaemonSet contentType V1Status accept
deleteNamespacedDaemonSet :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     DeleteNamespacedDaemonSet contentType V1Status accept
deleteNamespacedDaemonSet ContentType contentType
_  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteNamespacedDaemonSet contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteNamespacedDaemonSet contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteNamespacedDaemonSet 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 DeleteNamespacedDaemonSet 
instance HasBodyParam DeleteNamespacedDaemonSet V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteNamespacedDaemonSet Pretty where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDaemonSet 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 DeleteNamespacedDaemonSet DryRun where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDaemonSet 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 DeleteNamespacedDaemonSet GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDaemonSet 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 DeleteNamespacedDaemonSet OrphanDependents where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDaemonSet 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 DeleteNamespacedDaemonSet PropagationPolicy where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
req KubernetesRequest DeleteNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedDaemonSet 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 DeleteNamespacedDaemonSet mtype

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


-- *** deleteNamespacedDeployment

-- | @DELETE \/apis\/extensions\/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/extensions/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


-- *** deleteNamespacedIngress

-- | @DELETE \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses\/{name}@
-- 
-- delete an Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteNamespacedIngress 
  :: (Consumes DeleteNamespacedIngress contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the Ingress
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteNamespacedIngress contentType V1Status accept
deleteNamespacedIngress :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     DeleteNamespacedIngress contentType V1Status accept
deleteNamespacedIngress ContentType contentType
_  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteNamespacedIngress contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteNamespacedIngress contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteNamespacedIngress 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 DeleteNamespacedIngress 
instance HasBodyParam DeleteNamespacedIngress V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteNamespacedIngress Pretty where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress 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 DeleteNamespacedIngress DryRun where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress 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 DeleteNamespacedIngress GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress 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 DeleteNamespacedIngress OrphanDependents where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress 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 DeleteNamespacedIngress PropagationPolicy where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress 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 DeleteNamespacedIngress mtype

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


-- *** deleteNamespacedNetworkPolicy

-- | @DELETE \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/networkpolicies\/{name}@
-- 
-- delete a NetworkPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteNamespacedNetworkPolicy 
  :: (Consumes DeleteNamespacedNetworkPolicy contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the NetworkPolicy
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteNamespacedNetworkPolicy contentType V1Status accept
deleteNamespacedNetworkPolicy :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy contentType V1Status accept
deleteNamespacedNetworkPolicy ContentType contentType
_  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/networkpolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy 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 DeleteNamespacedNetworkPolicy 
instance HasBodyParam DeleteNamespacedNetworkPolicy V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteNamespacedNetworkPolicy Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy 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 DeleteNamespacedNetworkPolicy DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy 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 DeleteNamespacedNetworkPolicy GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy 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 DeleteNamespacedNetworkPolicy OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy 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 DeleteNamespacedNetworkPolicy PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  DeleteNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedNetworkPolicy 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 DeleteNamespacedNetworkPolicy mtype

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


-- *** deleteNamespacedReplicaSet

-- | @DELETE \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}@
-- 
-- delete a ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteNamespacedReplicaSet 
  :: (Consumes DeleteNamespacedReplicaSet contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the ReplicaSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest DeleteNamespacedReplicaSet contentType V1Status accept
deleteNamespacedReplicaSet :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     DeleteNamespacedReplicaSet contentType V1Status accept
deleteNamespacedReplicaSet ContentType contentType
_  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteNamespacedReplicaSet contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteNamespacedReplicaSet contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteNamespacedReplicaSet 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 DeleteNamespacedReplicaSet 
instance HasBodyParam DeleteNamespacedReplicaSet V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteNamespacedReplicaSet Pretty where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedReplicaSet 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 DeleteNamespacedReplicaSet DryRun where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedReplicaSet 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 DeleteNamespacedReplicaSet GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedReplicaSet 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 DeleteNamespacedReplicaSet OrphanDependents where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedReplicaSet 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 DeleteNamespacedReplicaSet PropagationPolicy where
  applyOptionalParam :: KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
req KubernetesRequest DeleteNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedReplicaSet 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 DeleteNamespacedReplicaSet mtype

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


-- *** deletePodSecurityPolicy

-- | @DELETE \/apis\/extensions\/v1beta1\/podsecuritypolicies\/{name}@
-- 
-- delete a PodSecurityPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deletePodSecurityPolicy 
  :: (Consumes DeletePodSecurityPolicy contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the PodSecurityPolicy
  -> KubernetesRequest DeletePodSecurityPolicy contentType V1Status accept
deletePodSecurityPolicy :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest
     DeletePodSecurityPolicy contentType V1Status accept
deletePodSecurityPolicy ContentType contentType
_  Accept accept
_ (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeletePodSecurityPolicy contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/extensions/v1beta1/podsecuritypolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeletePodSecurityPolicy contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeletePodSecurityPolicy 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 DeletePodSecurityPolicy 
instance HasBodyParam DeletePodSecurityPolicy V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeletePodSecurityPolicy Pretty where
  applyOptionalParam :: KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> Pretty
-> KubernetesRequest DeletePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest DeletePodSecurityPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest DeletePodSecurityPolicy contentType res accept
req KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePodSecurityPolicy 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 DeletePodSecurityPolicy DryRun where
  applyOptionalParam :: KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> DryRun
-> KubernetesRequest DeletePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest DeletePodSecurityPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest DeletePodSecurityPolicy contentType res accept
req KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePodSecurityPolicy 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 DeletePodSecurityPolicy GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeletePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest DeletePodSecurityPolicy contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest DeletePodSecurityPolicy contentType res accept
req KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePodSecurityPolicy 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 DeletePodSecurityPolicy OrphanDependents where
  applyOptionalParam :: KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> OrphanDependents
-> KubernetesRequest DeletePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest DeletePodSecurityPolicy contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest DeletePodSecurityPolicy contentType res accept
req KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePodSecurityPolicy 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 DeletePodSecurityPolicy PropagationPolicy where
  applyOptionalParam :: KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeletePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest DeletePodSecurityPolicy contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest DeletePodSecurityPolicy contentType res accept
req KubernetesRequest DeletePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePodSecurityPolicy 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 DeletePodSecurityPolicy mtype

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


-- *** getAPIResources

-- | @GET \/apis\/extensions\/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/extensions/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


-- *** listDaemonSetForAllNamespaces

-- | @GET \/apis\/extensions\/v1beta1\/daemonsets@
-- 
-- list or watch objects of kind DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listDaemonSetForAllNamespaces 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListDaemonSetForAllNamespaces MimeNoContent V1beta1DaemonSetList accept
listDaemonSetForAllNamespaces :: Accept accept
-> KubernetesRequest
     ListDaemonSetForAllNamespaces
     MimeNoContent
     V1beta1DaemonSetList
     accept
listDaemonSetForAllNamespaces  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces
     MimeNoContent
     V1beta1DaemonSetList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/daemonsets"]
    KubernetesRequest
  ListDaemonSetForAllNamespaces
  MimeNoContent
  V1beta1DaemonSetList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListDaemonSetForAllNamespaces
     MimeNoContent
     V1beta1DaemonSetList
     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 ListDaemonSetForAllNamespaces  

-- | /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 ListDaemonSetForAllNamespaces AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces Continue where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces Limit where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces Pretty where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces Watch where
  applyOptionalParam :: KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
     ListDaemonSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListDaemonSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListDaemonSetForAllNamespaces 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 ListDaemonSetForAllNamespaces MimeJSON
-- | @application/json;stream=watch@
instance Produces ListDaemonSetForAllNamespaces MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListDaemonSetForAllNamespaces MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListDaemonSetForAllNamespaces MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListDaemonSetForAllNamespaces MimeYaml


-- *** listDeploymentForAllNamespaces

-- | @GET \/apis\/extensions\/v1beta1\/deployments@
-- 
-- list or watch objects of kind Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listDeploymentForAllNamespaces 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListDeploymentForAllNamespaces MimeNoContent ExtensionsV1beta1DeploymentList accept
listDeploymentForAllNamespaces :: Accept accept
-> KubernetesRequest
     ListDeploymentForAllNamespaces
     MimeNoContent
     ExtensionsV1beta1DeploymentList
     accept
listDeploymentForAllNamespaces  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListDeploymentForAllNamespaces
     MimeNoContent
     ExtensionsV1beta1DeploymentList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/deployments"]
    KubernetesRequest
  ListDeploymentForAllNamespaces
  MimeNoContent
  ExtensionsV1beta1DeploymentList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListDeploymentForAllNamespaces
     MimeNoContent
     ExtensionsV1beta1DeploymentList
     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


-- *** listIngressForAllNamespaces

-- | @GET \/apis\/extensions\/v1beta1\/ingresses@
-- 
-- list or watch objects of kind Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listIngressForAllNamespaces 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListIngressForAllNamespaces MimeNoContent ExtensionsV1beta1IngressList accept
listIngressForAllNamespaces :: Accept accept
-> KubernetesRequest
     ListIngressForAllNamespaces
     MimeNoContent
     ExtensionsV1beta1IngressList
     accept
listIngressForAllNamespaces  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListIngressForAllNamespaces
     MimeNoContent
     ExtensionsV1beta1IngressList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/ingresses"]
    KubernetesRequest
  ListIngressForAllNamespaces
  MimeNoContent
  ExtensionsV1beta1IngressList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListIngressForAllNamespaces
     MimeNoContent
     ExtensionsV1beta1IngressList
     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 ListIngressForAllNamespaces  

-- | /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 ListIngressForAllNamespaces AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces Continue where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces Limit where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces Pretty where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces Watch where
  applyOptionalParam :: KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
     ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
  ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListIngressForAllNamespaces 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 ListIngressForAllNamespaces MimeJSON
-- | @application/json;stream=watch@
instance Produces ListIngressForAllNamespaces MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListIngressForAllNamespaces MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListIngressForAllNamespaces MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListIngressForAllNamespaces MimeYaml


-- *** listNamespacedDaemonSet

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets@
-- 
-- list or watch objects of kind DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNamespacedDaemonSet 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ListNamespacedDaemonSet MimeNoContent V1beta1DaemonSetList accept
listNamespacedDaemonSet :: Accept accept
-> Namespace
-> KubernetesRequest
     ListNamespacedDaemonSet MimeNoContent V1beta1DaemonSetList accept
listNamespacedDaemonSet  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedDaemonSet MimeNoContent V1beta1DaemonSetList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets"]
    KubernetesRequest
  ListNamespacedDaemonSet MimeNoContent V1beta1DaemonSetList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedDaemonSet MimeNoContent V1beta1DaemonSetList 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 ListNamespacedDaemonSet  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedDaemonSet Pretty where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet Continue where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (Continue Text
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet FieldSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet LabelSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet Limit where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (Limit Int
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet ResourceVersion where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet Watch where
  applyOptionalParam :: KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedDaemonSet contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest ListNamespacedDaemonSet contentType res accept
req KubernetesRequest ListNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedDaemonSet 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 ListNamespacedDaemonSet MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedDaemonSet MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListNamespacedDaemonSet MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListNamespacedDaemonSet MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListNamespacedDaemonSet MimeYaml


-- *** listNamespacedDeployment

-- | @GET \/apis\/extensions\/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 ExtensionsV1beta1DeploymentList accept
listNamespacedDeployment :: Accept accept
-> Namespace
-> KubernetesRequest
     ListNamespacedDeployment
     MimeNoContent
     ExtensionsV1beta1DeploymentList
     accept
listNamespacedDeployment  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedDeployment
     MimeNoContent
     ExtensionsV1beta1DeploymentList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/deployments"]
    KubernetesRequest
  ListNamespacedDeployment
  MimeNoContent
  ExtensionsV1beta1DeploymentList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedDeployment
     MimeNoContent
     ExtensionsV1beta1DeploymentList
     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


-- *** listNamespacedIngress

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses@
-- 
-- list or watch objects of kind Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNamespacedIngress 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ListNamespacedIngress MimeNoContent ExtensionsV1beta1IngressList accept
listNamespacedIngress :: Accept accept
-> Namespace
-> KubernetesRequest
     ListNamespacedIngress
     MimeNoContent
     ExtensionsV1beta1IngressList
     accept
listNamespacedIngress  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedIngress
     MimeNoContent
     ExtensionsV1beta1IngressList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses"]
    KubernetesRequest
  ListNamespacedIngress
  MimeNoContent
  ExtensionsV1beta1IngressList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedIngress
     MimeNoContent
     ExtensionsV1beta1IngressList
     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 ListNamespacedIngress  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedIngress Pretty where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress Continue where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (Continue Text
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress FieldSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress LabelSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress Limit where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (Limit Int
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress ResourceVersion where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress Watch where
  applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedIngress MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListNamespacedIngress MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListNamespacedIngress MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListNamespacedIngress MimeYaml


-- *** listNamespacedNetworkPolicy

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/networkpolicies@
-- 
-- list or watch objects of kind NetworkPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNamespacedNetworkPolicy 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ListNamespacedNetworkPolicy MimeNoContent V1beta1NetworkPolicyList accept
listNamespacedNetworkPolicy :: Accept accept
-> Namespace
-> KubernetesRequest
     ListNamespacedNetworkPolicy
     MimeNoContent
     V1beta1NetworkPolicyList
     accept
listNamespacedNetworkPolicy  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedNetworkPolicy
     MimeNoContent
     V1beta1NetworkPolicyList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/networkpolicies"]
    KubernetesRequest
  ListNamespacedNetworkPolicy
  MimeNoContent
  V1beta1NetworkPolicyList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedNetworkPolicy
     MimeNoContent
     V1beta1NetworkPolicyList
     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 ListNamespacedNetworkPolicy  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedNetworkPolicy Pretty where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy Continue where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> Continue
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy Limit where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> Limit
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy Watch where
  applyOptionalParam :: KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> Watch
-> KubernetesRequest
     ListNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ListNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedNetworkPolicy 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 ListNamespacedNetworkPolicy MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedNetworkPolicy MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListNamespacedNetworkPolicy MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListNamespacedNetworkPolicy MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListNamespacedNetworkPolicy MimeYaml


-- *** listNamespacedReplicaSet

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets@
-- 
-- list or watch objects of kind ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNamespacedReplicaSet 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ListNamespacedReplicaSet MimeNoContent V1beta1ReplicaSetList accept
listNamespacedReplicaSet :: Accept accept
-> Namespace
-> KubernetesRequest
     ListNamespacedReplicaSet MimeNoContent V1beta1ReplicaSetList accept
listNamespacedReplicaSet  Accept accept
_ (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedReplicaSet MimeNoContent V1beta1ReplicaSetList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets"]
    KubernetesRequest
  ListNamespacedReplicaSet MimeNoContent V1beta1ReplicaSetList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedReplicaSet MimeNoContent V1beta1ReplicaSetList 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 ListNamespacedReplicaSet  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedReplicaSet Pretty where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> Pretty
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet Continue where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> Continue
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (Continue Text
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet FieldSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet LabelSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet Limit where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> Limit
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (Limit Int
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet ResourceVersion where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet Watch where
  applyOptionalParam :: KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> Watch
-> KubernetesRequest
     ListNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedReplicaSet contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest ListNamespacedReplicaSet contentType res accept
req KubernetesRequest ListNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedReplicaSet 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 ListNamespacedReplicaSet MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedReplicaSet MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListNamespacedReplicaSet MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListNamespacedReplicaSet MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListNamespacedReplicaSet MimeYaml


-- *** listNetworkPolicyForAllNamespaces

-- | @GET \/apis\/extensions\/v1beta1\/networkpolicies@
-- 
-- list or watch objects of kind NetworkPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNetworkPolicyForAllNamespaces 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListNetworkPolicyForAllNamespaces MimeNoContent V1beta1NetworkPolicyList accept
listNetworkPolicyForAllNamespaces :: Accept accept
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces
     MimeNoContent
     V1beta1NetworkPolicyList
     accept
listNetworkPolicyForAllNamespaces  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces
     MimeNoContent
     V1beta1NetworkPolicyList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/networkpolicies"]
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces
  MimeNoContent
  V1beta1NetworkPolicyList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces
     MimeNoContent
     V1beta1NetworkPolicyList
     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 ListNetworkPolicyForAllNamespaces  

-- | /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 ListNetworkPolicyForAllNamespaces AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces Continue where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces Limit where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces Pretty where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces Watch where
  applyOptionalParam :: KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
req KubernetesRequest
  ListNetworkPolicyForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNetworkPolicyForAllNamespaces 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 ListNetworkPolicyForAllNamespaces MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNetworkPolicyForAllNamespaces MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListNetworkPolicyForAllNamespaces MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListNetworkPolicyForAllNamespaces MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListNetworkPolicyForAllNamespaces MimeYaml


-- *** listPodSecurityPolicy

-- | @GET \/apis\/extensions\/v1beta1\/podsecuritypolicies@
-- 
-- list or watch objects of kind PodSecurityPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listPodSecurityPolicy 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListPodSecurityPolicy MimeNoContent ExtensionsV1beta1PodSecurityPolicyList accept
listPodSecurityPolicy :: Accept accept
-> KubernetesRequest
     ListPodSecurityPolicy
     MimeNoContent
     ExtensionsV1beta1PodSecurityPolicyList
     accept
listPodSecurityPolicy  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListPodSecurityPolicy
     MimeNoContent
     ExtensionsV1beta1PodSecurityPolicyList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/podsecuritypolicies"]
    KubernetesRequest
  ListPodSecurityPolicy
  MimeNoContent
  ExtensionsV1beta1PodSecurityPolicyList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListPodSecurityPolicy
     MimeNoContent
     ExtensionsV1beta1PodSecurityPolicyList
     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 ListPodSecurityPolicy  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListPodSecurityPolicy Pretty where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> Pretty
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy Continue where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> Continue
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (Continue Text
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy FieldSelector where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> FieldSelector
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy LabelSelector where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> LabelSelector
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy Limit where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> Limit
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (Limit Int
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy ResourceVersion where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> ResourceVersion
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy Watch where
  applyOptionalParam :: KubernetesRequest ListPodSecurityPolicy contentType res accept
-> Watch
-> KubernetesRequest ListPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ListPodSecurityPolicy contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest ListPodSecurityPolicy contentType res accept
req KubernetesRequest ListPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodSecurityPolicy 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 ListPodSecurityPolicy MimeJSON
-- | @application/json;stream=watch@
instance Produces ListPodSecurityPolicy MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListPodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListPodSecurityPolicy MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListPodSecurityPolicy MimeYaml


-- *** listReplicaSetForAllNamespaces

-- | @GET \/apis\/extensions\/v1beta1\/replicasets@
-- 
-- list or watch objects of kind ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listReplicaSetForAllNamespaces 
  :: Accept accept -- ^ request accept ('MimeType')
  -> KubernetesRequest ListReplicaSetForAllNamespaces MimeNoContent V1beta1ReplicaSetList accept
listReplicaSetForAllNamespaces :: Accept accept
-> KubernetesRequest
     ListReplicaSetForAllNamespaces
     MimeNoContent
     V1beta1ReplicaSetList
     accept
listReplicaSetForAllNamespaces  Accept accept
_ =
  Method
-> [ByteString]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces
     MimeNoContent
     V1beta1ReplicaSetList
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/replicasets"]
    KubernetesRequest
  ListReplicaSetForAllNamespaces
  MimeNoContent
  V1beta1ReplicaSetList
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListReplicaSetForAllNamespaces
     MimeNoContent
     V1beta1ReplicaSetList
     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 ListReplicaSetForAllNamespaces  

-- | /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 ListReplicaSetForAllNamespaces AllowWatchBookmarks where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces Continue where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (Continue Text
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces FieldSelector where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces LabelSelector where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces Limit where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (Limit Int
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces Pretty where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces ResourceVersion where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces Watch where
  applyOptionalParam :: KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
     ListReplicaSetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
req KubernetesRequest
  ListReplicaSetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListReplicaSetForAllNamespaces 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 ListReplicaSetForAllNamespaces MimeJSON
-- | @application/json;stream=watch@
instance Produces ListReplicaSetForAllNamespaces MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListReplicaSetForAllNamespaces MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListReplicaSetForAllNamespaces MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListReplicaSetForAllNamespaces MimeYaml


-- *** patchNamespacedDaemonSet

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets\/{name}@
-- 
-- partially update the specified DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedDaemonSet 
  :: (Consumes PatchNamespacedDaemonSet contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the DaemonSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedDaemonSet contentType V1beta1DaemonSet accept
patchNamespacedDaemonSet :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedDaemonSet contentType V1beta1DaemonSet accept
patchNamespacedDaemonSet ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedDaemonSet contentType V1beta1DaemonSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchNamespacedDaemonSet contentType V1beta1DaemonSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedDaemonSet contentType V1beta1DaemonSet 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
  PatchNamespacedDaemonSet contentType V1beta1DaemonSet accept
-> Body
-> KubernetesRequest
     PatchNamespacedDaemonSet contentType V1beta1DaemonSet 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 PatchNamespacedDaemonSet 
instance HasBodyParam PatchNamespacedDaemonSet Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedDaemonSet Pretty where
  applyOptionalParam :: KubernetesRequest PatchNamespacedDaemonSet contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedDaemonSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest PatchNamespacedDaemonSet contentType res accept
req KubernetesRequest PatchNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDaemonSet 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 PatchNamespacedDaemonSet DryRun where
  applyOptionalParam :: KubernetesRequest PatchNamespacedDaemonSet contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedDaemonSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest PatchNamespacedDaemonSet contentType res accept
req KubernetesRequest PatchNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDaemonSet 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 PatchNamespacedDaemonSet FieldManager where
  applyOptionalParam :: KubernetesRequest PatchNamespacedDaemonSet contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedDaemonSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest PatchNamespacedDaemonSet contentType res accept
req KubernetesRequest PatchNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDaemonSet 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 PatchNamespacedDaemonSet Force where
  applyOptionalParam :: KubernetesRequest PatchNamespacedDaemonSet contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedDaemonSet contentType res accept
req (Force Bool
xs) =
    KubernetesRequest PatchNamespacedDaemonSet contentType res accept
req KubernetesRequest PatchNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDaemonSet 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 PatchNamespacedDaemonSet MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDaemonSet MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedDaemonSet MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedDaemonSet MimeStrategicMergePatchjson

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


-- *** patchNamespacedDaemonSetStatus

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets\/{name}\/status@
-- 
-- partially update status of the specified DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedDaemonSetStatus 
  :: (Consumes PatchNamespacedDaemonSetStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the DaemonSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedDaemonSetStatus contentType V1beta1DaemonSet accept
patchNamespacedDaemonSetStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus contentType V1beta1DaemonSet accept
patchNamespacedDaemonSetStatus ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus contentType V1beta1DaemonSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType V1beta1DaemonSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus contentType V1beta1DaemonSet 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
  PatchNamespacedDaemonSetStatus contentType V1beta1DaemonSet accept
-> Body
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus contentType V1beta1DaemonSet 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 PatchNamespacedDaemonSetStatus 
instance HasBodyParam PatchNamespacedDaemonSetStatus Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedDaemonSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus 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 PatchNamespacedDaemonSetStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus 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 PatchNamespacedDaemonSetStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus 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 PatchNamespacedDaemonSetStatus Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedDaemonSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedDaemonSetStatus 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 PatchNamespacedDaemonSetStatus MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDaemonSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedDaemonSetStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedDaemonSetStatus MimeStrategicMergePatchjson

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


-- *** patchNamespacedDeployment

-- | @PATCH \/apis\/extensions\/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 ExtensionsV1beta1Deployment accept
patchNamespacedDeployment :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     accept
patchNamespacedDeployment ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     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
  ExtensionsV1beta1Deployment
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     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\/extensions\/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 ExtensionsV1beta1Scale accept
patchNamespacedDeploymentScale :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedDeploymentScale
     contentType
     ExtensionsV1beta1Scale
     accept
patchNamespacedDeploymentScale ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedDeploymentScale
     contentType
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedDeploymentScale
     contentType
     ExtensionsV1beta1Scale
     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
  ExtensionsV1beta1Scale
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedDeploymentScale
     contentType
     ExtensionsV1beta1Scale
     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\/extensions\/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 ExtensionsV1beta1Deployment accept
patchNamespacedDeploymentStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedDeploymentStatus
     contentType
     ExtensionsV1beta1Deployment
     accept
patchNamespacedDeploymentStatus ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedDeploymentStatus
     contentType
     ExtensionsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedDeploymentStatus
     contentType
     ExtensionsV1beta1Deployment
     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
  ExtensionsV1beta1Deployment
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedDeploymentStatus
     contentType
     ExtensionsV1beta1Deployment
     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


-- *** patchNamespacedIngress

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses\/{name}@
-- 
-- partially update the specified Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedIngress 
  :: (Consumes PatchNamespacedIngress contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the Ingress
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedIngress contentType ExtensionsV1beta1Ingress accept
patchNamespacedIngress :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedIngress contentType ExtensionsV1beta1Ingress accept
patchNamespacedIngress ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedIngress contentType ExtensionsV1beta1Ingress accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchNamespacedIngress contentType ExtensionsV1beta1Ingress accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedIngress contentType ExtensionsV1beta1Ingress 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
  PatchNamespacedIngress contentType ExtensionsV1beta1Ingress accept
-> Body
-> KubernetesRequest
     PatchNamespacedIngress contentType ExtensionsV1beta1Ingress 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 PatchNamespacedIngress 
instance HasBodyParam PatchNamespacedIngress Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedIngress Pretty where
  applyOptionalParam :: KubernetesRequest PatchNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedIngress contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest PatchNamespacedIngress contentType res accept
req KubernetesRequest PatchNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedIngress 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 PatchNamespacedIngress DryRun where
  applyOptionalParam :: KubernetesRequest PatchNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedIngress contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest PatchNamespacedIngress contentType res accept
req KubernetesRequest PatchNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedIngress 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 PatchNamespacedIngress FieldManager where
  applyOptionalParam :: KubernetesRequest PatchNamespacedIngress contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedIngress contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest PatchNamespacedIngress contentType res accept
req KubernetesRequest PatchNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedIngress 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 PatchNamespacedIngress Force where
  applyOptionalParam :: KubernetesRequest PatchNamespacedIngress contentType res accept
-> Force
-> KubernetesRequest PatchNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedIngress contentType res accept
req (Force Bool
xs) =
    KubernetesRequest PatchNamespacedIngress contentType res accept
req KubernetesRequest PatchNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedIngress 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 PatchNamespacedIngress MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedIngress MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedIngress MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedIngress MimeStrategicMergePatchjson

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


-- *** patchNamespacedIngressStatus

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses\/{name}\/status@
-- 
-- partially update status of the specified Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedIngressStatus 
  :: (Consumes PatchNamespacedIngressStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the Ingress
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedIngressStatus contentType ExtensionsV1beta1Ingress accept
patchNamespacedIngressStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedIngressStatus
     contentType
     ExtensionsV1beta1Ingress
     accept
patchNamespacedIngressStatus ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedIngressStatus
     contentType
     ExtensionsV1beta1Ingress
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  PatchNamespacedIngressStatus
  contentType
  ExtensionsV1beta1Ingress
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedIngressStatus
     contentType
     ExtensionsV1beta1Ingress
     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
  PatchNamespacedIngressStatus
  contentType
  ExtensionsV1beta1Ingress
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedIngressStatus
     contentType
     ExtensionsV1beta1Ingress
     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 PatchNamespacedIngressStatus 
instance HasBodyParam PatchNamespacedIngressStatus Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedIngressStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
req KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedIngressStatus 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 PatchNamespacedIngressStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
req KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedIngressStatus 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 PatchNamespacedIngressStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
req KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedIngressStatus 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 PatchNamespacedIngressStatus Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
req KubernetesRequest
  PatchNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedIngressStatus 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 PatchNamespacedIngressStatus MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedIngressStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedIngressStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedIngressStatus MimeStrategicMergePatchjson

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


-- *** patchNamespacedNetworkPolicy

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/networkpolicies\/{name}@
-- 
-- partially update the specified NetworkPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedNetworkPolicy 
  :: (Consumes PatchNamespacedNetworkPolicy contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the NetworkPolicy
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedNetworkPolicy contentType V1beta1NetworkPolicy accept
patchNamespacedNetworkPolicy :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     accept
patchNamespacedNetworkPolicy ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/networkpolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchNamespacedNetworkPolicy
  contentType
  V1beta1NetworkPolicy
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     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
  PatchNamespacedNetworkPolicy
  contentType
  V1beta1NetworkPolicy
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     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 PatchNamespacedNetworkPolicy 
instance HasBodyParam PatchNamespacedNetworkPolicy Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedNetworkPolicy Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedNetworkPolicy 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 PatchNamespacedNetworkPolicy DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedNetworkPolicy 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 PatchNamespacedNetworkPolicy FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedNetworkPolicy 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 PatchNamespacedNetworkPolicy Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  PatchNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedNetworkPolicy 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 PatchNamespacedNetworkPolicy MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedNetworkPolicy MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedNetworkPolicy MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedNetworkPolicy MimeStrategicMergePatchjson

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


-- *** patchNamespacedReplicaSet

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}@
-- 
-- partially update the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedReplicaSet 
  :: (Consumes PatchNamespacedReplicaSet contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the ReplicaSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedReplicaSet contentType V1beta1ReplicaSet accept
patchNamespacedReplicaSet :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedReplicaSet contentType V1beta1ReplicaSet accept
patchNamespacedReplicaSet ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedReplicaSet contentType V1beta1ReplicaSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchNamespacedReplicaSet contentType V1beta1ReplicaSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedReplicaSet contentType V1beta1ReplicaSet 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
  PatchNamespacedReplicaSet contentType V1beta1ReplicaSet accept
-> Body
-> KubernetesRequest
     PatchNamespacedReplicaSet contentType V1beta1ReplicaSet 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 PatchNamespacedReplicaSet 
instance HasBodyParam PatchNamespacedReplicaSet Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedReplicaSet Pretty where
  applyOptionalParam :: KubernetesRequest PatchNamespacedReplicaSet contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedReplicaSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest PatchNamespacedReplicaSet contentType res accept
req KubernetesRequest PatchNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSet 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 PatchNamespacedReplicaSet DryRun where
  applyOptionalParam :: KubernetesRequest PatchNamespacedReplicaSet contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedReplicaSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest PatchNamespacedReplicaSet contentType res accept
req KubernetesRequest PatchNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSet 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 PatchNamespacedReplicaSet FieldManager where
  applyOptionalParam :: KubernetesRequest PatchNamespacedReplicaSet contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedReplicaSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest PatchNamespacedReplicaSet contentType res accept
req KubernetesRequest PatchNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSet 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 PatchNamespacedReplicaSet Force where
  applyOptionalParam :: KubernetesRequest PatchNamespacedReplicaSet contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedReplicaSet contentType res accept
req (Force Bool
xs) =
    KubernetesRequest PatchNamespacedReplicaSet contentType res accept
req KubernetesRequest PatchNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSet 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 PatchNamespacedReplicaSet MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSet MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedReplicaSet MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedReplicaSet MimeStrategicMergePatchjson

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


-- *** patchNamespacedReplicaSetScale

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}\/scale@
-- 
-- partially update scale of the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedReplicaSetScale 
  :: (Consumes PatchNamespacedReplicaSetScale 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 PatchNamespacedReplicaSetScale contentType ExtensionsV1beta1Scale accept
patchNamespacedReplicaSetScale :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedReplicaSetScale
     contentType
     ExtensionsV1beta1Scale
     accept
patchNamespacedReplicaSetScale ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedReplicaSetScale
     contentType
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  PatchNamespacedReplicaSetScale
  contentType
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedReplicaSetScale
     contentType
     ExtensionsV1beta1Scale
     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
  PatchNamespacedReplicaSetScale
  contentType
  ExtensionsV1beta1Scale
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedReplicaSetScale
     contentType
     ExtensionsV1beta1Scale
     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 PatchNamespacedReplicaSetScale 
instance HasBodyParam PatchNamespacedReplicaSetScale Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedReplicaSetScale Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedReplicaSetScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
req KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSetScale 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 PatchNamespacedReplicaSetScale DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedReplicaSetScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
req KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSetScale 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 PatchNamespacedReplicaSetScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedReplicaSetScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
req KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSetScale 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 PatchNamespacedReplicaSetScale Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedReplicaSetScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
req KubernetesRequest
  PatchNamespacedReplicaSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSetScale 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 PatchNamespacedReplicaSetScale MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSetScale MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedReplicaSetScale MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedReplicaSetScale MimeStrategicMergePatchjson

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


-- *** patchNamespacedReplicaSetStatus

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}\/status@
-- 
-- partially update status of the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedReplicaSetStatus 
  :: (Consumes PatchNamespacedReplicaSetStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the ReplicaSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest PatchNamespacedReplicaSetStatus contentType V1beta1ReplicaSet accept
patchNamespacedReplicaSetStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus
     contentType
     V1beta1ReplicaSet
     accept
patchNamespacedReplicaSetStatus ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus
     contentType
     V1beta1ReplicaSet
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  PatchNamespacedReplicaSetStatus
  contentType
  V1beta1ReplicaSet
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus
     contentType
     V1beta1ReplicaSet
     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
  PatchNamespacedReplicaSetStatus
  contentType
  V1beta1ReplicaSet
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus
     contentType
     V1beta1ReplicaSet
     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 PatchNamespacedReplicaSetStatus 
instance HasBodyParam PatchNamespacedReplicaSetStatus Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedReplicaSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus 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 PatchNamespacedReplicaSetStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus 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 PatchNamespacedReplicaSetStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus 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 PatchNamespacedReplicaSetStatus Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
req KubernetesRequest
  PatchNamespacedReplicaSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicaSetStatus 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 PatchNamespacedReplicaSetStatus MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedReplicaSetStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedReplicaSetStatus MimeStrategicMergePatchjson

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


-- *** patchNamespacedReplicationControllerDummyScale

-- | @PATCH \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicationcontrollers\/{name}\/scale@
-- 
-- partially update scale of the specified ReplicationControllerDummy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedReplicationControllerDummyScale 
  :: (Consumes PatchNamespacedReplicationControllerDummyScale 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 PatchNamespacedReplicationControllerDummyScale contentType ExtensionsV1beta1Scale accept
patchNamespacedReplicationControllerDummyScale :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     contentType
     ExtensionsV1beta1Scale
     accept
patchNamespacedReplicationControllerDummyScale ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     contentType
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     contentType
     ExtensionsV1beta1Scale
     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
  PatchNamespacedReplicationControllerDummyScale
  contentType
  ExtensionsV1beta1Scale
  accept
-> Body
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     contentType
     ExtensionsV1beta1Scale
     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 PatchNamespacedReplicationControllerDummyScale 
instance HasBodyParam PatchNamespacedReplicationControllerDummyScale Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchNamespacedReplicationControllerDummyScale Pretty where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> Pretty
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     contentType
     res
     accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req (Pretty Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     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 PatchNamespacedReplicationControllerDummyScale DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     contentType
     res
     accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     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 PatchNamespacedReplicationControllerDummyScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     contentType
     res
     accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     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 PatchNamespacedReplicationControllerDummyScale Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> Force
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     contentType
     res
     accept
applyOptionalParam KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req KubernetesRequest
  PatchNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedReplicationControllerDummyScale
     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 PatchNamespacedReplicationControllerDummyScale MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicationControllerDummyScale MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedReplicationControllerDummyScale MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchNamespacedReplicationControllerDummyScale MimeStrategicMergePatchjson

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


-- *** patchPodSecurityPolicy

-- | @PATCH \/apis\/extensions\/v1beta1\/podsecuritypolicies\/{name}@
-- 
-- partially update the specified PodSecurityPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchPodSecurityPolicy 
  :: (Consumes PatchPodSecurityPolicy contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Name -- ^ "name" -  name of the PodSecurityPolicy
  -> KubernetesRequest PatchPodSecurityPolicy contentType ExtensionsV1beta1PodSecurityPolicy accept
patchPodSecurityPolicy :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
     PatchPodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     accept
patchPodSecurityPolicy ContentType contentType
_  Accept accept
_ Body
body (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchPodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/extensions/v1beta1/podsecuritypolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchPodSecurityPolicy
  contentType
  ExtensionsV1beta1PodSecurityPolicy
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchPodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     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
  PatchPodSecurityPolicy
  contentType
  ExtensionsV1beta1PodSecurityPolicy
  accept
-> Body
-> KubernetesRequest
     PatchPodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     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 PatchPodSecurityPolicy 
instance HasBodyParam PatchPodSecurityPolicy Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchPodSecurityPolicy Pretty where
  applyOptionalParam :: KubernetesRequest PatchPodSecurityPolicy contentType res accept
-> Pretty
-> KubernetesRequest PatchPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest PatchPodSecurityPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest PatchPodSecurityPolicy contentType res accept
req KubernetesRequest PatchPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchPodSecurityPolicy 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 PatchPodSecurityPolicy DryRun where
  applyOptionalParam :: KubernetesRequest PatchPodSecurityPolicy contentType res accept
-> DryRun
-> KubernetesRequest PatchPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest PatchPodSecurityPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest PatchPodSecurityPolicy contentType res accept
req KubernetesRequest PatchPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchPodSecurityPolicy 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 PatchPodSecurityPolicy FieldManager where
  applyOptionalParam :: KubernetesRequest PatchPodSecurityPolicy contentType res accept
-> FieldManager
-> KubernetesRequest PatchPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest PatchPodSecurityPolicy contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest PatchPodSecurityPolicy contentType res accept
req KubernetesRequest PatchPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchPodSecurityPolicy 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 PatchPodSecurityPolicy Force where
  applyOptionalParam :: KubernetesRequest PatchPodSecurityPolicy contentType res accept
-> Force
-> KubernetesRequest PatchPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest PatchPodSecurityPolicy contentType res accept
req (Force Bool
xs) =
    KubernetesRequest PatchPodSecurityPolicy contentType res accept
req KubernetesRequest PatchPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchPodSecurityPolicy 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 PatchPodSecurityPolicy MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchPodSecurityPolicy MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchPodSecurityPolicy MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchPodSecurityPolicy MimeStrategicMergePatchjson

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


-- *** readNamespacedDaemonSet

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets\/{name}@
-- 
-- read the specified DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedDaemonSet 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the DaemonSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedDaemonSet MimeNoContent V1beta1DaemonSet accept
readNamespacedDaemonSet :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedDaemonSet MimeNoContent V1beta1DaemonSet accept
readNamespacedDaemonSet  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedDaemonSet MimeNoContent V1beta1DaemonSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReadNamespacedDaemonSet MimeNoContent V1beta1DaemonSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedDaemonSet MimeNoContent V1beta1DaemonSet 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 ReadNamespacedDaemonSet  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedDaemonSet Pretty where
  applyOptionalParam :: KubernetesRequest ReadNamespacedDaemonSet contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedDaemonSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReadNamespacedDaemonSet contentType res accept
req KubernetesRequest ReadNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedDaemonSet 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 ReadNamespacedDaemonSet Exact where
  applyOptionalParam :: KubernetesRequest ReadNamespacedDaemonSet contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedDaemonSet contentType res accept
req (Exact Bool
xs) =
    KubernetesRequest ReadNamespacedDaemonSet contentType res accept
req KubernetesRequest ReadNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedDaemonSet 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 ReadNamespacedDaemonSet Export where
  applyOptionalParam :: KubernetesRequest ReadNamespacedDaemonSet contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedDaemonSet contentType res accept
req (Export Bool
xs) =
    KubernetesRequest ReadNamespacedDaemonSet contentType res accept
req KubernetesRequest ReadNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedDaemonSet 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 ReadNamespacedDaemonSet MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedDaemonSet MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedDaemonSet MimeYaml


-- *** readNamespacedDaemonSetStatus

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets\/{name}\/status@
-- 
-- read status of the specified DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedDaemonSetStatus 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the DaemonSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedDaemonSetStatus MimeNoContent V1beta1DaemonSet accept
readNamespacedDaemonSetStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedDaemonSetStatus MimeNoContent V1beta1DaemonSet accept
readNamespacedDaemonSetStatus  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedDaemonSetStatus MimeNoContent V1beta1DaemonSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReadNamespacedDaemonSetStatus MimeNoContent V1beta1DaemonSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedDaemonSetStatus MimeNoContent V1beta1DaemonSet 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 ReadNamespacedDaemonSetStatus  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedDaemonSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedDaemonSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedDaemonSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedDaemonSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedDaemonSetStatus contentType res accept
req KubernetesRequest
  ReadNamespacedDaemonSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedDaemonSetStatus 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 ReadNamespacedDaemonSetStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedDaemonSetStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedDaemonSetStatus MimeYaml


-- *** readNamespacedDeployment

-- | @GET \/apis\/extensions\/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 ExtensionsV1beta1Deployment accept
readNamespacedDeployment :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedDeployment
     MimeNoContent
     ExtensionsV1beta1Deployment
     accept
readNamespacedDeployment  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedDeployment
     MimeNoContent
     ExtensionsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedDeployment
     MimeNoContent
     ExtensionsV1beta1Deployment
     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\/extensions\/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 ExtensionsV1beta1Scale accept
readNamespacedDeploymentScale :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedDeploymentScale
     MimeNoContent
     ExtensionsV1beta1Scale
     accept
readNamespacedDeploymentScale  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedDeploymentScale
     MimeNoContent
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedDeploymentScale
     MimeNoContent
     ExtensionsV1beta1Scale
     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\/extensions\/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 ExtensionsV1beta1Deployment accept
readNamespacedDeploymentStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedDeploymentStatus
     MimeNoContent
     ExtensionsV1beta1Deployment
     accept
readNamespacedDeploymentStatus  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedDeploymentStatus
     MimeNoContent
     ExtensionsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedDeploymentStatus
     MimeNoContent
     ExtensionsV1beta1Deployment
     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


-- *** readNamespacedIngress

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses\/{name}@
-- 
-- read the specified Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedIngress 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the Ingress
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedIngress MimeNoContent ExtensionsV1beta1Ingress accept
readNamespacedIngress :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedIngress MimeNoContent ExtensionsV1beta1Ingress accept
readNamespacedIngress  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedIngress MimeNoContent ExtensionsV1beta1Ingress accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReadNamespacedIngress MimeNoContent ExtensionsV1beta1Ingress accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedIngress MimeNoContent ExtensionsV1beta1Ingress 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 ReadNamespacedIngress  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedIngress Pretty where
  applyOptionalParam :: KubernetesRequest ReadNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedIngress contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReadNamespacedIngress contentType res accept
req KubernetesRequest ReadNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedIngress 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 ReadNamespacedIngress Exact where
  applyOptionalParam :: KubernetesRequest ReadNamespacedIngress contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedIngress contentType res accept
req (Exact Bool
xs) =
    KubernetesRequest ReadNamespacedIngress contentType res accept
req KubernetesRequest ReadNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedIngress 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 ReadNamespacedIngress Export where
  applyOptionalParam :: KubernetesRequest ReadNamespacedIngress contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedIngress contentType res accept
req (Export Bool
xs) =
    KubernetesRequest ReadNamespacedIngress contentType res accept
req KubernetesRequest ReadNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedIngress 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 ReadNamespacedIngress MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedIngress MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedIngress MimeYaml


-- *** readNamespacedIngressStatus

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses\/{name}\/status@
-- 
-- read status of the specified Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedIngressStatus 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the Ingress
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedIngressStatus MimeNoContent ExtensionsV1beta1Ingress accept
readNamespacedIngressStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedIngressStatus
     MimeNoContent
     ExtensionsV1beta1Ingress
     accept
readNamespacedIngressStatus  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedIngressStatus
     MimeNoContent
     ExtensionsV1beta1Ingress
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReadNamespacedIngressStatus
  MimeNoContent
  ExtensionsV1beta1Ingress
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedIngressStatus
     MimeNoContent
     ExtensionsV1beta1Ingress
     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 ReadNamespacedIngressStatus  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedIngressStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedIngressStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedIngressStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedIngressStatus contentType res accept
req KubernetesRequest
  ReadNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedIngressStatus 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 ReadNamespacedIngressStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedIngressStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedIngressStatus MimeYaml


-- *** readNamespacedNetworkPolicy

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/networkpolicies\/{name}@
-- 
-- read the specified NetworkPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedNetworkPolicy 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the NetworkPolicy
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedNetworkPolicy MimeNoContent V1beta1NetworkPolicy accept
readNamespacedNetworkPolicy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedNetworkPolicy
     MimeNoContent
     V1beta1NetworkPolicy
     accept
readNamespacedNetworkPolicy  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedNetworkPolicy
     MimeNoContent
     V1beta1NetworkPolicy
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/networkpolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReadNamespacedNetworkPolicy
  MimeNoContent
  V1beta1NetworkPolicy
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedNetworkPolicy
     MimeNoContent
     V1beta1NetworkPolicy
     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 ReadNamespacedNetworkPolicy  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedNetworkPolicy Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedNetworkPolicy 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 ReadNamespacedNetworkPolicy Exact where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
-> Exact
-> KubernetesRequest
     ReadNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
req (Exact Bool
xs) =
    KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedNetworkPolicy 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 ReadNamespacedNetworkPolicy Export where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
-> Export
-> KubernetesRequest
     ReadNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
req (Export Bool
xs) =
    KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ReadNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedNetworkPolicy 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 ReadNamespacedNetworkPolicy MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedNetworkPolicy MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedNetworkPolicy MimeYaml


-- *** readNamespacedReplicaSet

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}@
-- 
-- read the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedReplicaSet 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the ReplicaSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedReplicaSet MimeNoContent V1beta1ReplicaSet accept
readNamespacedReplicaSet :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedReplicaSet MimeNoContent V1beta1ReplicaSet accept
readNamespacedReplicaSet  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedReplicaSet MimeNoContent V1beta1ReplicaSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReadNamespacedReplicaSet MimeNoContent V1beta1ReplicaSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedReplicaSet MimeNoContent V1beta1ReplicaSet 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 ReadNamespacedReplicaSet  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedReplicaSet Pretty where
  applyOptionalParam :: KubernetesRequest ReadNamespacedReplicaSet contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedReplicaSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReadNamespacedReplicaSet contentType res accept
req KubernetesRequest ReadNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedReplicaSet 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 ReadNamespacedReplicaSet Exact where
  applyOptionalParam :: KubernetesRequest ReadNamespacedReplicaSet contentType res accept
-> Exact
-> KubernetesRequest
     ReadNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedReplicaSet contentType res accept
req (Exact Bool
xs) =
    KubernetesRequest ReadNamespacedReplicaSet contentType res accept
req KubernetesRequest ReadNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedReplicaSet 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 ReadNamespacedReplicaSet Export where
  applyOptionalParam :: KubernetesRequest ReadNamespacedReplicaSet contentType res accept
-> Export
-> KubernetesRequest
     ReadNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedReplicaSet contentType res accept
req (Export Bool
xs) =
    KubernetesRequest ReadNamespacedReplicaSet contentType res accept
req KubernetesRequest ReadNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedReplicaSet 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 ReadNamespacedReplicaSet MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedReplicaSet MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedReplicaSet MimeYaml


-- *** readNamespacedReplicaSetScale

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}\/scale@
-- 
-- read scale of the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedReplicaSetScale 
  :: 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 ReadNamespacedReplicaSetScale MimeNoContent ExtensionsV1beta1Scale accept
readNamespacedReplicaSetScale :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedReplicaSetScale
     MimeNoContent
     ExtensionsV1beta1Scale
     accept
readNamespacedReplicaSetScale  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedReplicaSetScale
     MimeNoContent
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReadNamespacedReplicaSetScale
  MimeNoContent
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedReplicaSetScale
     MimeNoContent
     ExtensionsV1beta1Scale
     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 ReadNamespacedReplicaSetScale  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedReplicaSetScale Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedReplicaSetScale contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedReplicaSetScale contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedReplicaSetScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedReplicaSetScale contentType res accept
req KubernetesRequest
  ReadNamespacedReplicaSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedReplicaSetScale 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 ReadNamespacedReplicaSetScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedReplicaSetScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedReplicaSetScale MimeYaml


-- *** readNamespacedReplicaSetStatus

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}\/status@
-- 
-- read status of the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedReplicaSetStatus 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the ReplicaSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReadNamespacedReplicaSetStatus MimeNoContent V1beta1ReplicaSet accept
readNamespacedReplicaSetStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedReplicaSetStatus
     MimeNoContent
     V1beta1ReplicaSet
     accept
readNamespacedReplicaSetStatus  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedReplicaSetStatus
     MimeNoContent
     V1beta1ReplicaSet
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReadNamespacedReplicaSetStatus
  MimeNoContent
  V1beta1ReplicaSet
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedReplicaSetStatus
     MimeNoContent
     V1beta1ReplicaSet
     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 ReadNamespacedReplicaSetStatus  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedReplicaSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedReplicaSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedReplicaSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReadNamespacedReplicaSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedReplicaSetStatus contentType res accept
req KubernetesRequest
  ReadNamespacedReplicaSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedReplicaSetStatus 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 ReadNamespacedReplicaSetStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedReplicaSetStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedReplicaSetStatus MimeYaml


-- *** readNamespacedReplicationControllerDummyScale

-- | @GET \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicationcontrollers\/{name}\/scale@
-- 
-- read scale of the specified ReplicationControllerDummy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readNamespacedReplicationControllerDummyScale 
  :: 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 ReadNamespacedReplicationControllerDummyScale MimeNoContent ExtensionsV1beta1Scale accept
readNamespacedReplicationControllerDummyScale :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
     ReadNamespacedReplicationControllerDummyScale
     MimeNoContent
     ExtensionsV1beta1Scale
     accept
readNamespacedReplicationControllerDummyScale  Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadNamespacedReplicationControllerDummyScale
     MimeNoContent
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReadNamespacedReplicationControllerDummyScale
  MimeNoContent
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadNamespacedReplicationControllerDummyScale
     MimeNoContent
     ExtensionsV1beta1Scale
     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 ReadNamespacedReplicationControllerDummyScale  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadNamespacedReplicationControllerDummyScale Pretty where
  applyOptionalParam :: KubernetesRequest
  ReadNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> Pretty
-> KubernetesRequest
     ReadNamespacedReplicationControllerDummyScale
     contentType
     res
     accept
applyOptionalParam KubernetesRequest
  ReadNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReadNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req KubernetesRequest
  ReadNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> [QueryItem]
-> KubernetesRequest
     ReadNamespacedReplicationControllerDummyScale
     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 ReadNamespacedReplicationControllerDummyScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadNamespacedReplicationControllerDummyScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadNamespacedReplicationControllerDummyScale MimeYaml


-- *** readPodSecurityPolicy

-- | @GET \/apis\/extensions\/v1beta1\/podsecuritypolicies\/{name}@
-- 
-- read the specified PodSecurityPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
readPodSecurityPolicy 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Name -- ^ "name" -  name of the PodSecurityPolicy
  -> KubernetesRequest ReadPodSecurityPolicy MimeNoContent ExtensionsV1beta1PodSecurityPolicy accept
readPodSecurityPolicy :: Accept accept
-> Name
-> KubernetesRequest
     ReadPodSecurityPolicy
     MimeNoContent
     ExtensionsV1beta1PodSecurityPolicy
     accept
readPodSecurityPolicy  Accept accept
_ (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReadPodSecurityPolicy
     MimeNoContent
     ExtensionsV1beta1PodSecurityPolicy
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/extensions/v1beta1/podsecuritypolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReadPodSecurityPolicy
  MimeNoContent
  ExtensionsV1beta1PodSecurityPolicy
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReadPodSecurityPolicy
     MimeNoContent
     ExtensionsV1beta1PodSecurityPolicy
     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 ReadPodSecurityPolicy  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadPodSecurityPolicy Pretty where
  applyOptionalParam :: KubernetesRequest ReadPodSecurityPolicy contentType res accept
-> Pretty
-> KubernetesRequest ReadPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ReadPodSecurityPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReadPodSecurityPolicy contentType res accept
req KubernetesRequest ReadPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadPodSecurityPolicy 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 ReadPodSecurityPolicy Exact where
  applyOptionalParam :: KubernetesRequest ReadPodSecurityPolicy contentType res accept
-> Exact
-> KubernetesRequest ReadPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ReadPodSecurityPolicy contentType res accept
req (Exact Bool
xs) =
    KubernetesRequest ReadPodSecurityPolicy contentType res accept
req KubernetesRequest ReadPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadPodSecurityPolicy 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 ReadPodSecurityPolicy Export where
  applyOptionalParam :: KubernetesRequest ReadPodSecurityPolicy contentType res accept
-> Export
-> KubernetesRequest ReadPodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ReadPodSecurityPolicy contentType res accept
req (Export Bool
xs) =
    KubernetesRequest ReadPodSecurityPolicy contentType res accept
req KubernetesRequest ReadPodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadPodSecurityPolicy 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 ReadPodSecurityPolicy MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadPodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadPodSecurityPolicy MimeYaml


-- *** replaceNamespacedDaemonSet

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets\/{name}@
-- 
-- replace the specified DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedDaemonSet 
  :: (Consumes ReplaceNamespacedDaemonSet contentType, MimeRender contentType V1beta1DaemonSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1DaemonSet -- ^ "body"
  -> Name -- ^ "name" -  name of the DaemonSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedDaemonSet contentType V1beta1DaemonSet accept
replaceNamespacedDaemonSet :: ContentType contentType
-> Accept accept
-> V1beta1DaemonSet
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedDaemonSet contentType V1beta1DaemonSet accept
replaceNamespacedDaemonSet ContentType contentType
_  Accept accept
_ V1beta1DaemonSet
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedDaemonSet contentType V1beta1DaemonSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceNamespacedDaemonSet contentType V1beta1DaemonSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedDaemonSet contentType V1beta1DaemonSet 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
  ReplaceNamespacedDaemonSet contentType V1beta1DaemonSet accept
-> V1beta1DaemonSet
-> KubernetesRequest
     ReplaceNamespacedDaemonSet contentType V1beta1DaemonSet 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` V1beta1DaemonSet
body

data ReplaceNamespacedDaemonSet 
instance HasBodyParam ReplaceNamespacedDaemonSet V1beta1DaemonSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedDaemonSet Pretty where
  applyOptionalParam :: KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
req KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDaemonSet 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 ReplaceNamespacedDaemonSet DryRun where
  applyOptionalParam :: KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
req KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDaemonSet 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 ReplaceNamespacedDaemonSet FieldManager where
  applyOptionalParam :: KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedDaemonSet contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
req KubernetesRequest ReplaceNamespacedDaemonSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDaemonSet 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 ReplaceNamespacedDaemonSet mtype

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


-- *** replaceNamespacedDaemonSetStatus

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/daemonsets\/{name}\/status@
-- 
-- replace status of the specified DaemonSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedDaemonSetStatus 
  :: (Consumes ReplaceNamespacedDaemonSetStatus contentType, MimeRender contentType V1beta1DaemonSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1DaemonSet -- ^ "body"
  -> Name -- ^ "name" -  name of the DaemonSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedDaemonSetStatus contentType V1beta1DaemonSet accept
replaceNamespacedDaemonSetStatus :: ContentType contentType
-> Accept accept
-> V1beta1DaemonSet
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus
     contentType
     V1beta1DaemonSet
     accept
replaceNamespacedDaemonSetStatus ContentType contentType
_  Accept accept
_ V1beta1DaemonSet
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus
     contentType
     V1beta1DaemonSet
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/daemonsets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReplaceNamespacedDaemonSetStatus
  contentType
  V1beta1DaemonSet
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus
     contentType
     V1beta1DaemonSet
     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
  ReplaceNamespacedDaemonSetStatus
  contentType
  V1beta1DaemonSet
  accept
-> V1beta1DaemonSet
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus
     contentType
     V1beta1DaemonSet
     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` V1beta1DaemonSet
body

data ReplaceNamespacedDaemonSetStatus 
instance HasBodyParam ReplaceNamespacedDaemonSetStatus V1beta1DaemonSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedDaemonSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus 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 ReplaceNamespacedDaemonSetStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus 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 ReplaceNamespacedDaemonSetStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedDaemonSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedDaemonSetStatus 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 ReplaceNamespacedDaemonSetStatus mtype

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


-- *** replaceNamespacedDeployment

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
-- 
-- replace the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedDeployment 
  :: (Consumes ReplaceNamespacedDeployment contentType, MimeRender contentType ExtensionsV1beta1Deployment)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Deployment -- ^ "body"
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedDeployment contentType ExtensionsV1beta1Deployment accept
replaceNamespacedDeployment :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Deployment
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     accept
replaceNamespacedDeployment ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Deployment
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     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
  ExtensionsV1beta1Deployment
  accept
-> ExtensionsV1beta1Deployment
-> KubernetesRequest
     ReplaceNamespacedDeployment
     contentType
     ExtensionsV1beta1Deployment
     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` ExtensionsV1beta1Deployment
body

data ReplaceNamespacedDeployment 
instance HasBodyParam ReplaceNamespacedDeployment ExtensionsV1beta1Deployment 

-- | /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\/extensions\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/scale@
-- 
-- replace scale of the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedDeploymentScale 
  :: (Consumes ReplaceNamespacedDeploymentScale contentType, MimeRender contentType ExtensionsV1beta1Scale)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Scale -- ^ "body"
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedDeploymentScale contentType ExtensionsV1beta1Scale accept
replaceNamespacedDeploymentScale :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Scale
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale
     contentType
     ExtensionsV1beta1Scale
     accept
replaceNamespacedDeploymentScale ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Scale
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale
     contentType
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale
     contentType
     ExtensionsV1beta1Scale
     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
  ExtensionsV1beta1Scale
  accept
-> ExtensionsV1beta1Scale
-> KubernetesRequest
     ReplaceNamespacedDeploymentScale
     contentType
     ExtensionsV1beta1Scale
     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` ExtensionsV1beta1Scale
body

data ReplaceNamespacedDeploymentScale 
instance HasBodyParam ReplaceNamespacedDeploymentScale ExtensionsV1beta1Scale 

-- | /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\/extensions\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/status@
-- 
-- replace status of the specified Deployment
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedDeploymentStatus 
  :: (Consumes ReplaceNamespacedDeploymentStatus contentType, MimeRender contentType ExtensionsV1beta1Deployment)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Deployment -- ^ "body"
  -> Name -- ^ "name" -  name of the Deployment
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedDeploymentStatus contentType ExtensionsV1beta1Deployment accept
replaceNamespacedDeploymentStatus :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Deployment
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus
     contentType
     ExtensionsV1beta1Deployment
     accept
replaceNamespacedDeploymentStatus ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Deployment
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus
     contentType
     ExtensionsV1beta1Deployment
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/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
  ExtensionsV1beta1Deployment
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus
     contentType
     ExtensionsV1beta1Deployment
     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
  ExtensionsV1beta1Deployment
  accept
-> ExtensionsV1beta1Deployment
-> KubernetesRequest
     ReplaceNamespacedDeploymentStatus
     contentType
     ExtensionsV1beta1Deployment
     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` ExtensionsV1beta1Deployment
body

data ReplaceNamespacedDeploymentStatus 
instance HasBodyParam ReplaceNamespacedDeploymentStatus ExtensionsV1beta1Deployment 

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


-- *** replaceNamespacedIngress

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses\/{name}@
-- 
-- replace the specified Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedIngress 
  :: (Consumes ReplaceNamespacedIngress contentType, MimeRender contentType ExtensionsV1beta1Ingress)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Ingress -- ^ "body"
  -> Name -- ^ "name" -  name of the Ingress
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedIngress contentType ExtensionsV1beta1Ingress accept
replaceNamespacedIngress :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Ingress
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedIngress
     contentType
     ExtensionsV1beta1Ingress
     accept
replaceNamespacedIngress ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Ingress
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedIngress
     contentType
     ExtensionsV1beta1Ingress
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceNamespacedIngress
  contentType
  ExtensionsV1beta1Ingress
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedIngress
     contentType
     ExtensionsV1beta1Ingress
     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
  ReplaceNamespacedIngress
  contentType
  ExtensionsV1beta1Ingress
  accept
-> ExtensionsV1beta1Ingress
-> KubernetesRequest
     ReplaceNamespacedIngress
     contentType
     ExtensionsV1beta1Ingress
     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` ExtensionsV1beta1Ingress
body

data ReplaceNamespacedIngress 
instance HasBodyParam ReplaceNamespacedIngress ExtensionsV1beta1Ingress 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedIngress Pretty where
  applyOptionalParam :: KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedIngress contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReplaceNamespacedIngress contentType res accept
req KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedIngress 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 ReplaceNamespacedIngress DryRun where
  applyOptionalParam :: KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedIngress contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest ReplaceNamespacedIngress contentType res accept
req KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedIngress 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 ReplaceNamespacedIngress FieldManager where
  applyOptionalParam :: KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedIngress contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest ReplaceNamespacedIngress contentType res accept
req KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedIngress 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 ReplaceNamespacedIngress mtype

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


-- *** replaceNamespacedIngressStatus

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/ingresses\/{name}\/status@
-- 
-- replace status of the specified Ingress
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedIngressStatus 
  :: (Consumes ReplaceNamespacedIngressStatus contentType, MimeRender contentType ExtensionsV1beta1Ingress)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Ingress -- ^ "body"
  -> Name -- ^ "name" -  name of the Ingress
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedIngressStatus contentType ExtensionsV1beta1Ingress accept
replaceNamespacedIngressStatus :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Ingress
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedIngressStatus
     contentType
     ExtensionsV1beta1Ingress
     accept
replaceNamespacedIngressStatus ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Ingress
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedIngressStatus
     contentType
     ExtensionsV1beta1Ingress
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReplaceNamespacedIngressStatus
  contentType
  ExtensionsV1beta1Ingress
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedIngressStatus
     contentType
     ExtensionsV1beta1Ingress
     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
  ReplaceNamespacedIngressStatus
  contentType
  ExtensionsV1beta1Ingress
  accept
-> ExtensionsV1beta1Ingress
-> KubernetesRequest
     ReplaceNamespacedIngressStatus
     contentType
     ExtensionsV1beta1Ingress
     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` ExtensionsV1beta1Ingress
body

data ReplaceNamespacedIngressStatus 
instance HasBodyParam ReplaceNamespacedIngressStatus ExtensionsV1beta1Ingress 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedIngressStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedIngressStatus 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 ReplaceNamespacedIngressStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedIngressStatus 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 ReplaceNamespacedIngressStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedIngressStatus 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 ReplaceNamespacedIngressStatus mtype

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


-- *** replaceNamespacedNetworkPolicy

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/networkpolicies\/{name}@
-- 
-- replace the specified NetworkPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedNetworkPolicy 
  :: (Consumes ReplaceNamespacedNetworkPolicy contentType, MimeRender contentType V1beta1NetworkPolicy)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1NetworkPolicy -- ^ "body"
  -> Name -- ^ "name" -  name of the NetworkPolicy
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedNetworkPolicy contentType V1beta1NetworkPolicy accept
replaceNamespacedNetworkPolicy :: ContentType contentType
-> Accept accept
-> V1beta1NetworkPolicy
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     accept
replaceNamespacedNetworkPolicy ContentType contentType
_  Accept accept
_ V1beta1NetworkPolicy
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/networkpolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceNamespacedNetworkPolicy
  contentType
  V1beta1NetworkPolicy
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     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
  ReplaceNamespacedNetworkPolicy
  contentType
  V1beta1NetworkPolicy
  accept
-> V1beta1NetworkPolicy
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy
     contentType
     V1beta1NetworkPolicy
     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` V1beta1NetworkPolicy
body

data ReplaceNamespacedNetworkPolicy 
instance HasBodyParam ReplaceNamespacedNetworkPolicy V1beta1NetworkPolicy 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedNetworkPolicy Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy 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 ReplaceNamespacedNetworkPolicy DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy 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 ReplaceNamespacedNetworkPolicy FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
req KubernetesRequest
  ReplaceNamespacedNetworkPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedNetworkPolicy 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 ReplaceNamespacedNetworkPolicy mtype

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


-- *** replaceNamespacedReplicaSet

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}@
-- 
-- replace the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedReplicaSet 
  :: (Consumes ReplaceNamespacedReplicaSet contentType, MimeRender contentType V1beta1ReplicaSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1ReplicaSet -- ^ "body"
  -> Name -- ^ "name" -  name of the ReplicaSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedReplicaSet contentType V1beta1ReplicaSet accept
replaceNamespacedReplicaSet :: ContentType contentType
-> Accept accept
-> V1beta1ReplicaSet
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedReplicaSet contentType V1beta1ReplicaSet accept
replaceNamespacedReplicaSet ContentType contentType
_  Accept accept
_ V1beta1ReplicaSet
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedReplicaSet contentType V1beta1ReplicaSet accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceNamespacedReplicaSet contentType V1beta1ReplicaSet accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedReplicaSet contentType V1beta1ReplicaSet 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
  ReplaceNamespacedReplicaSet contentType V1beta1ReplicaSet accept
-> V1beta1ReplicaSet
-> KubernetesRequest
     ReplaceNamespacedReplicaSet contentType V1beta1ReplicaSet 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` V1beta1ReplicaSet
body

data ReplaceNamespacedReplicaSet 
instance HasBodyParam ReplaceNamespacedReplicaSet V1beta1ReplicaSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedReplicaSet Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSet 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 ReplaceNamespacedReplicaSet DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSet 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 ReplaceNamespacedReplicaSet FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedReplicaSet contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSet contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSet 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 ReplaceNamespacedReplicaSet mtype

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


-- *** replaceNamespacedReplicaSetScale

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}\/scale@
-- 
-- replace scale of the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedReplicaSetScale 
  :: (Consumes ReplaceNamespacedReplicaSetScale contentType, MimeRender contentType ExtensionsV1beta1Scale)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Scale -- ^ "body"
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedReplicaSetScale contentType ExtensionsV1beta1Scale accept
replaceNamespacedReplicaSetScale :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Scale
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale
     contentType
     ExtensionsV1beta1Scale
     accept
replaceNamespacedReplicaSetScale ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Scale
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale
     contentType
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReplaceNamespacedReplicaSetScale
  contentType
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale
     contentType
     ExtensionsV1beta1Scale
     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
  ReplaceNamespacedReplicaSetScale
  contentType
  ExtensionsV1beta1Scale
  accept
-> ExtensionsV1beta1Scale
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale
     contentType
     ExtensionsV1beta1Scale
     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` ExtensionsV1beta1Scale
body

data ReplaceNamespacedReplicaSetScale 
instance HasBodyParam ReplaceNamespacedReplicaSetScale ExtensionsV1beta1Scale 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedReplicaSetScale Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale 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 ReplaceNamespacedReplicaSetScale DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale 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 ReplaceNamespacedReplicaSetScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSetScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSetScale 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 ReplaceNamespacedReplicaSetScale mtype

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


-- *** replaceNamespacedReplicaSetStatus

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicasets\/{name}\/status@
-- 
-- replace status of the specified ReplicaSet
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedReplicaSetStatus 
  :: (Consumes ReplaceNamespacedReplicaSetStatus contentType, MimeRender contentType V1beta1ReplicaSet)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> V1beta1ReplicaSet -- ^ "body"
  -> Name -- ^ "name" -  name of the ReplicaSet
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedReplicaSetStatus contentType V1beta1ReplicaSet accept
replaceNamespacedReplicaSetStatus :: ContentType contentType
-> Accept accept
-> V1beta1ReplicaSet
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus
     contentType
     V1beta1ReplicaSet
     accept
replaceNamespacedReplicaSetStatus ContentType contentType
_  Accept accept
_ V1beta1ReplicaSet
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus
     contentType
     V1beta1ReplicaSet
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicasets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReplaceNamespacedReplicaSetStatus
  contentType
  V1beta1ReplicaSet
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus
     contentType
     V1beta1ReplicaSet
     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
  ReplaceNamespacedReplicaSetStatus
  contentType
  V1beta1ReplicaSet
  accept
-> V1beta1ReplicaSet
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus
     contentType
     V1beta1ReplicaSet
     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` V1beta1ReplicaSet
body

data ReplaceNamespacedReplicaSetStatus 
instance HasBodyParam ReplaceNamespacedReplicaSetStatus V1beta1ReplicaSet 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedReplicaSetStatus Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus 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 ReplaceNamespacedReplicaSetStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus 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 ReplaceNamespacedReplicaSetStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedReplicaSetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicaSetStatus 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 ReplaceNamespacedReplicaSetStatus mtype

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


-- *** replaceNamespacedReplicationControllerDummyScale

-- | @PUT \/apis\/extensions\/v1beta1\/namespaces\/{namespace}\/replicationcontrollers\/{name}\/scale@
-- 
-- replace scale of the specified ReplicationControllerDummy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedReplicationControllerDummyScale 
  :: (Consumes ReplaceNamespacedReplicationControllerDummyScale contentType, MimeRender contentType ExtensionsV1beta1Scale)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1Scale -- ^ "body"
  -> Name -- ^ "name" -  name of the Scale
  -> Namespace -- ^ "namespace" -  object name and auth scope, such as for teams and projects
  -> KubernetesRequest ReplaceNamespacedReplicationControllerDummyScale contentType ExtensionsV1beta1Scale accept
replaceNamespacedReplicationControllerDummyScale :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Scale
-> Name
-> Namespace
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     contentType
     ExtensionsV1beta1Scale
     accept
replaceNamespacedReplicationControllerDummyScale ContentType contentType
_  Accept accept
_ ExtensionsV1beta1Scale
body (Name Text
name) (Namespace Text
namespace) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     contentType
     ExtensionsV1beta1Scale
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  ExtensionsV1beta1Scale
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     contentType
     ExtensionsV1beta1Scale
     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
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  ExtensionsV1beta1Scale
  accept
-> ExtensionsV1beta1Scale
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     contentType
     ExtensionsV1beta1Scale
     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` ExtensionsV1beta1Scale
body

data ReplaceNamespacedReplicationControllerDummyScale 
instance HasBodyParam ReplaceNamespacedReplicationControllerDummyScale ExtensionsV1beta1Scale 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceNamespacedReplicationControllerDummyScale Pretty where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> Pretty
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     contentType
     res
     accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req (Pretty Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     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 ReplaceNamespacedReplicationControllerDummyScale DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     contentType
     res
     accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     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 ReplaceNamespacedReplicationControllerDummyScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     contentType
     res
     accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
req KubernetesRequest
  ReplaceNamespacedReplicationControllerDummyScale
  contentType
  res
  accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedReplicationControllerDummyScale
     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 ReplaceNamespacedReplicationControllerDummyScale mtype

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


-- *** replacePodSecurityPolicy

-- | @PUT \/apis\/extensions\/v1beta1\/podsecuritypolicies\/{name}@
-- 
-- replace the specified PodSecurityPolicy
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replacePodSecurityPolicy 
  :: (Consumes ReplacePodSecurityPolicy contentType, MimeRender contentType ExtensionsV1beta1PodSecurityPolicy)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> ExtensionsV1beta1PodSecurityPolicy -- ^ "body"
  -> Name -- ^ "name" -  name of the PodSecurityPolicy
  -> KubernetesRequest ReplacePodSecurityPolicy contentType ExtensionsV1beta1PodSecurityPolicy accept
replacePodSecurityPolicy :: ContentType contentType
-> Accept accept
-> ExtensionsV1beta1PodSecurityPolicy
-> Name
-> KubernetesRequest
     ReplacePodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     accept
replacePodSecurityPolicy ContentType contentType
_  Accept accept
_ ExtensionsV1beta1PodSecurityPolicy
body (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplacePodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/extensions/v1beta1/podsecuritypolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplacePodSecurityPolicy
  contentType
  ExtensionsV1beta1PodSecurityPolicy
  accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplacePodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     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
  ReplacePodSecurityPolicy
  contentType
  ExtensionsV1beta1PodSecurityPolicy
  accept
-> ExtensionsV1beta1PodSecurityPolicy
-> KubernetesRequest
     ReplacePodSecurityPolicy
     contentType
     ExtensionsV1beta1PodSecurityPolicy
     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` ExtensionsV1beta1PodSecurityPolicy
body

data ReplacePodSecurityPolicy 
instance HasBodyParam ReplacePodSecurityPolicy ExtensionsV1beta1PodSecurityPolicy 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplacePodSecurityPolicy Pretty where
  applyOptionalParam :: KubernetesRequest ReplacePodSecurityPolicy contentType res accept
-> Pretty
-> KubernetesRequest
     ReplacePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ReplacePodSecurityPolicy contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ReplacePodSecurityPolicy contentType res accept
req KubernetesRequest ReplacePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplacePodSecurityPolicy 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 ReplacePodSecurityPolicy DryRun where
  applyOptionalParam :: KubernetesRequest ReplacePodSecurityPolicy contentType res accept
-> DryRun
-> KubernetesRequest
     ReplacePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ReplacePodSecurityPolicy contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest ReplacePodSecurityPolicy contentType res accept
req KubernetesRequest ReplacePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplacePodSecurityPolicy 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 ReplacePodSecurityPolicy FieldManager where
  applyOptionalParam :: KubernetesRequest ReplacePodSecurityPolicy contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplacePodSecurityPolicy contentType res accept
applyOptionalParam KubernetesRequest ReplacePodSecurityPolicy contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest ReplacePodSecurityPolicy contentType res accept
req KubernetesRequest ReplacePodSecurityPolicy contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplacePodSecurityPolicy 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 ReplacePodSecurityPolicy mtype

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