{-# 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.PolicyV1beta1 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
createNamespacedPodDisruptionBudget
:: (Consumes CreateNamespacedPodDisruptionBudget contentType, MimeRender contentType V1beta1PodDisruptionBudget)
=> ContentType contentType
-> Accept accept
-> V1beta1PodDisruptionBudget
-> Namespace
-> KubernetesRequest CreateNamespacedPodDisruptionBudget contentType V1beta1PodDisruptionBudget accept
createNamespacedPodDisruptionBudget :: ContentType contentType
-> Accept accept
-> V1beta1PodDisruptionBudget
-> Namespace
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
createNamespacedPodDisruptionBudget ContentType contentType
_ Accept accept
_ V1beta1PodDisruptionBudget
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets"]
KubernetesRequest
CreateNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
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
CreateNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
-> V1beta1PodDisruptionBudget
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
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` V1beta1PodDisruptionBudget
body
data CreateNamespacedPodDisruptionBudget
instance HasBodyParam CreateNamespacedPodDisruptionBudget V1beta1PodDisruptionBudget
instance HasOptionalParam CreateNamespacedPodDisruptionBudget Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodDisruptionBudget DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodDisruptionBudget FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodDisruptionBudget mtype
instance Produces CreateNamespacedPodDisruptionBudget MimeJSON
instance Produces CreateNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces CreateNamespacedPodDisruptionBudget MimeYaml
createPodSecurityPolicy
:: (Consumes CreatePodSecurityPolicy contentType, MimeRender contentType PolicyV1beta1PodSecurityPolicy)
=> ContentType contentType
-> Accept accept
-> PolicyV1beta1PodSecurityPolicy
-> KubernetesRequest CreatePodSecurityPolicy contentType PolicyV1beta1PodSecurityPolicy accept
createPodSecurityPolicy :: ContentType contentType
-> Accept accept
-> PolicyV1beta1PodSecurityPolicy
-> KubernetesRequest
CreatePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
createPodSecurityPolicy ContentType contentType
_ Accept accept
_ PolicyV1beta1PodSecurityPolicy
body =
Method
-> [ByteString]
-> KubernetesRequest
CreatePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/policy/v1beta1/podsecuritypolicies"]
KubernetesRequest
CreatePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreatePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
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
PolicyV1beta1PodSecurityPolicy
accept
-> PolicyV1beta1PodSecurityPolicy
-> KubernetesRequest
CreatePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
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` PolicyV1beta1PodSecurityPolicy
body
data CreatePodSecurityPolicy
instance HasBodyParam CreatePodSecurityPolicy PolicyV1beta1PodSecurityPolicy
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
deleteCollectionNamespacedPodDisruptionBudget
:: (Consumes DeleteCollectionNamespacedPodDisruptionBudget contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedPodDisruptionBudget contentType V1Status accept
deleteCollectionNamespacedPodDisruptionBudget :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
V1Status
accept
deleteCollectionNamespacedPodDisruptionBudget ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
V1Status
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets"]
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
V1Status
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
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 DeleteCollectionNamespacedPodDisruptionBudget
instance HasBodyParam DeleteCollectionNamespacedPodDisruptionBudget V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedPodDisruptionBudget Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodDisruptionBudget Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodDisruptionBudget DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodDisruptionBudget FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodDisruptionBudget GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
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 DeleteCollectionNamespacedPodDisruptionBudget LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodDisruptionBudget Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
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 DeleteCollectionNamespacedPodDisruptionBudget OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
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 DeleteCollectionNamespacedPodDisruptionBudget PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodDisruptionBudget ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodDisruptionBudget TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodDisruptionBudget
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 DeleteCollectionNamespacedPodDisruptionBudget mtype
instance Produces DeleteCollectionNamespacedPodDisruptionBudget MimeJSON
instance Produces DeleteCollectionNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedPodDisruptionBudget 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/policy/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
deleteNamespacedPodDisruptionBudget
:: (Consumes DeleteNamespacedPodDisruptionBudget contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedPodDisruptionBudget contentType V1Status accept
deleteNamespacedPodDisruptionBudget :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType V1Status accept
deleteNamespacedPodDisruptionBudget ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget 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 DeleteNamespacedPodDisruptionBudget
instance HasBodyParam DeleteNamespacedPodDisruptionBudget V1DeleteOptions
instance HasOptionalParam DeleteNamespacedPodDisruptionBudget Pretty where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPodDisruptionBudget DryRun where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPodDisruptionBudget GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget 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 DeleteNamespacedPodDisruptionBudget OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget 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 DeleteNamespacedPodDisruptionBudget PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPodDisruptionBudget mtype
instance Produces DeleteNamespacedPodDisruptionBudget MimeJSON
instance Produces DeleteNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedPodDisruptionBudget 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/policy/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/policy/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
listNamespacedPodDisruptionBudget
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedPodDisruptionBudget MimeNoContent V1beta1PodDisruptionBudgetList accept
listNamespacedPodDisruptionBudget :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedPodDisruptionBudget
MimeNoContent
V1beta1PodDisruptionBudgetList
accept
listNamespacedPodDisruptionBudget Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget
MimeNoContent
V1beta1PodDisruptionBudgetList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets"]
KubernetesRequest
ListNamespacedPodDisruptionBudget
MimeNoContent
V1beta1PodDisruptionBudgetList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedPodDisruptionBudget
MimeNoContent
V1beta1PodDisruptionBudgetList
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 ListNamespacedPodDisruptionBudget
instance HasOptionalParam ListNamespacedPodDisruptionBudget Pretty where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> Pretty
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodDisruptionBudget AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget 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 ListNamespacedPodDisruptionBudget Continue where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> Continue
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodDisruptionBudget FieldSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> FieldSelector
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodDisruptionBudget LabelSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> LabelSelector
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodDisruptionBudget Limit where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> Limit
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget 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 ListNamespacedPodDisruptionBudget ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodDisruptionBudget TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget 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 ListNamespacedPodDisruptionBudget Watch where
applyOptionalParam :: KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> Watch
-> KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ListNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodDisruptionBudget 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 ListNamespacedPodDisruptionBudget MimeJSON
instance Produces ListNamespacedPodDisruptionBudget MimeJsonstreamwatch
instance Produces ListNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces ListNamespacedPodDisruptionBudget MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedPodDisruptionBudget MimeYaml
listPodDisruptionBudgetForAllNamespaces
:: Accept accept
-> KubernetesRequest ListPodDisruptionBudgetForAllNamespaces MimeNoContent V1beta1PodDisruptionBudgetList accept
listPodDisruptionBudgetForAllNamespaces :: Accept accept
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces
MimeNoContent
V1beta1PodDisruptionBudgetList
accept
listPodDisruptionBudgetForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces
MimeNoContent
V1beta1PodDisruptionBudgetList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/policy/v1beta1/poddisruptionbudgets"]
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces
MimeNoContent
V1beta1PodDisruptionBudgetList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces
MimeNoContent
V1beta1PodDisruptionBudgetList
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 ListPodDisruptionBudgetForAllNamespaces
instance HasOptionalParam ListPodDisruptionBudgetForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces 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 ListPodDisruptionBudgetForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodDisruptionBudgetForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodDisruptionBudgetForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodDisruptionBudgetForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces 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 ListPodDisruptionBudgetForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodDisruptionBudgetForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodDisruptionBudgetForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces 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 ListPodDisruptionBudgetForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
req KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodDisruptionBudgetForAllNamespaces 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 ListPodDisruptionBudgetForAllNamespaces MimeJSON
instance Produces ListPodDisruptionBudgetForAllNamespaces MimeJsonstreamwatch
instance Produces ListPodDisruptionBudgetForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListPodDisruptionBudgetForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListPodDisruptionBudgetForAllNamespaces MimeYaml
listPodSecurityPolicy
:: Accept accept
-> KubernetesRequest ListPodSecurityPolicy MimeNoContent PolicyV1beta1PodSecurityPolicyList accept
listPodSecurityPolicy :: Accept accept
-> KubernetesRequest
ListPodSecurityPolicy
MimeNoContent
PolicyV1beta1PodSecurityPolicyList
accept
listPodSecurityPolicy Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListPodSecurityPolicy
MimeNoContent
PolicyV1beta1PodSecurityPolicyList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/policy/v1beta1/podsecuritypolicies"]
KubernetesRequest
ListPodSecurityPolicy
MimeNoContent
PolicyV1beta1PodSecurityPolicyList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListPodSecurityPolicy
MimeNoContent
PolicyV1beta1PodSecurityPolicyList
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
patchNamespacedPodDisruptionBudget
:: (Consumes PatchNamespacedPodDisruptionBudget contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedPodDisruptionBudget contentType V1beta1PodDisruptionBudget accept
patchNamespacedPodDisruptionBudget :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
patchNamespacedPodDisruptionBudget ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
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
PatchNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
-> Body
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
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 PatchNamespacedPodDisruptionBudget
instance HasBodyParam PatchNamespacedPodDisruptionBudget Body
instance HasOptionalParam PatchNamespacedPodDisruptionBudget Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodDisruptionBudget DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodDisruptionBudget FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodDisruptionBudget Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
PatchNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudget 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 PatchNamespacedPodDisruptionBudget MimeApplyPatchyaml
instance Consumes PatchNamespacedPodDisruptionBudget MimeJsonPatchjson
instance Consumes PatchNamespacedPodDisruptionBudget MimeMergePatchjson
instance Consumes PatchNamespacedPodDisruptionBudget MimeStrategicMergePatchjson
instance Produces PatchNamespacedPodDisruptionBudget MimeJSON
instance Produces PatchNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces PatchNamespacedPodDisruptionBudget MimeYaml
patchNamespacedPodDisruptionBudgetStatus
:: (Consumes PatchNamespacedPodDisruptionBudgetStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedPodDisruptionBudgetStatus contentType V1beta1PodDisruptionBudget accept
patchNamespacedPodDisruptionBudgetStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
accept
patchNamespacedPodDisruptionBudgetStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
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
PatchNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
accept
-> Body
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
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 PatchNamespacedPodDisruptionBudgetStatus
instance HasBodyParam PatchNamespacedPodDisruptionBudgetStatus Body
instance HasOptionalParam PatchNamespacedPodDisruptionBudgetStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
req KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodDisruptionBudgetStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
req KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodDisruptionBudgetStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
req KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodDisruptionBudgetStatus Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
req KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodDisruptionBudgetStatus 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 PatchNamespacedPodDisruptionBudgetStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedPodDisruptionBudgetStatus MimeJsonPatchjson
instance Consumes PatchNamespacedPodDisruptionBudgetStatus MimeMergePatchjson
instance Consumes PatchNamespacedPodDisruptionBudgetStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedPodDisruptionBudgetStatus MimeJSON
instance Produces PatchNamespacedPodDisruptionBudgetStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedPodDisruptionBudgetStatus MimeYaml
patchPodSecurityPolicy
:: (Consumes PatchPodSecurityPolicy contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchPodSecurityPolicy contentType PolicyV1beta1PodSecurityPolicy accept
patchPodSecurityPolicy :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchPodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
patchPodSecurityPolicy ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchPodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/policy/v1beta1/podsecuritypolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchPodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchPodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
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
PolicyV1beta1PodSecurityPolicy
accept
-> Body
-> KubernetesRequest
PatchPodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
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
readNamespacedPodDisruptionBudget
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPodDisruptionBudget MimeNoContent V1beta1PodDisruptionBudget accept
readNamespacedPodDisruptionBudget :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget
MimeNoContent
V1beta1PodDisruptionBudget
accept
readNamespacedPodDisruptionBudget Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget
MimeNoContent
V1beta1PodDisruptionBudget
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedPodDisruptionBudget
MimeNoContent
V1beta1PodDisruptionBudget
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget
MimeNoContent
V1beta1PodDisruptionBudget
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 ReadNamespacedPodDisruptionBudget
instance HasOptionalParam ReadNamespacedPodDisruptionBudget Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedPodDisruptionBudget Exact where
applyOptionalParam :: KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
-> Exact
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
req (Exact Bool
xs) =
KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget 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 ReadNamespacedPodDisruptionBudget Export where
applyOptionalParam :: KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
-> Export
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
req (Export Bool
xs) =
KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ReadNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPodDisruptionBudget 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 ReadNamespacedPodDisruptionBudget MimeJSON
instance Produces ReadNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces ReadNamespacedPodDisruptionBudget MimeYaml
readNamespacedPodDisruptionBudgetStatus
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPodDisruptionBudgetStatus MimeNoContent V1beta1PodDisruptionBudget accept
readNamespacedPodDisruptionBudgetStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus
MimeNoContent
V1beta1PodDisruptionBudget
accept
readNamespacedPodDisruptionBudgetStatus Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus
MimeNoContent
V1beta1PodDisruptionBudget
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus
MimeNoContent
V1beta1PodDisruptionBudget
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus
MimeNoContent
V1beta1PodDisruptionBudget
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 ReadNamespacedPodDisruptionBudgetStatus
instance HasOptionalParam ReadNamespacedPodDisruptionBudgetStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus contentType res accept
req KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPodDisruptionBudgetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedPodDisruptionBudgetStatus MimeJSON
instance Produces ReadNamespacedPodDisruptionBudgetStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedPodDisruptionBudgetStatus MimeYaml
readPodSecurityPolicy
:: Accept accept
-> Name
-> KubernetesRequest ReadPodSecurityPolicy MimeNoContent PolicyV1beta1PodSecurityPolicy accept
readPodSecurityPolicy :: Accept accept
-> Name
-> KubernetesRequest
ReadPodSecurityPolicy
MimeNoContent
PolicyV1beta1PodSecurityPolicy
accept
readPodSecurityPolicy Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadPodSecurityPolicy
MimeNoContent
PolicyV1beta1PodSecurityPolicy
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/policy/v1beta1/podsecuritypolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadPodSecurityPolicy
MimeNoContent
PolicyV1beta1PodSecurityPolicy
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadPodSecurityPolicy
MimeNoContent
PolicyV1beta1PodSecurityPolicy
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
replaceNamespacedPodDisruptionBudget
:: (Consumes ReplaceNamespacedPodDisruptionBudget contentType, MimeRender contentType V1beta1PodDisruptionBudget)
=> ContentType contentType
-> Accept accept
-> V1beta1PodDisruptionBudget
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedPodDisruptionBudget contentType V1beta1PodDisruptionBudget accept
replaceNamespacedPodDisruptionBudget :: ContentType contentType
-> Accept accept
-> V1beta1PodDisruptionBudget
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
replaceNamespacedPodDisruptionBudget ContentType contentType
_ Accept accept
_ V1beta1PodDisruptionBudget
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
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
ReplaceNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
accept
-> V1beta1PodDisruptionBudget
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget
contentType
V1beta1PodDisruptionBudget
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` V1beta1PodDisruptionBudget
body
data ReplaceNamespacedPodDisruptionBudget
instance HasBodyParam ReplaceNamespacedPodDisruptionBudget V1beta1PodDisruptionBudget
instance HasOptionalParam ReplaceNamespacedPodDisruptionBudget Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodDisruptionBudget DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodDisruptionBudget FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
req KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudget contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodDisruptionBudget mtype
instance Produces ReplaceNamespacedPodDisruptionBudget MimeJSON
instance Produces ReplaceNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedPodDisruptionBudget MimeYaml
replaceNamespacedPodDisruptionBudgetStatus
:: (Consumes ReplaceNamespacedPodDisruptionBudgetStatus contentType, MimeRender contentType V1beta1PodDisruptionBudget)
=> ContentType contentType
-> Accept accept
-> V1beta1PodDisruptionBudget
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedPodDisruptionBudgetStatus contentType V1beta1PodDisruptionBudget accept
replaceNamespacedPodDisruptionBudgetStatus :: ContentType contentType
-> Accept accept
-> V1beta1PodDisruptionBudget
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
accept
replaceNamespacedPodDisruptionBudgetStatus ContentType contentType
_ Accept accept
_ V1beta1PodDisruptionBudget
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/policy/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/poddisruptionbudgets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
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
ReplaceNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
accept
-> V1beta1PodDisruptionBudget
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus
contentType
V1beta1PodDisruptionBudget
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` V1beta1PodDisruptionBudget
body
data ReplaceNamespacedPodDisruptionBudgetStatus
instance HasBodyParam ReplaceNamespacedPodDisruptionBudgetStatus V1beta1PodDisruptionBudget
instance HasOptionalParam ReplaceNamespacedPodDisruptionBudgetStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodDisruptionBudgetStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodDisruptionBudgetStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodDisruptionBudgetStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodDisruptionBudgetStatus mtype
instance Produces ReplaceNamespacedPodDisruptionBudgetStatus MimeJSON
instance Produces ReplaceNamespacedPodDisruptionBudgetStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedPodDisruptionBudgetStatus MimeYaml
replacePodSecurityPolicy
:: (Consumes ReplacePodSecurityPolicy contentType, MimeRender contentType PolicyV1beta1PodSecurityPolicy)
=> ContentType contentType
-> Accept accept
-> PolicyV1beta1PodSecurityPolicy
-> Name
-> KubernetesRequest ReplacePodSecurityPolicy contentType PolicyV1beta1PodSecurityPolicy accept
replacePodSecurityPolicy :: ContentType contentType
-> Accept accept
-> PolicyV1beta1PodSecurityPolicy
-> Name
-> KubernetesRequest
ReplacePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
replacePodSecurityPolicy ContentType contentType
_ Accept accept
_ PolicyV1beta1PodSecurityPolicy
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplacePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/policy/v1beta1/podsecuritypolicies/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplacePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplacePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
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
PolicyV1beta1PodSecurityPolicy
accept
-> PolicyV1beta1PodSecurityPolicy
-> KubernetesRequest
ReplacePodSecurityPolicy
contentType
PolicyV1beta1PodSecurityPolicy
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` PolicyV1beta1PodSecurityPolicy
body
data ReplacePodSecurityPolicy
instance HasBodyParam ReplacePodSecurityPolicy PolicyV1beta1PodSecurityPolicy
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