{-# 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.CertificatesV1beta1 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
createCertificateSigningRequest
:: (Consumes CreateCertificateSigningRequest contentType, MimeRender contentType V1beta1CertificateSigningRequest)
=> ContentType contentType
-> Accept accept
-> V1beta1CertificateSigningRequest
-> KubernetesRequest CreateCertificateSigningRequest contentType V1beta1CertificateSigningRequest accept
createCertificateSigningRequest :: ContentType contentType
-> Accept accept
-> V1beta1CertificateSigningRequest
-> KubernetesRequest
CreateCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
createCertificateSigningRequest ContentType contentType
_ Accept accept
_ V1beta1CertificateSigningRequest
body =
Method
-> [ByteString]
-> KubernetesRequest
CreateCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests"]
KubernetesRequest
CreateCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
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
CreateCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
-> V1beta1CertificateSigningRequest
-> KubernetesRequest
CreateCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
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` V1beta1CertificateSigningRequest
body
data CreateCertificateSigningRequest
instance HasBodyParam CreateCertificateSigningRequest V1beta1CertificateSigningRequest
instance HasOptionalParam CreateCertificateSigningRequest Pretty where
applyOptionalParam :: KubernetesRequest
CreateCertificateSigningRequest contentType res accept
-> Pretty
-> KubernetesRequest
CreateCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
CreateCertificateSigningRequest contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateCertificateSigningRequest contentType res accept
req KubernetesRequest
CreateCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateCertificateSigningRequest DryRun where
applyOptionalParam :: KubernetesRequest
CreateCertificateSigningRequest contentType res accept
-> DryRun
-> KubernetesRequest
CreateCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
CreateCertificateSigningRequest contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateCertificateSigningRequest contentType res accept
req KubernetesRequest
CreateCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateCertificateSigningRequest FieldManager where
applyOptionalParam :: KubernetesRequest
CreateCertificateSigningRequest contentType res accept
-> FieldManager
-> KubernetesRequest
CreateCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
CreateCertificateSigningRequest contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateCertificateSigningRequest contentType res accept
req KubernetesRequest
CreateCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateCertificateSigningRequest mtype
instance Produces CreateCertificateSigningRequest MimeJSON
instance Produces CreateCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces CreateCertificateSigningRequest MimeYaml
deleteCertificateSigningRequest
:: (Consumes DeleteCertificateSigningRequest contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteCertificateSigningRequest contentType V1Status accept
deleteCertificateSigningRequest :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest
DeleteCertificateSigningRequest contentType V1Status accept
deleteCertificateSigningRequest ContentType contentType
_ Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCertificateSigningRequest contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteCertificateSigningRequest contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCertificateSigningRequest 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 DeleteCertificateSigningRequest
instance HasBodyParam DeleteCertificateSigningRequest V1DeleteOptions
instance HasOptionalParam DeleteCertificateSigningRequest Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCertificateSigningRequest DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCertificateSigningRequest GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCertificateSigningRequest 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 DeleteCertificateSigningRequest OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCertificateSigningRequest 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 DeleteCertificateSigningRequest PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCertificateSigningRequest mtype
instance Produces DeleteCertificateSigningRequest MimeJSON
instance Produces DeleteCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces DeleteCertificateSigningRequest MimeYaml
deleteCollectionCertificateSigningRequest
:: (Consumes DeleteCollectionCertificateSigningRequest contentType)
=> ContentType contentType
-> Accept accept
-> KubernetesRequest DeleteCollectionCertificateSigningRequest contentType V1Status accept
deleteCollectionCertificateSigningRequest :: ContentType contentType
-> Accept accept
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest
contentType
V1Status
accept
deleteCollectionCertificateSigningRequest ContentType contentType
_ Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest
contentType
V1Status
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests"]
KubernetesRequest
DeleteCollectionCertificateSigningRequest
contentType
V1Status
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest
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 DeleteCollectionCertificateSigningRequest
instance HasBodyParam DeleteCollectionCertificateSigningRequest V1DeleteOptions
instance HasOptionalParam DeleteCollectionCertificateSigningRequest Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionCertificateSigningRequest Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionCertificateSigningRequest DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionCertificateSigningRequest FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionCertificateSigningRequest GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest 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 DeleteCollectionCertificateSigningRequest LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionCertificateSigningRequest Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest 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 DeleteCollectionCertificateSigningRequest OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest 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 DeleteCollectionCertificateSigningRequest PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionCertificateSigningRequest ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionCertificateSigningRequest TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
req KubernetesRequest
DeleteCollectionCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionCertificateSigningRequest 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 DeleteCollectionCertificateSigningRequest mtype
instance Produces DeleteCollectionCertificateSigningRequest MimeJSON
instance Produces DeleteCollectionCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces DeleteCollectionCertificateSigningRequest 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/certificates.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
listCertificateSigningRequest
:: Accept accept
-> KubernetesRequest ListCertificateSigningRequest MimeNoContent V1beta1CertificateSigningRequestList accept
listCertificateSigningRequest :: Accept accept
-> KubernetesRequest
ListCertificateSigningRequest
MimeNoContent
V1beta1CertificateSigningRequestList
accept
listCertificateSigningRequest Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListCertificateSigningRequest
MimeNoContent
V1beta1CertificateSigningRequestList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests"]
KubernetesRequest
ListCertificateSigningRequest
MimeNoContent
V1beta1CertificateSigningRequestList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListCertificateSigningRequest
MimeNoContent
V1beta1CertificateSigningRequestList
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 ListCertificateSigningRequest
instance HasOptionalParam ListCertificateSigningRequest Pretty where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> Pretty
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCertificateSigningRequest AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest 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 ListCertificateSigningRequest Continue where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> Continue
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCertificateSigningRequest FieldSelector where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> FieldSelector
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCertificateSigningRequest LabelSelector where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> LabelSelector
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCertificateSigningRequest Limit where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> Limit
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest 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 ListCertificateSigningRequest ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCertificateSigningRequest TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest 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 ListCertificateSigningRequest Watch where
applyOptionalParam :: KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> Watch
-> KubernetesRequest
ListCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ListCertificateSigningRequest contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListCertificateSigningRequest contentType res accept
req KubernetesRequest
ListCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCertificateSigningRequest 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 ListCertificateSigningRequest MimeJSON
instance Produces ListCertificateSigningRequest MimeJsonstreamwatch
instance Produces ListCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces ListCertificateSigningRequest MimeVndKubernetesProtobufstreamwatch
instance Produces ListCertificateSigningRequest MimeYaml
patchCertificateSigningRequest
:: (Consumes PatchCertificateSigningRequest contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchCertificateSigningRequest contentType V1beta1CertificateSigningRequest accept
patchCertificateSigningRequest :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
patchCertificateSigningRequest ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
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
PatchCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
-> Body
-> KubernetesRequest
PatchCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
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 PatchCertificateSigningRequest
instance HasBodyParam PatchCertificateSigningRequest Body
instance HasOptionalParam PatchCertificateSigningRequest Pretty where
applyOptionalParam :: KubernetesRequest
PatchCertificateSigningRequest contentType res accept
-> Pretty
-> KubernetesRequest
PatchCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
PatchCertificateSigningRequest contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchCertificateSigningRequest contentType res accept
req KubernetesRequest
PatchCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchCertificateSigningRequest DryRun where
applyOptionalParam :: KubernetesRequest
PatchCertificateSigningRequest contentType res accept
-> DryRun
-> KubernetesRequest
PatchCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
PatchCertificateSigningRequest contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchCertificateSigningRequest contentType res accept
req KubernetesRequest
PatchCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchCertificateSigningRequest FieldManager where
applyOptionalParam :: KubernetesRequest
PatchCertificateSigningRequest contentType res accept
-> FieldManager
-> KubernetesRequest
PatchCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
PatchCertificateSigningRequest contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchCertificateSigningRequest contentType res accept
req KubernetesRequest
PatchCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchCertificateSigningRequest Force where
applyOptionalParam :: KubernetesRequest
PatchCertificateSigningRequest contentType res accept
-> Force
-> KubernetesRequest
PatchCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
PatchCertificateSigningRequest contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchCertificateSigningRequest contentType res accept
req KubernetesRequest
PatchCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchCertificateSigningRequest 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 PatchCertificateSigningRequest MimeApplyPatchyaml
instance Consumes PatchCertificateSigningRequest MimeJsonPatchjson
instance Consumes PatchCertificateSigningRequest MimeMergePatchjson
instance Consumes PatchCertificateSigningRequest MimeStrategicMergePatchjson
instance Produces PatchCertificateSigningRequest MimeJSON
instance Produces PatchCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces PatchCertificateSigningRequest MimeYaml
patchCertificateSigningRequestStatus
:: (Consumes PatchCertificateSigningRequestStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchCertificateSigningRequestStatus contentType V1beta1CertificateSigningRequest accept
patchCertificateSigningRequestStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
accept
patchCertificateSigningRequestStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
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
PatchCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
accept
-> Body
-> KubernetesRequest
PatchCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
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 PatchCertificateSigningRequestStatus
instance HasBodyParam PatchCertificateSigningRequestStatus Body
instance HasOptionalParam PatchCertificateSigningRequestStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
req KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchCertificateSigningRequestStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
req KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchCertificateSigningRequestStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
req KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchCertificateSigningRequestStatus Force where
applyOptionalParam :: KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
-> Force
-> KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
req KubernetesRequest
PatchCertificateSigningRequestStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchCertificateSigningRequestStatus 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 PatchCertificateSigningRequestStatus MimeApplyPatchyaml
instance Consumes PatchCertificateSigningRequestStatus MimeJsonPatchjson
instance Consumes PatchCertificateSigningRequestStatus MimeMergePatchjson
instance Consumes PatchCertificateSigningRequestStatus MimeStrategicMergePatchjson
instance Produces PatchCertificateSigningRequestStatus MimeJSON
instance Produces PatchCertificateSigningRequestStatus MimeVndKubernetesProtobuf
instance Produces PatchCertificateSigningRequestStatus MimeYaml
readCertificateSigningRequest
:: Accept accept
-> Name
-> KubernetesRequest ReadCertificateSigningRequest MimeNoContent V1beta1CertificateSigningRequest accept
readCertificateSigningRequest :: Accept accept
-> Name
-> KubernetesRequest
ReadCertificateSigningRequest
MimeNoContent
V1beta1CertificateSigningRequest
accept
readCertificateSigningRequest Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadCertificateSigningRequest
MimeNoContent
V1beta1CertificateSigningRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadCertificateSigningRequest
MimeNoContent
V1beta1CertificateSigningRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadCertificateSigningRequest
MimeNoContent
V1beta1CertificateSigningRequest
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 ReadCertificateSigningRequest
instance HasOptionalParam ReadCertificateSigningRequest Pretty where
applyOptionalParam :: KubernetesRequest
ReadCertificateSigningRequest contentType res accept
-> Pretty
-> KubernetesRequest
ReadCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ReadCertificateSigningRequest contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadCertificateSigningRequest contentType res accept
req KubernetesRequest
ReadCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadCertificateSigningRequest Exact where
applyOptionalParam :: KubernetesRequest
ReadCertificateSigningRequest contentType res accept
-> Exact
-> KubernetesRequest
ReadCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ReadCertificateSigningRequest contentType res accept
req (Exact Bool
xs) =
KubernetesRequest
ReadCertificateSigningRequest contentType res accept
req KubernetesRequest
ReadCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadCertificateSigningRequest 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 ReadCertificateSigningRequest Export where
applyOptionalParam :: KubernetesRequest
ReadCertificateSigningRequest contentType res accept
-> Export
-> KubernetesRequest
ReadCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ReadCertificateSigningRequest contentType res accept
req (Export Bool
xs) =
KubernetesRequest
ReadCertificateSigningRequest contentType res accept
req KubernetesRequest
ReadCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadCertificateSigningRequest 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 ReadCertificateSigningRequest MimeJSON
instance Produces ReadCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces ReadCertificateSigningRequest MimeYaml
readCertificateSigningRequestStatus
:: Accept accept
-> Name
-> KubernetesRequest ReadCertificateSigningRequestStatus MimeNoContent V1beta1CertificateSigningRequest accept
readCertificateSigningRequestStatus :: Accept accept
-> Name
-> KubernetesRequest
ReadCertificateSigningRequestStatus
MimeNoContent
V1beta1CertificateSigningRequest
accept
readCertificateSigningRequestStatus Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadCertificateSigningRequestStatus
MimeNoContent
V1beta1CertificateSigningRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadCertificateSigningRequestStatus
MimeNoContent
V1beta1CertificateSigningRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadCertificateSigningRequestStatus
MimeNoContent
V1beta1CertificateSigningRequest
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 ReadCertificateSigningRequestStatus
instance HasOptionalParam ReadCertificateSigningRequestStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReadCertificateSigningRequestStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadCertificateSigningRequestStatus contentType res accept
applyOptionalParam KubernetesRequest
ReadCertificateSigningRequestStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadCertificateSigningRequestStatus contentType res accept
req KubernetesRequest
ReadCertificateSigningRequestStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadCertificateSigningRequestStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance Produces ReadCertificateSigningRequestStatus MimeJSON
instance Produces ReadCertificateSigningRequestStatus MimeVndKubernetesProtobuf
instance Produces ReadCertificateSigningRequestStatus MimeYaml
replaceCertificateSigningRequest
:: (Consumes ReplaceCertificateSigningRequest contentType, MimeRender contentType V1beta1CertificateSigningRequest)
=> ContentType contentType
-> Accept accept
-> V1beta1CertificateSigningRequest
-> Name
-> KubernetesRequest ReplaceCertificateSigningRequest contentType V1beta1CertificateSigningRequest accept
replaceCertificateSigningRequest :: ContentType contentType
-> Accept accept
-> V1beta1CertificateSigningRequest
-> Name
-> KubernetesRequest
ReplaceCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
replaceCertificateSigningRequest ContentType contentType
_ Accept accept
_ V1beta1CertificateSigningRequest
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
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
ReplaceCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
accept
-> V1beta1CertificateSigningRequest
-> KubernetesRequest
ReplaceCertificateSigningRequest
contentType
V1beta1CertificateSigningRequest
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` V1beta1CertificateSigningRequest
body
data ReplaceCertificateSigningRequest
instance HasBodyParam ReplaceCertificateSigningRequest V1beta1CertificateSigningRequest
instance HasOptionalParam ReplaceCertificateSigningRequest Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceCertificateSigningRequest DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceCertificateSigningRequest FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequest contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceCertificateSigningRequest mtype
instance Produces ReplaceCertificateSigningRequest MimeJSON
instance Produces ReplaceCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces ReplaceCertificateSigningRequest MimeYaml
replaceCertificateSigningRequestApproval
:: (Consumes ReplaceCertificateSigningRequestApproval contentType, MimeRender contentType V1beta1CertificateSigningRequest)
=> ContentType contentType
-> Accept accept
-> V1beta1CertificateSigningRequest
-> Name
-> KubernetesRequest ReplaceCertificateSigningRequestApproval contentType V1beta1CertificateSigningRequest accept
replaceCertificateSigningRequestApproval :: ContentType contentType
-> Accept accept
-> V1beta1CertificateSigningRequest
-> Name
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval
contentType
V1beta1CertificateSigningRequest
accept
replaceCertificateSigningRequestApproval ContentType contentType
_ Accept accept
_ V1beta1CertificateSigningRequest
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval
contentType
V1beta1CertificateSigningRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/approval"]
KubernetesRequest
ReplaceCertificateSigningRequestApproval
contentType
V1beta1CertificateSigningRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval
contentType
V1beta1CertificateSigningRequest
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
ReplaceCertificateSigningRequestApproval
contentType
V1beta1CertificateSigningRequest
accept
-> V1beta1CertificateSigningRequest
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval
contentType
V1beta1CertificateSigningRequest
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` V1beta1CertificateSigningRequest
body
data ReplaceCertificateSigningRequestApproval
instance HasBodyParam ReplaceCertificateSigningRequestApproval V1beta1CertificateSigningRequest
instance HasOptionalParam ReplaceCertificateSigningRequestApproval DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceCertificateSigningRequestApproval FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceCertificateSigningRequestApproval Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequestApproval contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Consumes ReplaceCertificateSigningRequestApproval mtype
instance Produces ReplaceCertificateSigningRequestApproval MimeJSON
instance Produces ReplaceCertificateSigningRequestApproval MimeVndKubernetesProtobuf
instance Produces ReplaceCertificateSigningRequestApproval MimeYaml
replaceCertificateSigningRequestStatus
:: (Consumes ReplaceCertificateSigningRequestStatus contentType, MimeRender contentType V1beta1CertificateSigningRequest)
=> ContentType contentType
-> Accept accept
-> V1beta1CertificateSigningRequest
-> Name
-> KubernetesRequest ReplaceCertificateSigningRequestStatus contentType V1beta1CertificateSigningRequest accept
replaceCertificateSigningRequestStatus :: ContentType contentType
-> Accept accept
-> V1beta1CertificateSigningRequest
-> Name
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
accept
replaceCertificateSigningRequestStatus ContentType contentType
_ Accept accept
_ V1beta1CertificateSigningRequest
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
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
ReplaceCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
accept
-> V1beta1CertificateSigningRequest
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus
contentType
V1beta1CertificateSigningRequest
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` V1beta1CertificateSigningRequest
body
data ReplaceCertificateSigningRequestStatus
instance HasBodyParam ReplaceCertificateSigningRequestStatus V1beta1CertificateSigningRequest
instance HasOptionalParam ReplaceCertificateSigningRequestStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceCertificateSigningRequestStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceCertificateSigningRequestStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
req KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceCertificateSigningRequestStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceCertificateSigningRequestStatus mtype
instance Produces ReplaceCertificateSigningRequestStatus MimeJSON
instance Produces ReplaceCertificateSigningRequestStatus MimeVndKubernetesProtobuf
instance Produces ReplaceCertificateSigningRequestStatus MimeYaml