{-# 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
createNamespacedDaemonSet
:: (Consumes CreateNamespacedDaemonSet contentType, MimeRender contentType V1beta1DaemonSet)
=> ContentType contentType
-> Accept accept
-> V1beta1DaemonSet
-> Namespace
-> 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
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)
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)
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
instance Produces CreateNamespacedDaemonSet MimeJSON
instance Produces CreateNamespacedDaemonSet MimeVndKubernetesProtobuf
instance Produces CreateNamespacedDaemonSet MimeYaml
createNamespacedDeployment
:: (Consumes CreateNamespacedDeployment contentType, MimeRender contentType ExtensionsV1beta1Deployment)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Deployment
-> Namespace
-> 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
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)
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)
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
instance Produces CreateNamespacedDeployment MimeJSON
instance Produces CreateNamespacedDeployment MimeVndKubernetesProtobuf
instance Produces CreateNamespacedDeployment MimeYaml
createNamespacedDeploymentRollback
:: (Consumes CreateNamespacedDeploymentRollback contentType, MimeRender contentType ExtensionsV1beta1DeploymentRollback)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1DeploymentRollback
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces CreateNamespacedDeploymentRollback MimeJSON
instance Produces CreateNamespacedDeploymentRollback MimeVndKubernetesProtobuf
instance Produces CreateNamespacedDeploymentRollback MimeYaml
createNamespacedIngress
:: (Consumes CreateNamespacedIngress contentType, MimeRender contentType ExtensionsV1beta1Ingress)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Ingress
-> Namespace
-> 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
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)
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)
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
instance Produces CreateNamespacedIngress MimeJSON
instance Produces CreateNamespacedIngress MimeVndKubernetesProtobuf
instance Produces CreateNamespacedIngress MimeYaml
createNamespacedNetworkPolicy
:: (Consumes CreateNamespacedNetworkPolicy contentType, MimeRender contentType V1beta1NetworkPolicy)
=> ContentType contentType
-> Accept accept
-> V1beta1NetworkPolicy
-> Namespace
-> 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
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)
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)
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
instance Produces CreateNamespacedNetworkPolicy MimeJSON
instance Produces CreateNamespacedNetworkPolicy MimeVndKubernetesProtobuf
instance Produces CreateNamespacedNetworkPolicy MimeYaml
createNamespacedReplicaSet
:: (Consumes CreateNamespacedReplicaSet contentType, MimeRender contentType V1beta1ReplicaSet)
=> ContentType contentType
-> Accept accept
-> V1beta1ReplicaSet
-> Namespace
-> 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
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)
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)
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
instance Produces CreateNamespacedReplicaSet MimeJSON
instance Produces CreateNamespacedReplicaSet MimeVndKubernetesProtobuf
instance Produces CreateNamespacedReplicaSet MimeYaml
createPodSecurityPolicy
:: (Consumes CreatePodSecurityPolicy contentType, MimeRender contentType ExtensionsV1beta1PodSecurityPolicy)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1PodSecurityPolicy
-> 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
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)
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)
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
instance Produces CreatePodSecurityPolicy MimeJSON
instance Produces CreatePodSecurityPolicy MimeVndKubernetesProtobuf
instance Produces CreatePodSecurityPolicy MimeYaml
deleteCollectionNamespacedDaemonSet
:: (Consumes DeleteCollectionNamespacedDaemonSet contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
instance Produces DeleteCollectionNamespacedDaemonSet MimeJSON
instance Produces DeleteCollectionNamespacedDaemonSet MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedDaemonSet MimeYaml
deleteCollectionNamespacedDeployment
:: (Consumes DeleteCollectionNamespacedDeployment contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
instance Produces DeleteCollectionNamespacedDeployment MimeJSON
instance Produces DeleteCollectionNamespacedDeployment MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedDeployment MimeYaml
deleteCollectionNamespacedIngress
:: (Consumes DeleteCollectionNamespacedIngress contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
instance Produces DeleteCollectionNamespacedIngress MimeJSON
instance Produces DeleteCollectionNamespacedIngress MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedIngress MimeYaml
deleteCollectionNamespacedNetworkPolicy
:: (Consumes DeleteCollectionNamespacedNetworkPolicy contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
instance Produces DeleteCollectionNamespacedNetworkPolicy MimeJSON
instance Produces DeleteCollectionNamespacedNetworkPolicy MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedNetworkPolicy MimeYaml
deleteCollectionNamespacedReplicaSet
:: (Consumes DeleteCollectionNamespacedReplicaSet contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
instance Produces DeleteCollectionNamespacedReplicaSet MimeJSON
instance Produces DeleteCollectionNamespacedReplicaSet MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedReplicaSet MimeYaml
deleteCollectionPodSecurityPolicy
:: (Consumes DeleteCollectionPodSecurityPolicy contentType)
=> ContentType contentType
-> Accept accept
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
instance Produces DeleteCollectionPodSecurityPolicy MimeJSON
instance Produces DeleteCollectionPodSecurityPolicy MimeVndKubernetesProtobuf
instance Produces DeleteCollectionPodSecurityPolicy MimeYaml
deleteNamespacedDaemonSet
:: (Consumes DeleteNamespacedDaemonSet contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
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
instance Produces DeleteNamespacedDaemonSet MimeJSON
instance Produces DeleteNamespacedDaemonSet MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedDaemonSet MimeYaml
deleteNamespacedDeployment
:: (Consumes DeleteNamespacedDeployment contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
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
instance Produces DeleteNamespacedDeployment MimeJSON
instance Produces DeleteNamespacedDeployment MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedDeployment MimeYaml
deleteNamespacedIngress
:: (Consumes DeleteNamespacedIngress contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
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
instance Produces DeleteNamespacedIngress MimeJSON
instance Produces DeleteNamespacedIngress MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedIngress MimeYaml
deleteNamespacedNetworkPolicy
:: (Consumes DeleteNamespacedNetworkPolicy contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
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
instance Produces DeleteNamespacedNetworkPolicy MimeJSON
instance Produces DeleteNamespacedNetworkPolicy MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedNetworkPolicy MimeYaml
deleteNamespacedReplicaSet
:: (Consumes DeleteNamespacedReplicaSet contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
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
instance Produces DeleteNamespacedReplicaSet MimeJSON
instance Produces DeleteNamespacedReplicaSet MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedReplicaSet MimeYaml
deletePodSecurityPolicy
:: (Consumes DeletePodSecurityPolicy contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> 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
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)
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)
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)
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)
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
instance Produces DeletePodSecurityPolicy MimeJSON
instance Produces DeletePodSecurityPolicy MimeVndKubernetesProtobuf
instance Produces DeletePodSecurityPolicy MimeYaml
getAPIResources
:: Accept accept
-> 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
instance Produces GetAPIResources MimeJSON
instance Produces GetAPIResources MimeVndKubernetesProtobuf
instance Produces GetAPIResources MimeYaml
listDaemonSetForAllNamespaces
:: Accept accept
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListDaemonSetForAllNamespaces MimeJSON
instance Produces ListDaemonSetForAllNamespaces MimeJsonstreamwatch
instance Produces ListDaemonSetForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListDaemonSetForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListDaemonSetForAllNamespaces MimeYaml
listDeploymentForAllNamespaces
:: Accept accept
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListDeploymentForAllNamespaces MimeJSON
instance Produces ListDeploymentForAllNamespaces MimeJsonstreamwatch
instance Produces ListDeploymentForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListDeploymentForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListDeploymentForAllNamespaces MimeYaml
listIngressForAllNamespaces
:: Accept accept
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListIngressForAllNamespaces MimeJSON
instance Produces ListIngressForAllNamespaces MimeJsonstreamwatch
instance Produces ListIngressForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListIngressForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListIngressForAllNamespaces MimeYaml
listNamespacedDaemonSet
:: Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListNamespacedDaemonSet MimeJSON
instance Produces ListNamespacedDaemonSet MimeJsonstreamwatch
instance Produces ListNamespacedDaemonSet MimeVndKubernetesProtobuf
instance Produces ListNamespacedDaemonSet MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedDaemonSet MimeYaml
listNamespacedDeployment
:: Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListNamespacedDeployment MimeJSON
instance Produces ListNamespacedDeployment MimeJsonstreamwatch
instance Produces ListNamespacedDeployment MimeVndKubernetesProtobuf
instance Produces ListNamespacedDeployment MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedDeployment MimeYaml
listNamespacedIngress
:: Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListNamespacedIngress MimeJSON
instance Produces ListNamespacedIngress MimeJsonstreamwatch
instance Produces ListNamespacedIngress MimeVndKubernetesProtobuf
instance Produces ListNamespacedIngress MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedIngress MimeYaml
listNamespacedNetworkPolicy
:: Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListNamespacedNetworkPolicy MimeJSON
instance Produces ListNamespacedNetworkPolicy MimeJsonstreamwatch
instance Produces ListNamespacedNetworkPolicy MimeVndKubernetesProtobuf
instance Produces ListNamespacedNetworkPolicy MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedNetworkPolicy MimeYaml
listNamespacedReplicaSet
:: Accept accept
-> Namespace
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListNamespacedReplicaSet MimeJSON
instance Produces ListNamespacedReplicaSet MimeJsonstreamwatch
instance Produces ListNamespacedReplicaSet MimeVndKubernetesProtobuf
instance Produces ListNamespacedReplicaSet MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedReplicaSet MimeYaml
listNetworkPolicyForAllNamespaces
:: Accept accept
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListNetworkPolicyForAllNamespaces MimeJSON
instance Produces ListNetworkPolicyForAllNamespaces MimeJsonstreamwatch
instance Produces ListNetworkPolicyForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListNetworkPolicyForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListNetworkPolicyForAllNamespaces MimeYaml
listPodSecurityPolicy
:: Accept accept
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListPodSecurityPolicy MimeJSON
instance Produces ListPodSecurityPolicy MimeJsonstreamwatch
instance Produces ListPodSecurityPolicy MimeVndKubernetesProtobuf
instance Produces ListPodSecurityPolicy MimeVndKubernetesProtobufstreamwatch
instance Produces ListPodSecurityPolicy MimeYaml
listReplicaSetForAllNamespaces
:: Accept accept
-> 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
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)
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)
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)
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)
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)
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)
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)
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)
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)
instance Produces ListReplicaSetForAllNamespaces MimeJSON
instance Produces ListReplicaSetForAllNamespaces MimeJsonstreamwatch
instance Produces ListReplicaSetForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListReplicaSetForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListReplicaSetForAllNamespaces MimeYaml
patchNamespacedDaemonSet
:: (Consumes PatchNamespacedDaemonSet contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedDaemonSet MimeApplyPatchyaml
instance Consumes PatchNamespacedDaemonSet MimeJsonPatchjson
instance Consumes PatchNamespacedDaemonSet MimeMergePatchjson
instance Consumes PatchNamespacedDaemonSet MimeStrategicMergePatchjson
instance Produces PatchNamespacedDaemonSet MimeJSON
instance Produces PatchNamespacedDaemonSet MimeVndKubernetesProtobuf
instance Produces PatchNamespacedDaemonSet MimeYaml
patchNamespacedDaemonSetStatus
:: (Consumes PatchNamespacedDaemonSetStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedDaemonSetStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedDaemonSetStatus MimeJsonPatchjson
instance Consumes PatchNamespacedDaemonSetStatus MimeMergePatchjson
instance Consumes PatchNamespacedDaemonSetStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedDaemonSetStatus MimeJSON
instance Produces PatchNamespacedDaemonSetStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedDaemonSetStatus MimeYaml
patchNamespacedDeployment
:: (Consumes PatchNamespacedDeployment contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedDeployment MimeApplyPatchyaml
instance Consumes PatchNamespacedDeployment MimeJsonPatchjson
instance Consumes PatchNamespacedDeployment MimeMergePatchjson
instance Consumes PatchNamespacedDeployment MimeStrategicMergePatchjson
instance Produces PatchNamespacedDeployment MimeJSON
instance Produces PatchNamespacedDeployment MimeVndKubernetesProtobuf
instance Produces PatchNamespacedDeployment MimeYaml
patchNamespacedDeploymentScale
:: (Consumes PatchNamespacedDeploymentScale contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedDeploymentScale MimeApplyPatchyaml
instance Consumes PatchNamespacedDeploymentScale MimeJsonPatchjson
instance Consumes PatchNamespacedDeploymentScale MimeMergePatchjson
instance Consumes PatchNamespacedDeploymentScale MimeStrategicMergePatchjson
instance Produces PatchNamespacedDeploymentScale MimeJSON
instance Produces PatchNamespacedDeploymentScale MimeVndKubernetesProtobuf
instance Produces PatchNamespacedDeploymentScale MimeYaml
patchNamespacedDeploymentStatus
:: (Consumes PatchNamespacedDeploymentStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedDeploymentStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedDeploymentStatus MimeJsonPatchjson
instance Consumes PatchNamespacedDeploymentStatus MimeMergePatchjson
instance Consumes PatchNamespacedDeploymentStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedDeploymentStatus MimeJSON
instance Produces PatchNamespacedDeploymentStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedDeploymentStatus MimeYaml
patchNamespacedIngress
:: (Consumes PatchNamespacedIngress contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedIngress MimeApplyPatchyaml
instance Consumes PatchNamespacedIngress MimeJsonPatchjson
instance Consumes PatchNamespacedIngress MimeMergePatchjson
instance Consumes PatchNamespacedIngress MimeStrategicMergePatchjson
instance Produces PatchNamespacedIngress MimeJSON
instance Produces PatchNamespacedIngress MimeVndKubernetesProtobuf
instance Produces PatchNamespacedIngress MimeYaml
patchNamespacedIngressStatus
:: (Consumes PatchNamespacedIngressStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedIngressStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedIngressStatus MimeJsonPatchjson
instance Consumes PatchNamespacedIngressStatus MimeMergePatchjson
instance Consumes PatchNamespacedIngressStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedIngressStatus MimeJSON
instance Produces PatchNamespacedIngressStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedIngressStatus MimeYaml
patchNamespacedNetworkPolicy
:: (Consumes PatchNamespacedNetworkPolicy contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedNetworkPolicy MimeApplyPatchyaml
instance Consumes PatchNamespacedNetworkPolicy MimeJsonPatchjson
instance Consumes PatchNamespacedNetworkPolicy MimeMergePatchjson
instance Consumes PatchNamespacedNetworkPolicy MimeStrategicMergePatchjson
instance Produces PatchNamespacedNetworkPolicy MimeJSON
instance Produces PatchNamespacedNetworkPolicy MimeVndKubernetesProtobuf
instance Produces PatchNamespacedNetworkPolicy MimeYaml
patchNamespacedReplicaSet
:: (Consumes PatchNamespacedReplicaSet contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedReplicaSet MimeApplyPatchyaml
instance Consumes PatchNamespacedReplicaSet MimeJsonPatchjson
instance Consumes PatchNamespacedReplicaSet MimeMergePatchjson
instance Consumes PatchNamespacedReplicaSet MimeStrategicMergePatchjson
instance Produces PatchNamespacedReplicaSet MimeJSON
instance Produces PatchNamespacedReplicaSet MimeVndKubernetesProtobuf
instance Produces PatchNamespacedReplicaSet MimeYaml
patchNamespacedReplicaSetScale
:: (Consumes PatchNamespacedReplicaSetScale contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedReplicaSetScale MimeApplyPatchyaml
instance Consumes PatchNamespacedReplicaSetScale MimeJsonPatchjson
instance Consumes PatchNamespacedReplicaSetScale MimeMergePatchjson
instance Consumes PatchNamespacedReplicaSetScale MimeStrategicMergePatchjson
instance Produces PatchNamespacedReplicaSetScale MimeJSON
instance Produces PatchNamespacedReplicaSetScale MimeVndKubernetesProtobuf
instance Produces PatchNamespacedReplicaSetScale MimeYaml
patchNamespacedReplicaSetStatus
:: (Consumes PatchNamespacedReplicaSetStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedReplicaSetStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedReplicaSetStatus MimeJsonPatchjson
instance Consumes PatchNamespacedReplicaSetStatus MimeMergePatchjson
instance Consumes PatchNamespacedReplicaSetStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedReplicaSetStatus MimeJSON
instance Produces PatchNamespacedReplicaSetStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedReplicaSetStatus MimeYaml
patchNamespacedReplicationControllerDummyScale
:: (Consumes PatchNamespacedReplicationControllerDummyScale contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> 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
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)
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)
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)
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)
instance Consumes PatchNamespacedReplicationControllerDummyScale MimeApplyPatchyaml
instance Consumes PatchNamespacedReplicationControllerDummyScale MimeJsonPatchjson
instance Consumes PatchNamespacedReplicationControllerDummyScale MimeMergePatchjson
instance Consumes PatchNamespacedReplicationControllerDummyScale MimeStrategicMergePatchjson
instance Produces PatchNamespacedReplicationControllerDummyScale MimeJSON
instance Produces PatchNamespacedReplicationControllerDummyScale MimeVndKubernetesProtobuf
instance Produces PatchNamespacedReplicationControllerDummyScale MimeYaml
patchPodSecurityPolicy
:: (Consumes PatchPodSecurityPolicy contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> 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
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)
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)
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)
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)
instance Consumes PatchPodSecurityPolicy MimeApplyPatchyaml
instance Consumes PatchPodSecurityPolicy MimeJsonPatchjson
instance Consumes PatchPodSecurityPolicy MimeMergePatchjson
instance Consumes PatchPodSecurityPolicy MimeStrategicMergePatchjson
instance Produces PatchPodSecurityPolicy MimeJSON
instance Produces PatchPodSecurityPolicy MimeVndKubernetesProtobuf
instance Produces PatchPodSecurityPolicy MimeYaml
readNamespacedDaemonSet
:: Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
instance Produces ReadNamespacedDaemonSet MimeJSON
instance Produces ReadNamespacedDaemonSet MimeVndKubernetesProtobuf
instance Produces ReadNamespacedDaemonSet MimeYaml
readNamespacedDaemonSetStatus
:: Accept accept
-> Name
-> Namespace
-> 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
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)
instance Produces ReadNamespacedDaemonSetStatus MimeJSON
instance Produces ReadNamespacedDaemonSetStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedDaemonSetStatus MimeYaml
readNamespacedDeployment
:: Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
instance Produces ReadNamespacedDeployment MimeJSON
instance Produces ReadNamespacedDeployment MimeVndKubernetesProtobuf
instance Produces ReadNamespacedDeployment MimeYaml
readNamespacedDeploymentScale
:: Accept accept
-> Name
-> Namespace
-> 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
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)
instance Produces ReadNamespacedDeploymentScale MimeJSON
instance Produces ReadNamespacedDeploymentScale MimeVndKubernetesProtobuf
instance Produces ReadNamespacedDeploymentScale MimeYaml
readNamespacedDeploymentStatus
:: Accept accept
-> Name
-> Namespace
-> 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
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)
instance Produces ReadNamespacedDeploymentStatus MimeJSON
instance Produces ReadNamespacedDeploymentStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedDeploymentStatus MimeYaml
readNamespacedIngress
:: Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
instance Produces ReadNamespacedIngress MimeJSON
instance Produces ReadNamespacedIngress MimeVndKubernetesProtobuf
instance Produces ReadNamespacedIngress MimeYaml
readNamespacedIngressStatus
:: Accept accept
-> Name
-> Namespace
-> 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
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)
instance Produces ReadNamespacedIngressStatus MimeJSON
instance Produces ReadNamespacedIngressStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedIngressStatus MimeYaml
readNamespacedNetworkPolicy
:: Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
instance Produces ReadNamespacedNetworkPolicy MimeJSON
instance Produces ReadNamespacedNetworkPolicy MimeVndKubernetesProtobuf
instance Produces ReadNamespacedNetworkPolicy MimeYaml
readNamespacedReplicaSet
:: Accept accept
-> Name
-> Namespace
-> 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
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)
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)
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)
instance Produces ReadNamespacedReplicaSet MimeJSON
instance Produces ReadNamespacedReplicaSet MimeVndKubernetesProtobuf
instance Produces ReadNamespacedReplicaSet MimeYaml
readNamespacedReplicaSetScale
:: Accept accept
-> Name
-> Namespace
-> 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
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)
instance Produces ReadNamespacedReplicaSetScale MimeJSON
instance Produces ReadNamespacedReplicaSetScale MimeVndKubernetesProtobuf
instance Produces ReadNamespacedReplicaSetScale MimeYaml
readNamespacedReplicaSetStatus
:: Accept accept
-> Name
-> Namespace
-> 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
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)
instance Produces ReadNamespacedReplicaSetStatus MimeJSON
instance Produces ReadNamespacedReplicaSetStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedReplicaSetStatus MimeYaml
readNamespacedReplicationControllerDummyScale
:: Accept accept
-> Name
-> Namespace
-> 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
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)
instance Produces ReadNamespacedReplicationControllerDummyScale MimeJSON
instance Produces ReadNamespacedReplicationControllerDummyScale MimeVndKubernetesProtobuf
instance Produces ReadNamespacedReplicationControllerDummyScale MimeYaml
readPodSecurityPolicy
:: Accept accept
-> Name
-> 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
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)
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)
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)
instance Produces ReadPodSecurityPolicy MimeJSON
instance Produces ReadPodSecurityPolicy MimeVndKubernetesProtobuf
instance Produces ReadPodSecurityPolicy MimeYaml
replaceNamespacedDaemonSet
:: (Consumes ReplaceNamespacedDaemonSet contentType, MimeRender contentType V1beta1DaemonSet)
=> ContentType contentType
-> Accept accept
-> V1beta1DaemonSet
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedDaemonSet MimeJSON
instance Produces ReplaceNamespacedDaemonSet MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedDaemonSet MimeYaml
replaceNamespacedDaemonSetStatus
:: (Consumes ReplaceNamespacedDaemonSetStatus contentType, MimeRender contentType V1beta1DaemonSet)
=> ContentType contentType
-> Accept accept
-> V1beta1DaemonSet
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedDaemonSetStatus MimeJSON
instance Produces ReplaceNamespacedDaemonSetStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedDaemonSetStatus MimeYaml
replaceNamespacedDeployment
:: (Consumes ReplaceNamespacedDeployment contentType, MimeRender contentType ExtensionsV1beta1Deployment)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Deployment
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedDeployment MimeJSON
instance Produces ReplaceNamespacedDeployment MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedDeployment MimeYaml
replaceNamespacedDeploymentScale
:: (Consumes ReplaceNamespacedDeploymentScale contentType, MimeRender contentType ExtensionsV1beta1Scale)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Scale
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedDeploymentScale MimeJSON
instance Produces ReplaceNamespacedDeploymentScale MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedDeploymentScale MimeYaml
replaceNamespacedDeploymentStatus
:: (Consumes ReplaceNamespacedDeploymentStatus contentType, MimeRender contentType ExtensionsV1beta1Deployment)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Deployment
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedDeploymentStatus MimeJSON
instance Produces ReplaceNamespacedDeploymentStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedDeploymentStatus MimeYaml
replaceNamespacedIngress
:: (Consumes ReplaceNamespacedIngress contentType, MimeRender contentType ExtensionsV1beta1Ingress)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Ingress
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedIngress MimeJSON
instance Produces ReplaceNamespacedIngress MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedIngress MimeYaml
replaceNamespacedIngressStatus
:: (Consumes ReplaceNamespacedIngressStatus contentType, MimeRender contentType ExtensionsV1beta1Ingress)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Ingress
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedIngressStatus MimeJSON
instance Produces ReplaceNamespacedIngressStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedIngressStatus MimeYaml
replaceNamespacedNetworkPolicy
:: (Consumes ReplaceNamespacedNetworkPolicy contentType, MimeRender contentType V1beta1NetworkPolicy)
=> ContentType contentType
-> Accept accept
-> V1beta1NetworkPolicy
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedNetworkPolicy MimeJSON
instance Produces ReplaceNamespacedNetworkPolicy MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedNetworkPolicy MimeYaml
replaceNamespacedReplicaSet
:: (Consumes ReplaceNamespacedReplicaSet contentType, MimeRender contentType V1beta1ReplicaSet)
=> ContentType contentType
-> Accept accept
-> V1beta1ReplicaSet
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedReplicaSet MimeJSON
instance Produces ReplaceNamespacedReplicaSet MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedReplicaSet MimeYaml
replaceNamespacedReplicaSetScale
:: (Consumes ReplaceNamespacedReplicaSetScale contentType, MimeRender contentType ExtensionsV1beta1Scale)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Scale
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedReplicaSetScale MimeJSON
instance Produces ReplaceNamespacedReplicaSetScale MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedReplicaSetScale MimeYaml
replaceNamespacedReplicaSetStatus
:: (Consumes ReplaceNamespacedReplicaSetStatus contentType, MimeRender contentType V1beta1ReplicaSet)
=> ContentType contentType
-> Accept accept
-> V1beta1ReplicaSet
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedReplicaSetStatus MimeJSON
instance Produces ReplaceNamespacedReplicaSetStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedReplicaSetStatus MimeYaml
replaceNamespacedReplicationControllerDummyScale
:: (Consumes ReplaceNamespacedReplicationControllerDummyScale contentType, MimeRender contentType ExtensionsV1beta1Scale)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1Scale
-> Name
-> Namespace
-> 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
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)
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)
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
instance Produces ReplaceNamespacedReplicationControllerDummyScale MimeJSON
instance Produces ReplaceNamespacedReplicationControllerDummyScale MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedReplicationControllerDummyScale MimeYaml
replacePodSecurityPolicy
:: (Consumes ReplacePodSecurityPolicy contentType, MimeRender contentType ExtensionsV1beta1PodSecurityPolicy)
=> ContentType contentType
-> Accept accept
-> ExtensionsV1beta1PodSecurityPolicy
-> Name
-> 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
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)
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)
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
instance Produces ReplacePodSecurityPolicy MimeJSON
instance Produces ReplacePodSecurityPolicy MimeVndKubernetesProtobuf
instance Produces ReplacePodSecurityPolicy MimeYaml