{-# 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.AdmissionregistrationV1beta1 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
createMutatingWebhookConfiguration
:: (Consumes CreateMutatingWebhookConfiguration contentType, MimeRender contentType V1beta1MutatingWebhookConfiguration)
=> ContentType contentType
-> Accept accept
-> V1beta1MutatingWebhookConfiguration
-> KubernetesRequest CreateMutatingWebhookConfiguration contentType V1beta1MutatingWebhookConfiguration accept
createMutatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> V1beta1MutatingWebhookConfiguration
-> KubernetesRequest
CreateMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
createMutatingWebhookConfiguration ContentType contentType
_ Accept accept
_ V1beta1MutatingWebhookConfiguration
body =
Method
-> [ByteString]
-> KubernetesRequest
CreateMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations"]
KubernetesRequest
CreateMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
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
CreateMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
-> V1beta1MutatingWebhookConfiguration
-> KubernetesRequest
CreateMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
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` V1beta1MutatingWebhookConfiguration
body
data CreateMutatingWebhookConfiguration
instance HasBodyParam CreateMutatingWebhookConfiguration V1beta1MutatingWebhookConfiguration
instance HasOptionalParam CreateMutatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateMutatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateMutatingWebhookConfiguration FieldManager where
applyOptionalParam :: KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
-> FieldManager
-> KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateMutatingWebhookConfiguration mtype
instance Produces CreateMutatingWebhookConfiguration MimeJSON
instance Produces CreateMutatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces CreateMutatingWebhookConfiguration MimeYaml
createValidatingWebhookConfiguration
:: (Consumes CreateValidatingWebhookConfiguration contentType, MimeRender contentType V1beta1ValidatingWebhookConfiguration)
=> ContentType contentType
-> Accept accept
-> V1beta1ValidatingWebhookConfiguration
-> KubernetesRequest CreateValidatingWebhookConfiguration contentType V1beta1ValidatingWebhookConfiguration accept
createValidatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> V1beta1ValidatingWebhookConfiguration
-> KubernetesRequest
CreateValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
createValidatingWebhookConfiguration ContentType contentType
_ Accept accept
_ V1beta1ValidatingWebhookConfiguration
body =
Method
-> [ByteString]
-> KubernetesRequest
CreateValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations"]
KubernetesRequest
CreateValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
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
CreateValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
-> V1beta1ValidatingWebhookConfiguration
-> KubernetesRequest
CreateValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
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` V1beta1ValidatingWebhookConfiguration
body
data CreateValidatingWebhookConfiguration
instance HasBodyParam CreateValidatingWebhookConfiguration V1beta1ValidatingWebhookConfiguration
instance HasOptionalParam CreateValidatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateValidatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateValidatingWebhookConfiguration FieldManager where
applyOptionalParam :: KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
-> FieldManager
-> KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateValidatingWebhookConfiguration mtype
instance Produces CreateValidatingWebhookConfiguration MimeJSON
instance Produces CreateValidatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces CreateValidatingWebhookConfiguration MimeYaml
deleteCollectionMutatingWebhookConfiguration
:: (Consumes DeleteCollectionMutatingWebhookConfiguration contentType)
=> ContentType contentType
-> Accept accept
-> KubernetesRequest DeleteCollectionMutatingWebhookConfiguration contentType V1Status accept
deleteCollectionMutatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration
contentType
V1Status
accept
deleteCollectionMutatingWebhookConfiguration ContentType contentType
_ Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration
contentType
V1Status
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations"]
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration
contentType
V1Status
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration
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 DeleteCollectionMutatingWebhookConfiguration
instance HasBodyParam DeleteCollectionMutatingWebhookConfiguration V1DeleteOptions
instance HasOptionalParam DeleteCollectionMutatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionMutatingWebhookConfiguration Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionMutatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionMutatingWebhookConfiguration FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionMutatingWebhookConfiguration GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration 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 DeleteCollectionMutatingWebhookConfiguration LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionMutatingWebhookConfiguration Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration 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 DeleteCollectionMutatingWebhookConfiguration OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration 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 DeleteCollectionMutatingWebhookConfiguration PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionMutatingWebhookConfiguration ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionMutatingWebhookConfiguration TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionMutatingWebhookConfiguration 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 DeleteCollectionMutatingWebhookConfiguration mtype
instance Produces DeleteCollectionMutatingWebhookConfiguration MimeJSON
instance Produces DeleteCollectionMutatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces DeleteCollectionMutatingWebhookConfiguration MimeYaml
deleteCollectionValidatingWebhookConfiguration
:: (Consumes DeleteCollectionValidatingWebhookConfiguration contentType)
=> ContentType contentType
-> Accept accept
-> KubernetesRequest DeleteCollectionValidatingWebhookConfiguration contentType V1Status accept
deleteCollectionValidatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
V1Status
accept
deleteCollectionValidatingWebhookConfiguration ContentType contentType
_ Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
V1Status
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations"]
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
V1Status
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
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 DeleteCollectionValidatingWebhookConfiguration
instance HasBodyParam DeleteCollectionValidatingWebhookConfiguration V1DeleteOptions
instance HasOptionalParam DeleteCollectionValidatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> Pretty
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionValidatingWebhookConfiguration Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> Continue
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionValidatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> DryRun
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionValidatingWebhookConfiguration FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionValidatingWebhookConfiguration GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
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 DeleteCollectionValidatingWebhookConfiguration LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionValidatingWebhookConfiguration Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> Limit
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
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 DeleteCollectionValidatingWebhookConfiguration OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
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 DeleteCollectionValidatingWebhookConfiguration PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionValidatingWebhookConfiguration ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionValidatingWebhookConfiguration TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
req KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionValidatingWebhookConfiguration
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 DeleteCollectionValidatingWebhookConfiguration mtype
instance Produces DeleteCollectionValidatingWebhookConfiguration MimeJSON
instance Produces DeleteCollectionValidatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces DeleteCollectionValidatingWebhookConfiguration MimeYaml
deleteMutatingWebhookConfiguration
:: (Consumes DeleteMutatingWebhookConfiguration contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteMutatingWebhookConfiguration contentType V1Status accept
deleteMutatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType V1Status accept
deleteMutatingWebhookConfiguration ContentType contentType
_ Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteMutatingWebhookConfiguration contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteMutatingWebhookConfiguration 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 DeleteMutatingWebhookConfiguration
instance HasBodyParam DeleteMutatingWebhookConfiguration V1DeleteOptions
instance HasOptionalParam DeleteMutatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteMutatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteMutatingWebhookConfiguration GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteMutatingWebhookConfiguration 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 DeleteMutatingWebhookConfiguration OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteMutatingWebhookConfiguration 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 DeleteMutatingWebhookConfiguration PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteMutatingWebhookConfiguration mtype
instance Produces DeleteMutatingWebhookConfiguration MimeJSON
instance Produces DeleteMutatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces DeleteMutatingWebhookConfiguration MimeYaml
deleteValidatingWebhookConfiguration
:: (Consumes DeleteValidatingWebhookConfiguration contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteValidatingWebhookConfiguration contentType V1Status accept
deleteValidatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType V1Status accept
deleteValidatingWebhookConfiguration ContentType contentType
_ Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteValidatingWebhookConfiguration contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteValidatingWebhookConfiguration 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 DeleteValidatingWebhookConfiguration
instance HasBodyParam DeleteValidatingWebhookConfiguration V1DeleteOptions
instance HasOptionalParam DeleteValidatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteValidatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteValidatingWebhookConfiguration GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteValidatingWebhookConfiguration 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 DeleteValidatingWebhookConfiguration OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteValidatingWebhookConfiguration 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 DeleteValidatingWebhookConfiguration PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteValidatingWebhookConfiguration mtype
instance Produces DeleteValidatingWebhookConfiguration MimeJSON
instance Produces DeleteValidatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces DeleteValidatingWebhookConfiguration 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/admissionregistration.k8s.io/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
listMutatingWebhookConfiguration
:: Accept accept
-> KubernetesRequest ListMutatingWebhookConfiguration MimeNoContent V1beta1MutatingWebhookConfigurationList accept
listMutatingWebhookConfiguration :: Accept accept
-> KubernetesRequest
ListMutatingWebhookConfiguration
MimeNoContent
V1beta1MutatingWebhookConfigurationList
accept
listMutatingWebhookConfiguration Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListMutatingWebhookConfiguration
MimeNoContent
V1beta1MutatingWebhookConfigurationList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations"]
KubernetesRequest
ListMutatingWebhookConfiguration
MimeNoContent
V1beta1MutatingWebhookConfigurationList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListMutatingWebhookConfiguration
MimeNoContent
V1beta1MutatingWebhookConfigurationList
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 ListMutatingWebhookConfiguration
instance HasOptionalParam ListMutatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListMutatingWebhookConfiguration AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration 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 ListMutatingWebhookConfiguration Continue where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> Continue
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListMutatingWebhookConfiguration FieldSelector where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> FieldSelector
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListMutatingWebhookConfiguration LabelSelector where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> LabelSelector
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListMutatingWebhookConfiguration Limit where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> Limit
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration 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 ListMutatingWebhookConfiguration ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListMutatingWebhookConfiguration TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration 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 ListMutatingWebhookConfiguration Watch where
applyOptionalParam :: KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> Watch
-> KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListMutatingWebhookConfiguration 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 ListMutatingWebhookConfiguration MimeJSON
instance Produces ListMutatingWebhookConfiguration MimeJsonstreamwatch
instance Produces ListMutatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces ListMutatingWebhookConfiguration MimeVndKubernetesProtobufstreamwatch
instance Produces ListMutatingWebhookConfiguration MimeYaml
listValidatingWebhookConfiguration
:: Accept accept
-> KubernetesRequest ListValidatingWebhookConfiguration MimeNoContent V1beta1ValidatingWebhookConfigurationList accept
listValidatingWebhookConfiguration :: Accept accept
-> KubernetesRequest
ListValidatingWebhookConfiguration
MimeNoContent
V1beta1ValidatingWebhookConfigurationList
accept
listValidatingWebhookConfiguration Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListValidatingWebhookConfiguration
MimeNoContent
V1beta1ValidatingWebhookConfigurationList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations"]
KubernetesRequest
ListValidatingWebhookConfiguration
MimeNoContent
V1beta1ValidatingWebhookConfigurationList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListValidatingWebhookConfiguration
MimeNoContent
V1beta1ValidatingWebhookConfigurationList
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 ListValidatingWebhookConfiguration
instance HasOptionalParam ListValidatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListValidatingWebhookConfiguration AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration 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 ListValidatingWebhookConfiguration Continue where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> Continue
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListValidatingWebhookConfiguration FieldSelector where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> FieldSelector
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListValidatingWebhookConfiguration LabelSelector where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> LabelSelector
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListValidatingWebhookConfiguration Limit where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> Limit
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration 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 ListValidatingWebhookConfiguration ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListValidatingWebhookConfiguration TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration 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 ListValidatingWebhookConfiguration Watch where
applyOptionalParam :: KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> Watch
-> KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ListValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListValidatingWebhookConfiguration 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 ListValidatingWebhookConfiguration MimeJSON
instance Produces ListValidatingWebhookConfiguration MimeJsonstreamwatch
instance Produces ListValidatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces ListValidatingWebhookConfiguration MimeVndKubernetesProtobufstreamwatch
instance Produces ListValidatingWebhookConfiguration MimeYaml
patchMutatingWebhookConfiguration
:: (Consumes PatchMutatingWebhookConfiguration contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchMutatingWebhookConfiguration contentType V1beta1MutatingWebhookConfiguration accept
patchMutatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
patchMutatingWebhookConfiguration ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
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
PatchMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
-> Body
-> KubernetesRequest
PatchMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
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 PatchMutatingWebhookConfiguration
instance HasBodyParam PatchMutatingWebhookConfiguration Body
instance HasOptionalParam PatchMutatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchMutatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchMutatingWebhookConfiguration FieldManager where
applyOptionalParam :: KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
-> FieldManager
-> KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchMutatingWebhookConfiguration Force where
applyOptionalParam :: KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
-> Force
-> KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
PatchMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchMutatingWebhookConfiguration 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 PatchMutatingWebhookConfiguration MimeApplyPatchyaml
instance Consumes PatchMutatingWebhookConfiguration MimeJsonPatchjson
instance Consumes PatchMutatingWebhookConfiguration MimeMergePatchjson
instance Consumes PatchMutatingWebhookConfiguration MimeStrategicMergePatchjson
instance Produces PatchMutatingWebhookConfiguration MimeJSON
instance Produces PatchMutatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces PatchMutatingWebhookConfiguration MimeYaml
patchValidatingWebhookConfiguration
:: (Consumes PatchValidatingWebhookConfiguration contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchValidatingWebhookConfiguration contentType V1beta1ValidatingWebhookConfiguration accept
patchValidatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
patchValidatingWebhookConfiguration ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
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
PatchValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
-> Body
-> KubernetesRequest
PatchValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
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 PatchValidatingWebhookConfiguration
instance HasBodyParam PatchValidatingWebhookConfiguration Body
instance HasOptionalParam PatchValidatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchValidatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchValidatingWebhookConfiguration FieldManager where
applyOptionalParam :: KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
-> FieldManager
-> KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchValidatingWebhookConfiguration Force where
applyOptionalParam :: KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
-> Force
-> KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
PatchValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchValidatingWebhookConfiguration 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 PatchValidatingWebhookConfiguration MimeApplyPatchyaml
instance Consumes PatchValidatingWebhookConfiguration MimeJsonPatchjson
instance Consumes PatchValidatingWebhookConfiguration MimeMergePatchjson
instance Consumes PatchValidatingWebhookConfiguration MimeStrategicMergePatchjson
instance Produces PatchValidatingWebhookConfiguration MimeJSON
instance Produces PatchValidatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces PatchValidatingWebhookConfiguration MimeYaml
readMutatingWebhookConfiguration
:: Accept accept
-> Name
-> KubernetesRequest ReadMutatingWebhookConfiguration MimeNoContent V1beta1MutatingWebhookConfiguration accept
readMutatingWebhookConfiguration :: Accept accept
-> Name
-> KubernetesRequest
ReadMutatingWebhookConfiguration
MimeNoContent
V1beta1MutatingWebhookConfiguration
accept
readMutatingWebhookConfiguration Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadMutatingWebhookConfiguration
MimeNoContent
V1beta1MutatingWebhookConfiguration
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadMutatingWebhookConfiguration
MimeNoContent
V1beta1MutatingWebhookConfiguration
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadMutatingWebhookConfiguration
MimeNoContent
V1beta1MutatingWebhookConfiguration
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 ReadMutatingWebhookConfiguration
instance HasOptionalParam ReadMutatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadMutatingWebhookConfiguration Exact where
applyOptionalParam :: KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
-> Exact
-> KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
req (Exact Bool
xs) =
KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadMutatingWebhookConfiguration 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 ReadMutatingWebhookConfiguration Export where
applyOptionalParam :: KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
-> Export
-> KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
req (Export Bool
xs) =
KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReadMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadMutatingWebhookConfiguration 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 ReadMutatingWebhookConfiguration MimeJSON
instance Produces ReadMutatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces ReadMutatingWebhookConfiguration MimeYaml
readValidatingWebhookConfiguration
:: Accept accept
-> Name
-> KubernetesRequest ReadValidatingWebhookConfiguration MimeNoContent V1beta1ValidatingWebhookConfiguration accept
readValidatingWebhookConfiguration :: Accept accept
-> Name
-> KubernetesRequest
ReadValidatingWebhookConfiguration
MimeNoContent
V1beta1ValidatingWebhookConfiguration
accept
readValidatingWebhookConfiguration Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadValidatingWebhookConfiguration
MimeNoContent
V1beta1ValidatingWebhookConfiguration
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadValidatingWebhookConfiguration
MimeNoContent
V1beta1ValidatingWebhookConfiguration
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadValidatingWebhookConfiguration
MimeNoContent
V1beta1ValidatingWebhookConfiguration
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 ReadValidatingWebhookConfiguration
instance HasOptionalParam ReadValidatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadValidatingWebhookConfiguration Exact where
applyOptionalParam :: KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
-> Exact
-> KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
req (Exact Bool
xs) =
KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadValidatingWebhookConfiguration 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 ReadValidatingWebhookConfiguration Export where
applyOptionalParam :: KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
-> Export
-> KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
req (Export Bool
xs) =
KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReadValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadValidatingWebhookConfiguration 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 ReadValidatingWebhookConfiguration MimeJSON
instance Produces ReadValidatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces ReadValidatingWebhookConfiguration MimeYaml
replaceMutatingWebhookConfiguration
:: (Consumes ReplaceMutatingWebhookConfiguration contentType, MimeRender contentType V1beta1MutatingWebhookConfiguration)
=> ContentType contentType
-> Accept accept
-> V1beta1MutatingWebhookConfiguration
-> Name
-> KubernetesRequest ReplaceMutatingWebhookConfiguration contentType V1beta1MutatingWebhookConfiguration accept
replaceMutatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> V1beta1MutatingWebhookConfiguration
-> Name
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
replaceMutatingWebhookConfiguration ContentType contentType
_ Accept accept
_ V1beta1MutatingWebhookConfiguration
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
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
ReplaceMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
accept
-> V1beta1MutatingWebhookConfiguration
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration
contentType
V1beta1MutatingWebhookConfiguration
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` V1beta1MutatingWebhookConfiguration
body
data ReplaceMutatingWebhookConfiguration
instance HasBodyParam ReplaceMutatingWebhookConfiguration V1beta1MutatingWebhookConfiguration
instance HasOptionalParam ReplaceMutatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceMutatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceMutatingWebhookConfiguration FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceMutatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceMutatingWebhookConfiguration mtype
instance Produces ReplaceMutatingWebhookConfiguration MimeJSON
instance Produces ReplaceMutatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces ReplaceMutatingWebhookConfiguration MimeYaml
replaceValidatingWebhookConfiguration
:: (Consumes ReplaceValidatingWebhookConfiguration contentType, MimeRender contentType V1beta1ValidatingWebhookConfiguration)
=> ContentType contentType
-> Accept accept
-> V1beta1ValidatingWebhookConfiguration
-> Name
-> KubernetesRequest ReplaceValidatingWebhookConfiguration contentType V1beta1ValidatingWebhookConfiguration accept
replaceValidatingWebhookConfiguration :: ContentType contentType
-> Accept accept
-> V1beta1ValidatingWebhookConfiguration
-> Name
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
replaceValidatingWebhookConfiguration ContentType contentType
_ Accept accept
_ V1beta1ValidatingWebhookConfiguration
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
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
ReplaceValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
accept
-> V1beta1ValidatingWebhookConfiguration
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration
contentType
V1beta1ValidatingWebhookConfiguration
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` V1beta1ValidatingWebhookConfiguration
body
data ReplaceValidatingWebhookConfiguration
instance HasBodyParam ReplaceValidatingWebhookConfiguration V1beta1ValidatingWebhookConfiguration
instance HasOptionalParam ReplaceValidatingWebhookConfiguration Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceValidatingWebhookConfiguration DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceValidatingWebhookConfiguration FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
applyOptionalParam KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
req KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceValidatingWebhookConfiguration contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceValidatingWebhookConfiguration mtype
instance Produces ReplaceValidatingWebhookConfiguration MimeJSON
instance Produces ReplaceValidatingWebhookConfiguration MimeVndKubernetesProtobuf
instance Produces ReplaceValidatingWebhookConfiguration MimeYaml