{-# 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.RbacAuthorizationV1alpha1 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
createClusterRole
:: (Consumes CreateClusterRole contentType, MimeRender contentType V1alpha1ClusterRole)
=> ContentType contentType
-> Accept accept
-> V1alpha1ClusterRole
-> KubernetesRequest CreateClusterRole contentType V1alpha1ClusterRole accept
createClusterRole :: ContentType contentType
-> Accept accept
-> V1alpha1ClusterRole
-> KubernetesRequest
CreateClusterRole contentType V1alpha1ClusterRole accept
createClusterRole ContentType contentType
_ Accept accept
_ V1alpha1ClusterRole
body =
Method
-> [ByteString]
-> KubernetesRequest
CreateClusterRole contentType V1alpha1ClusterRole accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles"]
KubernetesRequest
CreateClusterRole contentType V1alpha1ClusterRole accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateClusterRole contentType V1alpha1ClusterRole 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
CreateClusterRole contentType V1alpha1ClusterRole accept
-> V1alpha1ClusterRole
-> KubernetesRequest
CreateClusterRole contentType V1alpha1ClusterRole 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` V1alpha1ClusterRole
body
data CreateClusterRole
instance HasBodyParam CreateClusterRole V1alpha1ClusterRole
instance HasOptionalParam CreateClusterRole Pretty where
applyOptionalParam :: KubernetesRequest CreateClusterRole contentType res accept
-> Pretty
-> KubernetesRequest CreateClusterRole contentType res accept
applyOptionalParam KubernetesRequest CreateClusterRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateClusterRole contentType res accept
req KubernetesRequest CreateClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateClusterRole DryRun where
applyOptionalParam :: KubernetesRequest CreateClusterRole contentType res accept
-> DryRun
-> KubernetesRequest CreateClusterRole contentType res accept
applyOptionalParam KubernetesRequest CreateClusterRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateClusterRole contentType res accept
req KubernetesRequest CreateClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateClusterRole FieldManager where
applyOptionalParam :: KubernetesRequest CreateClusterRole contentType res accept
-> FieldManager
-> KubernetesRequest CreateClusterRole contentType res accept
applyOptionalParam KubernetesRequest CreateClusterRole contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateClusterRole contentType res accept
req KubernetesRequest CreateClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateClusterRole mtype
instance Produces CreateClusterRole MimeJSON
instance Produces CreateClusterRole MimeVndKubernetesProtobuf
instance Produces CreateClusterRole MimeYaml
createClusterRoleBinding
:: (Consumes CreateClusterRoleBinding contentType, MimeRender contentType V1alpha1ClusterRoleBinding)
=> ContentType contentType
-> Accept accept
-> V1alpha1ClusterRoleBinding
-> KubernetesRequest CreateClusterRoleBinding contentType V1alpha1ClusterRoleBinding accept
createClusterRoleBinding :: ContentType contentType
-> Accept accept
-> V1alpha1ClusterRoleBinding
-> KubernetesRequest
CreateClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
createClusterRoleBinding ContentType contentType
_ Accept accept
_ V1alpha1ClusterRoleBinding
body =
Method
-> [ByteString]
-> KubernetesRequest
CreateClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings"]
KubernetesRequest
CreateClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
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
CreateClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
-> V1alpha1ClusterRoleBinding
-> KubernetesRequest
CreateClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
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` V1alpha1ClusterRoleBinding
body
data CreateClusterRoleBinding
instance HasBodyParam CreateClusterRoleBinding V1alpha1ClusterRoleBinding
instance HasOptionalParam CreateClusterRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest CreateClusterRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
CreateClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest CreateClusterRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateClusterRoleBinding contentType res accept
req KubernetesRequest CreateClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateClusterRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest CreateClusterRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
CreateClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest CreateClusterRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateClusterRoleBinding contentType res accept
req KubernetesRequest CreateClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateClusterRoleBinding FieldManager where
applyOptionalParam :: KubernetesRequest CreateClusterRoleBinding contentType res accept
-> FieldManager
-> KubernetesRequest
CreateClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest CreateClusterRoleBinding contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateClusterRoleBinding contentType res accept
req KubernetesRequest CreateClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateClusterRoleBinding mtype
instance Produces CreateClusterRoleBinding MimeJSON
instance Produces CreateClusterRoleBinding MimeVndKubernetesProtobuf
instance Produces CreateClusterRoleBinding MimeYaml
createNamespacedRole
:: (Consumes CreateNamespacedRole contentType, MimeRender contentType V1alpha1Role)
=> ContentType contentType
-> Accept accept
-> V1alpha1Role
-> Namespace
-> KubernetesRequest CreateNamespacedRole contentType V1alpha1Role accept
createNamespacedRole :: ContentType contentType
-> Accept accept
-> V1alpha1Role
-> Namespace
-> KubernetesRequest
CreateNamespacedRole contentType V1alpha1Role accept
createNamespacedRole ContentType contentType
_ Accept accept
_ V1alpha1Role
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedRole contentType V1alpha1Role accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/roles"]
KubernetesRequest
CreateNamespacedRole contentType V1alpha1Role accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedRole contentType V1alpha1Role 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
CreateNamespacedRole contentType V1alpha1Role accept
-> V1alpha1Role
-> KubernetesRequest
CreateNamespacedRole contentType V1alpha1Role 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` V1alpha1Role
body
data CreateNamespacedRole
instance HasBodyParam CreateNamespacedRole V1alpha1Role
instance HasOptionalParam CreateNamespacedRole Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedRole contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedRole contentType res accept
req KubernetesRequest CreateNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedRole DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedRole contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedRole contentType res accept
req KubernetesRequest CreateNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedRole FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedRole contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedRole contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedRole contentType res accept
req KubernetesRequest CreateNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedRole mtype
instance Produces CreateNamespacedRole MimeJSON
instance Produces CreateNamespacedRole MimeVndKubernetesProtobuf
instance Produces CreateNamespacedRole MimeYaml
createNamespacedRoleBinding
:: (Consumes CreateNamespacedRoleBinding contentType, MimeRender contentType V1alpha1RoleBinding)
=> ContentType contentType
-> Accept accept
-> V1alpha1RoleBinding
-> Namespace
-> KubernetesRequest CreateNamespacedRoleBinding contentType V1alpha1RoleBinding accept
createNamespacedRoleBinding :: ContentType contentType
-> Accept accept
-> V1alpha1RoleBinding
-> Namespace
-> KubernetesRequest
CreateNamespacedRoleBinding contentType V1alpha1RoleBinding accept
createNamespacedRoleBinding ContentType contentType
_ Accept accept
_ V1alpha1RoleBinding
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedRoleBinding contentType V1alpha1RoleBinding accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/rolebindings"]
KubernetesRequest
CreateNamespacedRoleBinding contentType V1alpha1RoleBinding accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedRoleBinding contentType V1alpha1RoleBinding 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
CreateNamespacedRoleBinding contentType V1alpha1RoleBinding accept
-> V1alpha1RoleBinding
-> KubernetesRequest
CreateNamespacedRoleBinding contentType V1alpha1RoleBinding 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` V1alpha1RoleBinding
body
data CreateNamespacedRoleBinding
instance HasBodyParam CreateNamespacedRoleBinding V1alpha1RoleBinding
instance HasOptionalParam CreateNamespacedRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
req KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
req KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedRoleBinding FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
req KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedRoleBinding mtype
instance Produces CreateNamespacedRoleBinding MimeJSON
instance Produces CreateNamespacedRoleBinding MimeVndKubernetesProtobuf
instance Produces CreateNamespacedRoleBinding MimeYaml
deleteClusterRole
:: (Consumes DeleteClusterRole contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteClusterRole contentType V1Status accept
deleteClusterRole :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteClusterRole contentType V1Status accept
deleteClusterRole ContentType contentType
_ Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest DeleteClusterRole contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest DeleteClusterRole contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest DeleteClusterRole 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 DeleteClusterRole
instance HasBodyParam DeleteClusterRole V1DeleteOptions
instance HasOptionalParam DeleteClusterRole Pretty where
applyOptionalParam :: KubernetesRequest DeleteClusterRole contentType res accept
-> Pretty
-> KubernetesRequest DeleteClusterRole contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteClusterRole contentType res accept
req KubernetesRequest DeleteClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteClusterRole DryRun where
applyOptionalParam :: KubernetesRequest DeleteClusterRole contentType res accept
-> DryRun
-> KubernetesRequest DeleteClusterRole contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteClusterRole contentType res accept
req KubernetesRequest DeleteClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteClusterRole GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteClusterRole contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteClusterRole contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRole contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteClusterRole contentType res accept
req KubernetesRequest DeleteClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteClusterRole 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 DeleteClusterRole OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteClusterRole contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteClusterRole contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRole contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteClusterRole contentType res accept
req KubernetesRequest DeleteClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteClusterRole 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 DeleteClusterRole PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteClusterRole contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteClusterRole contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRole contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteClusterRole contentType res accept
req KubernetesRequest DeleteClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteClusterRole mtype
instance Produces DeleteClusterRole MimeJSON
instance Produces DeleteClusterRole MimeVndKubernetesProtobuf
instance Produces DeleteClusterRole MimeYaml
deleteClusterRoleBinding
:: (Consumes DeleteClusterRoleBinding contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteClusterRoleBinding contentType V1Status accept
deleteClusterRoleBinding :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest
DeleteClusterRoleBinding contentType V1Status accept
deleteClusterRoleBinding ContentType contentType
_ Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteClusterRoleBinding contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteClusterRoleBinding contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteClusterRoleBinding 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 DeleteClusterRoleBinding
instance HasBodyParam DeleteClusterRoleBinding V1DeleteOptions
instance HasOptionalParam DeleteClusterRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
DeleteClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteClusterRoleBinding contentType res accept
req KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteClusterRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
DeleteClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteClusterRoleBinding contentType res accept
req KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteClusterRoleBinding GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRoleBinding contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteClusterRoleBinding contentType res accept
req KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteClusterRoleBinding 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 DeleteClusterRoleBinding OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRoleBinding contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteClusterRoleBinding contentType res accept
req KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteClusterRoleBinding 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 DeleteClusterRoleBinding PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterRoleBinding contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteClusterRoleBinding contentType res accept
req KubernetesRequest DeleteClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteClusterRoleBinding mtype
instance Produces DeleteClusterRoleBinding MimeJSON
instance Produces DeleteClusterRoleBinding MimeVndKubernetesProtobuf
instance Produces DeleteClusterRoleBinding MimeYaml
deleteCollectionClusterRole
:: (Consumes DeleteCollectionClusterRole contentType)
=> ContentType contentType
-> Accept accept
-> KubernetesRequest DeleteCollectionClusterRole contentType V1Status accept
deleteCollectionClusterRole :: ContentType contentType
-> Accept accept
-> KubernetesRequest
DeleteCollectionClusterRole contentType V1Status accept
deleteCollectionClusterRole ContentType contentType
_ Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionClusterRole contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles"]
KubernetesRequest
DeleteCollectionClusterRole contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionClusterRole 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 DeleteCollectionClusterRole
instance HasBodyParam DeleteCollectionClusterRole V1DeleteOptions
instance HasOptionalParam DeleteCollectionClusterRole Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRole Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRole DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRole FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRole GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole 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 DeleteCollectionClusterRole LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRole Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole 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 DeleteCollectionClusterRole OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole 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 DeleteCollectionClusterRole PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRole ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRole TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionClusterRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionClusterRole contentType res accept
req KubernetesRequest
DeleteCollectionClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRole 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 DeleteCollectionClusterRole mtype
instance Produces DeleteCollectionClusterRole MimeJSON
instance Produces DeleteCollectionClusterRole MimeVndKubernetesProtobuf
instance Produces DeleteCollectionClusterRole MimeYaml
deleteCollectionClusterRoleBinding
:: (Consumes DeleteCollectionClusterRoleBinding contentType)
=> ContentType contentType
-> Accept accept
-> KubernetesRequest DeleteCollectionClusterRoleBinding contentType V1Status accept
deleteCollectionClusterRoleBinding :: ContentType contentType
-> Accept accept
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType V1Status accept
deleteCollectionClusterRoleBinding ContentType contentType
_ Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings"]
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionClusterRoleBinding 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 DeleteCollectionClusterRoleBinding
instance HasBodyParam DeleteCollectionClusterRoleBinding V1DeleteOptions
instance HasOptionalParam DeleteCollectionClusterRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRoleBinding Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRoleBinding FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRoleBinding GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding 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 DeleteCollectionClusterRoleBinding LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRoleBinding Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding 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 DeleteCollectionClusterRoleBinding OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding 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 DeleteCollectionClusterRoleBinding PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRoleBinding ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionClusterRoleBinding TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionClusterRoleBinding 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 DeleteCollectionClusterRoleBinding mtype
instance Produces DeleteCollectionClusterRoleBinding MimeJSON
instance Produces DeleteCollectionClusterRoleBinding MimeVndKubernetesProtobuf
instance Produces DeleteCollectionClusterRoleBinding MimeYaml
deleteCollectionNamespacedRole
:: (Consumes DeleteCollectionNamespacedRole contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedRole contentType V1Status accept
deleteCollectionNamespacedRole :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType V1Status accept
deleteCollectionNamespacedRole ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/roles"]
KubernetesRequest
DeleteCollectionNamespacedRole contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedRole 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 DeleteCollectionNamespacedRole
instance HasBodyParam DeleteCollectionNamespacedRole V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedRole Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRole Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRole DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRole FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRole GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole 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 DeleteCollectionNamespacedRole LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRole Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole 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 DeleteCollectionNamespacedRole OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole 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 DeleteCollectionNamespacedRole PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRole ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRole TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRole 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 DeleteCollectionNamespacedRole mtype
instance Produces DeleteCollectionNamespacedRole MimeJSON
instance Produces DeleteCollectionNamespacedRole MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedRole MimeYaml
deleteCollectionNamespacedRoleBinding
:: (Consumes DeleteCollectionNamespacedRoleBinding contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedRoleBinding contentType V1Status accept
deleteCollectionNamespacedRoleBinding :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType V1Status accept
deleteCollectionNamespacedRoleBinding ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/rolebindings"]
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding 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 DeleteCollectionNamespacedRoleBinding
instance HasBodyParam DeleteCollectionNamespacedRoleBinding V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRoleBinding Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRoleBinding FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRoleBinding GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding 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 DeleteCollectionNamespacedRoleBinding LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRoleBinding Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding 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 DeleteCollectionNamespacedRoleBinding OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding 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 DeleteCollectionNamespacedRoleBinding PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRoleBinding ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedRoleBinding TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedRoleBinding 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 DeleteCollectionNamespacedRoleBinding mtype
instance Produces DeleteCollectionNamespacedRoleBinding MimeJSON
instance Produces DeleteCollectionNamespacedRoleBinding MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedRoleBinding MimeYaml
deleteNamespacedRole
:: (Consumes DeleteNamespacedRole contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedRole contentType V1Status accept
deleteNamespacedRole :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedRole contentType V1Status accept
deleteNamespacedRole ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedRole contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/roles/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest DeleteNamespacedRole contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedRole 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 DeleteNamespacedRole
instance HasBodyParam DeleteNamespacedRole V1DeleteOptions
instance HasOptionalParam DeleteNamespacedRole Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedRole contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedRole contentType res accept
req KubernetesRequest DeleteNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedRole DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedRole contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedRole contentType res accept
req KubernetesRequest DeleteNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedRole GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedRole contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedRole contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedRole contentType res accept
req KubernetesRequest DeleteNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedRole 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 DeleteNamespacedRole OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedRole contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedRole contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedRole contentType res accept
req KubernetesRequest DeleteNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedRole 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 DeleteNamespacedRole PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedRole contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedRole contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedRole contentType res accept
req KubernetesRequest DeleteNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedRole mtype
instance Produces DeleteNamespacedRole MimeJSON
instance Produces DeleteNamespacedRole MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedRole MimeYaml
deleteNamespacedRoleBinding
:: (Consumes DeleteNamespacedRoleBinding contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedRoleBinding contentType V1Status accept
deleteNamespacedRoleBinding :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType V1Status accept
deleteNamespacedRoleBinding ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/rolebindings/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedRoleBinding contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedRoleBinding 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 DeleteNamespacedRoleBinding
instance HasBodyParam DeleteNamespacedRoleBinding V1DeleteOptions
instance HasOptionalParam DeleteNamespacedRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedRoleBinding GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedRoleBinding 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 DeleteNamespacedRoleBinding OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedRoleBinding 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 DeleteNamespacedRoleBinding PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
req KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedRoleBinding mtype
instance Produces DeleteNamespacedRoleBinding MimeJSON
instance Produces DeleteNamespacedRoleBinding MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedRoleBinding 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/rbac.authorization.k8s.io/v1alpha1/"]
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
listClusterRole
:: Accept accept
-> KubernetesRequest ListClusterRole MimeNoContent V1alpha1ClusterRoleList accept
listClusterRole :: Accept accept
-> KubernetesRequest
ListClusterRole MimeNoContent V1alpha1ClusterRoleList accept
listClusterRole Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListClusterRole MimeNoContent V1alpha1ClusterRoleList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles"]
KubernetesRequest
ListClusterRole MimeNoContent V1alpha1ClusterRoleList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListClusterRole MimeNoContent V1alpha1ClusterRoleList 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 ListClusterRole
instance HasOptionalParam ListClusterRole Pretty where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> Pretty
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRole AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole 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 ListClusterRole Continue where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> Continue
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRole FieldSelector where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> FieldSelector
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRole LabelSelector where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> LabelSelector
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRole Limit where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> Limit
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole 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 ListClusterRole ResourceVersion where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> ResourceVersion
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRole TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole 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 ListClusterRole Watch where
applyOptionalParam :: KubernetesRequest ListClusterRole contentType res accept
-> Watch
-> KubernetesRequest ListClusterRole contentType res accept
applyOptionalParam KubernetesRequest ListClusterRole contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListClusterRole contentType res accept
req KubernetesRequest ListClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRole 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 ListClusterRole MimeJSON
instance Produces ListClusterRole MimeJsonstreamwatch
instance Produces ListClusterRole MimeVndKubernetesProtobuf
instance Produces ListClusterRole MimeVndKubernetesProtobufstreamwatch
instance Produces ListClusterRole MimeYaml
listClusterRoleBinding
:: Accept accept
-> KubernetesRequest ListClusterRoleBinding MimeNoContent V1alpha1ClusterRoleBindingList accept
listClusterRoleBinding :: Accept accept
-> KubernetesRequest
ListClusterRoleBinding
MimeNoContent
V1alpha1ClusterRoleBindingList
accept
listClusterRoleBinding Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListClusterRoleBinding
MimeNoContent
V1alpha1ClusterRoleBindingList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings"]
KubernetesRequest
ListClusterRoleBinding
MimeNoContent
V1alpha1ClusterRoleBindingList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListClusterRoleBinding
MimeNoContent
V1alpha1ClusterRoleBindingList
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 ListClusterRoleBinding
instance HasOptionalParam ListClusterRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRoleBinding AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding 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 ListClusterRoleBinding Continue where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> Continue
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRoleBinding FieldSelector where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> FieldSelector
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRoleBinding LabelSelector where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> LabelSelector
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRoleBinding Limit where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> Limit
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding 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 ListClusterRoleBinding ResourceVersion where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> ResourceVersion
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListClusterRoleBinding TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding 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 ListClusterRoleBinding Watch where
applyOptionalParam :: KubernetesRequest ListClusterRoleBinding contentType res accept
-> Watch
-> KubernetesRequest ListClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListClusterRoleBinding contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListClusterRoleBinding contentType res accept
req KubernetesRequest ListClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterRoleBinding 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 ListClusterRoleBinding MimeJSON
instance Produces ListClusterRoleBinding MimeJsonstreamwatch
instance Produces ListClusterRoleBinding MimeVndKubernetesProtobuf
instance Produces ListClusterRoleBinding MimeVndKubernetesProtobufstreamwatch
instance Produces ListClusterRoleBinding MimeYaml
listNamespacedRole
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedRole MimeNoContent V1alpha1RoleList accept
listNamespacedRole :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedRole MimeNoContent V1alpha1RoleList accept
listNamespacedRole Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedRole MimeNoContent V1alpha1RoleList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/roles"]
KubernetesRequest
ListNamespacedRole MimeNoContent V1alpha1RoleList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedRole MimeNoContent V1alpha1RoleList 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 ListNamespacedRole
instance HasOptionalParam ListNamespacedRole Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRole AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole 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 ListNamespacedRole Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRole FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRole LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRole Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole 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 ListNamespacedRole ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRole TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole 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 ListNamespacedRole Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedRole contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRole contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedRole contentType res accept
req KubernetesRequest ListNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedRole 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 ListNamespacedRole MimeJSON
instance Produces ListNamespacedRole MimeJsonstreamwatch
instance Produces ListNamespacedRole MimeVndKubernetesProtobuf
instance Produces ListNamespacedRole MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedRole MimeYaml
listNamespacedRoleBinding
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedRoleBinding MimeNoContent V1alpha1RoleBindingList accept
listNamespacedRoleBinding :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedRoleBinding
MimeNoContent
V1alpha1RoleBindingList
accept
listNamespacedRoleBinding Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedRoleBinding
MimeNoContent
V1alpha1RoleBindingList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/rolebindings"]
KubernetesRequest
ListNamespacedRoleBinding
MimeNoContent
V1alpha1RoleBindingList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedRoleBinding
MimeNoContent
V1alpha1RoleBindingList
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 ListNamespacedRoleBinding
instance HasOptionalParam ListNamespacedRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRoleBinding AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding 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 ListNamespacedRoleBinding Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> Continue
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRoleBinding FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> FieldSelector
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRoleBinding LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> LabelSelector
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRoleBinding Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> Limit
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding 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 ListNamespacedRoleBinding ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedRoleBinding TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding 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 ListNamespacedRoleBinding Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> Watch
-> KubernetesRequest
ListNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedRoleBinding contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedRoleBinding contentType res accept
req KubernetesRequest ListNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedRoleBinding 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 ListNamespacedRoleBinding MimeJSON
instance Produces ListNamespacedRoleBinding MimeJsonstreamwatch
instance Produces ListNamespacedRoleBinding MimeVndKubernetesProtobuf
instance Produces ListNamespacedRoleBinding MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedRoleBinding MimeYaml
listRoleBindingForAllNamespaces
:: Accept accept
-> KubernetesRequest ListRoleBindingForAllNamespaces MimeNoContent V1alpha1RoleBindingList accept
listRoleBindingForAllNamespaces :: Accept accept
-> KubernetesRequest
ListRoleBindingForAllNamespaces
MimeNoContent
V1alpha1RoleBindingList
accept
listRoleBindingForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListRoleBindingForAllNamespaces
MimeNoContent
V1alpha1RoleBindingList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings"]
KubernetesRequest
ListRoleBindingForAllNamespaces
MimeNoContent
V1alpha1RoleBindingList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListRoleBindingForAllNamespaces
MimeNoContent
V1alpha1RoleBindingList
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 ListRoleBindingForAllNamespaces
instance HasOptionalParam ListRoleBindingForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces 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 ListRoleBindingForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleBindingForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleBindingForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleBindingForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces 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 ListRoleBindingForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleBindingForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleBindingForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces 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 ListRoleBindingForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
req KubernetesRequest
ListRoleBindingForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleBindingForAllNamespaces 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 ListRoleBindingForAllNamespaces MimeJSON
instance Produces ListRoleBindingForAllNamespaces MimeJsonstreamwatch
instance Produces ListRoleBindingForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListRoleBindingForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListRoleBindingForAllNamespaces MimeYaml
listRoleForAllNamespaces
:: Accept accept
-> KubernetesRequest ListRoleForAllNamespaces MimeNoContent V1alpha1RoleList accept
listRoleForAllNamespaces :: Accept accept
-> KubernetesRequest
ListRoleForAllNamespaces MimeNoContent V1alpha1RoleList accept
listRoleForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListRoleForAllNamespaces MimeNoContent V1alpha1RoleList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/roles"]
KubernetesRequest
ListRoleForAllNamespaces MimeNoContent V1alpha1RoleList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListRoleForAllNamespaces MimeNoContent V1alpha1RoleList 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 ListRoleForAllNamespaces
instance HasOptionalParam ListRoleForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces 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 ListRoleForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces 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 ListRoleForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListRoleForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces 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 ListRoleForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListRoleForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListRoleForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListRoleForAllNamespaces contentType res accept
req KubernetesRequest ListRoleForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListRoleForAllNamespaces 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 ListRoleForAllNamespaces MimeJSON
instance Produces ListRoleForAllNamespaces MimeJsonstreamwatch
instance Produces ListRoleForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListRoleForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListRoleForAllNamespaces MimeYaml
patchClusterRole
:: (Consumes PatchClusterRole contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchClusterRole contentType V1alpha1ClusterRole accept
patchClusterRole :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchClusterRole contentType V1alpha1ClusterRole accept
patchClusterRole ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchClusterRole contentType V1alpha1ClusterRole accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchClusterRole contentType V1alpha1ClusterRole accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchClusterRole contentType V1alpha1ClusterRole 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
PatchClusterRole contentType V1alpha1ClusterRole accept
-> Body
-> KubernetesRequest
PatchClusterRole contentType V1alpha1ClusterRole 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 PatchClusterRole
instance HasBodyParam PatchClusterRole Body
instance HasOptionalParam PatchClusterRole Pretty where
applyOptionalParam :: KubernetesRequest PatchClusterRole contentType res accept
-> Pretty
-> KubernetesRequest PatchClusterRole contentType res accept
applyOptionalParam KubernetesRequest PatchClusterRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchClusterRole contentType res accept
req KubernetesRequest PatchClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchClusterRole DryRun where
applyOptionalParam :: KubernetesRequest PatchClusterRole contentType res accept
-> DryRun
-> KubernetesRequest PatchClusterRole contentType res accept
applyOptionalParam KubernetesRequest PatchClusterRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchClusterRole contentType res accept
req KubernetesRequest PatchClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchClusterRole FieldManager where
applyOptionalParam :: KubernetesRequest PatchClusterRole contentType res accept
-> FieldManager
-> KubernetesRequest PatchClusterRole contentType res accept
applyOptionalParam KubernetesRequest PatchClusterRole contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchClusterRole contentType res accept
req KubernetesRequest PatchClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchClusterRole Force where
applyOptionalParam :: KubernetesRequest PatchClusterRole contentType res accept
-> Force
-> KubernetesRequest PatchClusterRole contentType res accept
applyOptionalParam KubernetesRequest PatchClusterRole contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchClusterRole contentType res accept
req KubernetesRequest PatchClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchClusterRole 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 PatchClusterRole MimeApplyPatchyaml
instance Consumes PatchClusterRole MimeJsonPatchjson
instance Consumes PatchClusterRole MimeMergePatchjson
instance Consumes PatchClusterRole MimeStrategicMergePatchjson
instance Produces PatchClusterRole MimeJSON
instance Produces PatchClusterRole MimeVndKubernetesProtobuf
instance Produces PatchClusterRole MimeYaml
patchClusterRoleBinding
:: (Consumes PatchClusterRoleBinding contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchClusterRoleBinding contentType V1alpha1ClusterRoleBinding accept
patchClusterRoleBinding :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
patchClusterRoleBinding ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
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
PatchClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
-> Body
-> KubernetesRequest
PatchClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
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 PatchClusterRoleBinding
instance HasBodyParam PatchClusterRoleBinding Body
instance HasOptionalParam PatchClusterRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest PatchClusterRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest PatchClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest PatchClusterRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchClusterRoleBinding contentType res accept
req KubernetesRequest PatchClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchClusterRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest PatchClusterRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest PatchClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest PatchClusterRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchClusterRoleBinding contentType res accept
req KubernetesRequest PatchClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchClusterRoleBinding FieldManager where
applyOptionalParam :: KubernetesRequest PatchClusterRoleBinding contentType res accept
-> FieldManager
-> KubernetesRequest PatchClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest PatchClusterRoleBinding contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchClusterRoleBinding contentType res accept
req KubernetesRequest PatchClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchClusterRoleBinding Force where
applyOptionalParam :: KubernetesRequest PatchClusterRoleBinding contentType res accept
-> Force
-> KubernetesRequest PatchClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest PatchClusterRoleBinding contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchClusterRoleBinding contentType res accept
req KubernetesRequest PatchClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchClusterRoleBinding 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 PatchClusterRoleBinding MimeApplyPatchyaml
instance Consumes PatchClusterRoleBinding MimeJsonPatchjson
instance Consumes PatchClusterRoleBinding MimeMergePatchjson
instance Consumes PatchClusterRoleBinding MimeStrategicMergePatchjson
instance Produces PatchClusterRoleBinding MimeJSON
instance Produces PatchClusterRoleBinding MimeVndKubernetesProtobuf
instance Produces PatchClusterRoleBinding MimeYaml
patchNamespacedRole
:: (Consumes PatchNamespacedRole contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedRole contentType V1alpha1Role accept
patchNamespacedRole :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedRole contentType V1alpha1Role accept
patchNamespacedRole ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedRole contentType V1alpha1Role accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/roles/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedRole contentType V1alpha1Role accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedRole contentType V1alpha1Role 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
PatchNamespacedRole contentType V1alpha1Role accept
-> Body
-> KubernetesRequest
PatchNamespacedRole contentType V1alpha1Role 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 PatchNamespacedRole
instance HasBodyParam PatchNamespacedRole Body
instance HasOptionalParam PatchNamespacedRole Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedRole contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedRole contentType res accept
req KubernetesRequest PatchNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedRole DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedRole contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedRole contentType res accept
req KubernetesRequest PatchNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedRole FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedRole contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedRole contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedRole contentType res accept
req KubernetesRequest PatchNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedRole Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedRole contentType res accept
-> Force
-> KubernetesRequest PatchNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedRole contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedRole contentType res accept
req KubernetesRequest PatchNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedRole 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 PatchNamespacedRole MimeApplyPatchyaml
instance Consumes PatchNamespacedRole MimeJsonPatchjson
instance Consumes PatchNamespacedRole MimeMergePatchjson
instance Consumes PatchNamespacedRole MimeStrategicMergePatchjson
instance Produces PatchNamespacedRole MimeJSON
instance Produces PatchNamespacedRole MimeVndKubernetesProtobuf
instance Produces PatchNamespacedRole MimeYaml
patchNamespacedRoleBinding
:: (Consumes PatchNamespacedRoleBinding contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedRoleBinding contentType V1alpha1RoleBinding accept
patchNamespacedRoleBinding :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedRoleBinding contentType V1alpha1RoleBinding accept
patchNamespacedRoleBinding ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedRoleBinding contentType V1alpha1RoleBinding accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/rolebindings/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedRoleBinding contentType V1alpha1RoleBinding accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedRoleBinding contentType V1alpha1RoleBinding 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
PatchNamespacedRoleBinding contentType V1alpha1RoleBinding accept
-> Body
-> KubernetesRequest
PatchNamespacedRoleBinding contentType V1alpha1RoleBinding 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 PatchNamespacedRoleBinding
instance HasBodyParam PatchNamespacedRoleBinding Body
instance HasOptionalParam PatchNamespacedRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedRoleBinding contentType res accept
req KubernetesRequest PatchNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedRoleBinding contentType res accept
req KubernetesRequest PatchNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedRoleBinding FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedRoleBinding contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedRoleBinding contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedRoleBinding contentType res accept
req KubernetesRequest PatchNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedRoleBinding Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedRoleBinding contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedRoleBinding contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedRoleBinding contentType res accept
req KubernetesRequest PatchNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedRoleBinding 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 PatchNamespacedRoleBinding MimeApplyPatchyaml
instance Consumes PatchNamespacedRoleBinding MimeJsonPatchjson
instance Consumes PatchNamespacedRoleBinding MimeMergePatchjson
instance Consumes PatchNamespacedRoleBinding MimeStrategicMergePatchjson
instance Produces PatchNamespacedRoleBinding MimeJSON
instance Produces PatchNamespacedRoleBinding MimeVndKubernetesProtobuf
instance Produces PatchNamespacedRoleBinding MimeYaml
readClusterRole
:: Accept accept
-> Name
-> KubernetesRequest ReadClusterRole MimeNoContent V1alpha1ClusterRole accept
readClusterRole :: Accept accept
-> Name
-> KubernetesRequest
ReadClusterRole MimeNoContent V1alpha1ClusterRole accept
readClusterRole Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadClusterRole MimeNoContent V1alpha1ClusterRole accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadClusterRole MimeNoContent V1alpha1ClusterRole accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadClusterRole MimeNoContent V1alpha1ClusterRole 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 ReadClusterRole
instance HasOptionalParam ReadClusterRole Pretty where
applyOptionalParam :: KubernetesRequest ReadClusterRole contentType res accept
-> Pretty
-> KubernetesRequest ReadClusterRole contentType res accept
applyOptionalParam KubernetesRequest ReadClusterRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadClusterRole contentType res accept
req KubernetesRequest ReadClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadClusterRole MimeJSON
instance Produces ReadClusterRole MimeVndKubernetesProtobuf
instance Produces ReadClusterRole MimeYaml
readClusterRoleBinding
:: Accept accept
-> Name
-> KubernetesRequest ReadClusterRoleBinding MimeNoContent V1alpha1ClusterRoleBinding accept
readClusterRoleBinding :: Accept accept
-> Name
-> KubernetesRequest
ReadClusterRoleBinding
MimeNoContent
V1alpha1ClusterRoleBinding
accept
readClusterRoleBinding Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadClusterRoleBinding
MimeNoContent
V1alpha1ClusterRoleBinding
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadClusterRoleBinding
MimeNoContent
V1alpha1ClusterRoleBinding
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadClusterRoleBinding
MimeNoContent
V1alpha1ClusterRoleBinding
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 ReadClusterRoleBinding
instance HasOptionalParam ReadClusterRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest ReadClusterRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest ReadClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ReadClusterRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadClusterRoleBinding contentType res accept
req KubernetesRequest ReadClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadClusterRoleBinding MimeJSON
instance Produces ReadClusterRoleBinding MimeVndKubernetesProtobuf
instance Produces ReadClusterRoleBinding MimeYaml
readNamespacedRole
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedRole MimeNoContent V1alpha1Role accept
readNamespacedRole :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedRole MimeNoContent V1alpha1Role accept
readNamespacedRole Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedRole MimeNoContent V1alpha1Role accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/roles/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedRole MimeNoContent V1alpha1Role accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedRole MimeNoContent V1alpha1Role 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 ReadNamespacedRole
instance HasOptionalParam ReadNamespacedRole Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedRole contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedRole contentType res accept
req KubernetesRequest ReadNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedRole MimeJSON
instance Produces ReadNamespacedRole MimeVndKubernetesProtobuf
instance Produces ReadNamespacedRole MimeYaml
readNamespacedRoleBinding
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedRoleBinding MimeNoContent V1alpha1RoleBinding accept
readNamespacedRoleBinding :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedRoleBinding MimeNoContent V1alpha1RoleBinding accept
readNamespacedRoleBinding Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedRoleBinding MimeNoContent V1alpha1RoleBinding accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/rolebindings/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedRoleBinding MimeNoContent V1alpha1RoleBinding accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedRoleBinding MimeNoContent V1alpha1RoleBinding 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 ReadNamespacedRoleBinding
instance HasOptionalParam ReadNamespacedRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedRoleBinding contentType res accept
req KubernetesRequest ReadNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedRoleBinding MimeJSON
instance Produces ReadNamespacedRoleBinding MimeVndKubernetesProtobuf
instance Produces ReadNamespacedRoleBinding MimeYaml
replaceClusterRole
:: (Consumes ReplaceClusterRole contentType, MimeRender contentType V1alpha1ClusterRole)
=> ContentType contentType
-> Accept accept
-> V1alpha1ClusterRole
-> Name
-> KubernetesRequest ReplaceClusterRole contentType V1alpha1ClusterRole accept
replaceClusterRole :: ContentType contentType
-> Accept accept
-> V1alpha1ClusterRole
-> Name
-> KubernetesRequest
ReplaceClusterRole contentType V1alpha1ClusterRole accept
replaceClusterRole ContentType contentType
_ Accept accept
_ V1alpha1ClusterRole
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceClusterRole contentType V1alpha1ClusterRole accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceClusterRole contentType V1alpha1ClusterRole accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceClusterRole contentType V1alpha1ClusterRole 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
ReplaceClusterRole contentType V1alpha1ClusterRole accept
-> V1alpha1ClusterRole
-> KubernetesRequest
ReplaceClusterRole contentType V1alpha1ClusterRole 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` V1alpha1ClusterRole
body
data ReplaceClusterRole
instance HasBodyParam ReplaceClusterRole V1alpha1ClusterRole
instance HasOptionalParam ReplaceClusterRole Pretty where
applyOptionalParam :: KubernetesRequest ReplaceClusterRole contentType res accept
-> Pretty
-> KubernetesRequest ReplaceClusterRole contentType res accept
applyOptionalParam KubernetesRequest ReplaceClusterRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceClusterRole contentType res accept
req KubernetesRequest ReplaceClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceClusterRole DryRun where
applyOptionalParam :: KubernetesRequest ReplaceClusterRole contentType res accept
-> DryRun
-> KubernetesRequest ReplaceClusterRole contentType res accept
applyOptionalParam KubernetesRequest ReplaceClusterRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceClusterRole contentType res accept
req KubernetesRequest ReplaceClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceClusterRole FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceClusterRole contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceClusterRole contentType res accept
applyOptionalParam KubernetesRequest ReplaceClusterRole contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceClusterRole contentType res accept
req KubernetesRequest ReplaceClusterRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceClusterRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceClusterRole mtype
instance Produces ReplaceClusterRole MimeJSON
instance Produces ReplaceClusterRole MimeVndKubernetesProtobuf
instance Produces ReplaceClusterRole MimeYaml
replaceClusterRoleBinding
:: (Consumes ReplaceClusterRoleBinding contentType, MimeRender contentType V1alpha1ClusterRoleBinding)
=> ContentType contentType
-> Accept accept
-> V1alpha1ClusterRoleBinding
-> Name
-> KubernetesRequest ReplaceClusterRoleBinding contentType V1alpha1ClusterRoleBinding accept
replaceClusterRoleBinding :: ContentType contentType
-> Accept accept
-> V1alpha1ClusterRoleBinding
-> Name
-> KubernetesRequest
ReplaceClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
replaceClusterRoleBinding ContentType contentType
_ Accept accept
_ V1alpha1ClusterRoleBinding
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
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
ReplaceClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
accept
-> V1alpha1ClusterRoleBinding
-> KubernetesRequest
ReplaceClusterRoleBinding
contentType
V1alpha1ClusterRoleBinding
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` V1alpha1ClusterRoleBinding
body
data ReplaceClusterRoleBinding
instance HasBodyParam ReplaceClusterRoleBinding V1alpha1ClusterRoleBinding
instance HasOptionalParam ReplaceClusterRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest ReplaceClusterRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ReplaceClusterRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceClusterRoleBinding contentType res accept
req KubernetesRequest ReplaceClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceClusterRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest ReplaceClusterRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ReplaceClusterRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceClusterRoleBinding contentType res accept
req KubernetesRequest ReplaceClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceClusterRoleBinding FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceClusterRoleBinding contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceClusterRoleBinding contentType res accept
applyOptionalParam KubernetesRequest ReplaceClusterRoleBinding contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceClusterRoleBinding contentType res accept
req KubernetesRequest ReplaceClusterRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceClusterRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceClusterRoleBinding mtype
instance Produces ReplaceClusterRoleBinding MimeJSON
instance Produces ReplaceClusterRoleBinding MimeVndKubernetesProtobuf
instance Produces ReplaceClusterRoleBinding MimeYaml
replaceNamespacedRole
:: (Consumes ReplaceNamespacedRole contentType, MimeRender contentType V1alpha1Role)
=> ContentType contentType
-> Accept accept
-> V1alpha1Role
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedRole contentType V1alpha1Role accept
replaceNamespacedRole :: ContentType contentType
-> Accept accept
-> V1alpha1Role
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedRole contentType V1alpha1Role accept
replaceNamespacedRole ContentType contentType
_ Accept accept
_ V1alpha1Role
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedRole contentType V1alpha1Role accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/roles/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedRole contentType V1alpha1Role accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedRole contentType V1alpha1Role 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
ReplaceNamespacedRole contentType V1alpha1Role accept
-> V1alpha1Role
-> KubernetesRequest
ReplaceNamespacedRole contentType V1alpha1Role 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` V1alpha1Role
body
data ReplaceNamespacedRole
instance HasBodyParam ReplaceNamespacedRole V1alpha1Role
instance HasOptionalParam ReplaceNamespacedRole Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedRole contentType res accept
-> Pretty
-> KubernetesRequest ReplaceNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedRole contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedRole contentType res accept
req KubernetesRequest ReplaceNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedRole DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedRole contentType res accept
-> DryRun
-> KubernetesRequest ReplaceNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedRole contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedRole contentType res accept
req KubernetesRequest ReplaceNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedRole FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedRole contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceNamespacedRole contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedRole contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedRole contentType res accept
req KubernetesRequest ReplaceNamespacedRole contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedRole contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedRole mtype
instance Produces ReplaceNamespacedRole MimeJSON
instance Produces ReplaceNamespacedRole MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedRole MimeYaml
replaceNamespacedRoleBinding
:: (Consumes ReplaceNamespacedRoleBinding contentType, MimeRender contentType V1alpha1RoleBinding)
=> ContentType contentType
-> Accept accept
-> V1alpha1RoleBinding
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedRoleBinding contentType V1alpha1RoleBinding accept
replaceNamespacedRoleBinding :: ContentType contentType
-> Accept accept
-> V1alpha1RoleBinding
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType V1alpha1RoleBinding accept
replaceNamespacedRoleBinding ContentType contentType
_ Accept accept
_ V1alpha1RoleBinding
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType V1alpha1RoleBinding accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/rolebindings/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedRoleBinding contentType V1alpha1RoleBinding accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType V1alpha1RoleBinding 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
ReplaceNamespacedRoleBinding contentType V1alpha1RoleBinding accept
-> V1alpha1RoleBinding
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType V1alpha1RoleBinding 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` V1alpha1RoleBinding
body
data ReplaceNamespacedRoleBinding
instance HasBodyParam ReplaceNamespacedRoleBinding V1alpha1RoleBinding
instance HasOptionalParam ReplaceNamespacedRoleBinding Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
req KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedRoleBinding DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
req KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedRoleBinding FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
req KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedRoleBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedRoleBinding mtype
instance Produces ReplaceNamespacedRoleBinding MimeJSON
instance Produces ReplaceNamespacedRoleBinding MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedRoleBinding MimeYaml