{-# 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.CoreV1 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
connectDeleteNamespacedPodProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectDeleteNamespacedPodProxy MimeNoContent Text accept
connectDeleteNamespacedPodProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectDeleteNamespacedPodProxy MimeNoContent Text accept
connectDeleteNamespacedPodProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectDeleteNamespacedPodProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectDeleteNamespacedPodProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectDeleteNamespacedPodProxy MimeNoContent Text 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 ConnectDeleteNamespacedPodProxy
instance HasOptionalParam ConnectDeleteNamespacedPodProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectDeleteNamespacedPodProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectDeleteNamespacedPodProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectDeleteNamespacedPodProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectDeleteNamespacedPodProxy contentType res accept
req KubernetesRequest
ConnectDeleteNamespacedPodProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectDeleteNamespacedPodProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectDeleteNamespacedPodProxy mtype
connectDeleteNamespacedPodProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectDeleteNamespacedPodProxyWithPath MimeNoContent Text accept
connectDeleteNamespacedPodProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath MimeNoContent Text accept
connectDeleteNamespacedPodProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath MimeNoContent Text 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 ConnectDeleteNamespacedPodProxyWithPath
instance HasOptionalParam ConnectDeleteNamespacedPodProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath contentType res accept
req KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectDeleteNamespacedPodProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectDeleteNamespacedPodProxyWithPath mtype
connectDeleteNamespacedServiceProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectDeleteNamespacedServiceProxy MimeNoContent Text accept
connectDeleteNamespacedServiceProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxy MimeNoContent Text accept
connectDeleteNamespacedServiceProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectDeleteNamespacedServiceProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxy MimeNoContent Text 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 ConnectDeleteNamespacedServiceProxy
instance HasOptionalParam ConnectDeleteNamespacedServiceProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectDeleteNamespacedServiceProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectDeleteNamespacedServiceProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectDeleteNamespacedServiceProxy contentType res accept
req KubernetesRequest
ConnectDeleteNamespacedServiceProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectDeleteNamespacedServiceProxy mtype
connectDeleteNamespacedServiceProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectDeleteNamespacedServiceProxyWithPath MimeNoContent Text accept
connectDeleteNamespacedServiceProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
connectDeleteNamespacedServiceProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath
MimeNoContent
Text
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 ConnectDeleteNamespacedServiceProxyWithPath
instance HasOptionalParam ConnectDeleteNamespacedServiceProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath contentType res accept
req KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectDeleteNamespacedServiceProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectDeleteNamespacedServiceProxyWithPath mtype
connectDeleteNodeProxy
:: Accept accept
-> Name
-> KubernetesRequest ConnectDeleteNodeProxy MimeNoContent Text accept
connectDeleteNodeProxy :: Accept accept
-> Name
-> KubernetesRequest
ConnectDeleteNodeProxy MimeNoContent Text accept
connectDeleteNodeProxy Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectDeleteNodeProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest ConnectDeleteNodeProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectDeleteNodeProxy MimeNoContent Text 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 ConnectDeleteNodeProxy
instance HasOptionalParam ConnectDeleteNodeProxy Path where
applyOptionalParam :: KubernetesRequest ConnectDeleteNodeProxy contentType res accept
-> Path
-> KubernetesRequest ConnectDeleteNodeProxy contentType res accept
applyOptionalParam KubernetesRequest ConnectDeleteNodeProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest ConnectDeleteNodeProxy contentType res accept
req KubernetesRequest ConnectDeleteNodeProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest ConnectDeleteNodeProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectDeleteNodeProxy mtype
connectDeleteNodeProxyWithPath
:: Accept accept
-> Name
-> Path
-> KubernetesRequest ConnectDeleteNodeProxyWithPath MimeNoContent Text accept
connectDeleteNodeProxyWithPath :: Accept accept
-> Name
-> Path
-> KubernetesRequest
ConnectDeleteNodeProxyWithPath MimeNoContent Text accept
connectDeleteNodeProxyWithPath Accept accept
_ (Name Text
name) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectDeleteNodeProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectDeleteNodeProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectDeleteNodeProxyWithPath MimeNoContent Text 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 ConnectDeleteNodeProxyWithPath
instance HasOptionalParam ConnectDeleteNodeProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectDeleteNodeProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectDeleteNodeProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectDeleteNodeProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectDeleteNodeProxyWithPath contentType res accept
req KubernetesRequest
ConnectDeleteNodeProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectDeleteNodeProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectDeleteNodeProxyWithPath mtype
connectGetNamespacedPodAttach
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectGetNamespacedPodAttach MimeNoContent Text accept
connectGetNamespacedPodAttach :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectGetNamespacedPodAttach MimeNoContent Text accept
connectGetNamespacedPodAttach Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectGetNamespacedPodAttach MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/attach"]
KubernetesRequest
ConnectGetNamespacedPodAttach MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectGetNamespacedPodAttach MimeNoContent Text 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 ConnectGetNamespacedPodAttach
instance HasOptionalParam ConnectGetNamespacedPodAttach Container where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> Container
-> KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req (Container Text
xs) =
KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"container", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance HasOptionalParam ConnectGetNamespacedPodAttach Stderr where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> Stderr
-> KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req (Stderr Bool
xs) =
KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodAttach 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
"stderr", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectGetNamespacedPodAttach Stdin where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> Stdin
-> KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req (Stdin Bool
xs) =
KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodAttach 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
"stdin", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectGetNamespacedPodAttach Stdout where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> Stdout
-> KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req (Stdout Bool
xs) =
KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodAttach 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
"stdout", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectGetNamespacedPodAttach Tty where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> Tty
-> KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req (Tty Bool
xs) =
KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodAttach 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
"tty", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance MimeType mtype => Produces ConnectGetNamespacedPodAttach mtype
connectGetNamespacedPodExec
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectGetNamespacedPodExec MimeNoContent Text accept
connectGetNamespacedPodExec :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectGetNamespacedPodExec MimeNoContent Text accept
connectGetNamespacedPodExec Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectGetNamespacedPodExec MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/exec"]
KubernetesRequest
ConnectGetNamespacedPodExec MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectGetNamespacedPodExec MimeNoContent Text 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 ConnectGetNamespacedPodExec
instance HasOptionalParam ConnectGetNamespacedPodExec Command where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> Command
-> KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req (Command Text
xs) =
KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"command", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance HasOptionalParam ConnectGetNamespacedPodExec Container where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> Container
-> KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req (Container Text
xs) =
KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"container", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance HasOptionalParam ConnectGetNamespacedPodExec Stderr where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> Stderr
-> KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req (Stderr Bool
xs) =
KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodExec 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
"stderr", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectGetNamespacedPodExec Stdin where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> Stdin
-> KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req (Stdin Bool
xs) =
KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodExec 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
"stdin", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectGetNamespacedPodExec Stdout where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> Stdout
-> KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req (Stdout Bool
xs) =
KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodExec 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
"stdout", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectGetNamespacedPodExec Tty where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> Tty
-> KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req (Tty Bool
xs) =
KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodExec 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
"tty", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance MimeType mtype => Produces ConnectGetNamespacedPodExec mtype
connectGetNamespacedPodPortforward
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectGetNamespacedPodPortforward MimeNoContent Text accept
connectGetNamespacedPodPortforward :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectGetNamespacedPodPortforward MimeNoContent Text accept
connectGetNamespacedPodPortforward Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectGetNamespacedPodPortforward MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/portforward"]
KubernetesRequest
ConnectGetNamespacedPodPortforward MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectGetNamespacedPodPortforward MimeNoContent Text 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 ConnectGetNamespacedPodPortforward
instance HasOptionalParam ConnectGetNamespacedPodPortforward Ports where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodPortforward contentType res accept
-> Ports
-> KubernetesRequest
ConnectGetNamespacedPodPortforward contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodPortforward contentType res accept
req (Ports Int
xs) =
KubernetesRequest
ConnectGetNamespacedPodPortforward contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodPortforward contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodPortforward 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
"ports", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)
instance MimeType mtype => Produces ConnectGetNamespacedPodPortforward mtype
connectGetNamespacedPodProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectGetNamespacedPodProxy MimeNoContent Text accept
connectGetNamespacedPodProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectGetNamespacedPodProxy MimeNoContent Text accept
connectGetNamespacedPodProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectGetNamespacedPodProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectGetNamespacedPodProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectGetNamespacedPodProxy MimeNoContent Text 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 ConnectGetNamespacedPodProxy
instance HasOptionalParam ConnectGetNamespacedPodProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectGetNamespacedPodProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectGetNamespacedPodProxy contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectGetNamespacedPodProxy mtype
connectGetNamespacedPodProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectGetNamespacedPodProxyWithPath MimeNoContent Text accept
connectGetNamespacedPodProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectGetNamespacedPodProxyWithPath MimeNoContent Text accept
connectGetNamespacedPodProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectGetNamespacedPodProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectGetNamespacedPodProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectGetNamespacedPodProxyWithPath MimeNoContent Text 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 ConnectGetNamespacedPodProxyWithPath
instance HasOptionalParam ConnectGetNamespacedPodProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedPodProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectGetNamespacedPodProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedPodProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectGetNamespacedPodProxyWithPath contentType res accept
req KubernetesRequest
ConnectGetNamespacedPodProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedPodProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectGetNamespacedPodProxyWithPath mtype
connectGetNamespacedServiceProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectGetNamespacedServiceProxy MimeNoContent Text accept
connectGetNamespacedServiceProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectGetNamespacedServiceProxy MimeNoContent Text accept
connectGetNamespacedServiceProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectGetNamespacedServiceProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectGetNamespacedServiceProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectGetNamespacedServiceProxy MimeNoContent Text 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 ConnectGetNamespacedServiceProxy
instance HasOptionalParam ConnectGetNamespacedServiceProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedServiceProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectGetNamespacedServiceProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedServiceProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectGetNamespacedServiceProxy contentType res accept
req KubernetesRequest
ConnectGetNamespacedServiceProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedServiceProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectGetNamespacedServiceProxy mtype
connectGetNamespacedServiceProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectGetNamespacedServiceProxyWithPath MimeNoContent Text accept
connectGetNamespacedServiceProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath MimeNoContent Text accept
connectGetNamespacedServiceProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath MimeNoContent Text 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 ConnectGetNamespacedServiceProxyWithPath
instance HasOptionalParam ConnectGetNamespacedServiceProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath contentType res accept
req KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNamespacedServiceProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectGetNamespacedServiceProxyWithPath mtype
connectGetNodeProxy
:: Accept accept
-> Name
-> KubernetesRequest ConnectGetNodeProxy MimeNoContent Text accept
connectGetNodeProxy :: Accept accept
-> Name
-> KubernetesRequest ConnectGetNodeProxy MimeNoContent Text accept
connectGetNodeProxy Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ConnectGetNodeProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest ConnectGetNodeProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ConnectGetNodeProxy MimeNoContent Text 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 ConnectGetNodeProxy
instance HasOptionalParam ConnectGetNodeProxy Path where
applyOptionalParam :: KubernetesRequest ConnectGetNodeProxy contentType res accept
-> Path
-> KubernetesRequest ConnectGetNodeProxy contentType res accept
applyOptionalParam KubernetesRequest ConnectGetNodeProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest ConnectGetNodeProxy contentType res accept
req KubernetesRequest ConnectGetNodeProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest ConnectGetNodeProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectGetNodeProxy mtype
connectGetNodeProxyWithPath
:: Accept accept
-> Name
-> Path
-> KubernetesRequest ConnectGetNodeProxyWithPath MimeNoContent Text accept
connectGetNodeProxyWithPath :: Accept accept
-> Name
-> Path
-> KubernetesRequest
ConnectGetNodeProxyWithPath MimeNoContent Text accept
connectGetNodeProxyWithPath Accept accept
_ (Name Text
name) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectGetNodeProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectGetNodeProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectGetNodeProxyWithPath MimeNoContent Text 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 ConnectGetNodeProxyWithPath
instance HasOptionalParam ConnectGetNodeProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectGetNodeProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectGetNodeProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectGetNodeProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectGetNodeProxyWithPath contentType res accept
req KubernetesRequest
ConnectGetNodeProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectGetNodeProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectGetNodeProxyWithPath mtype
connectHeadNamespacedPodProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectHeadNamespacedPodProxy MimeNoContent Text accept
connectHeadNamespacedPodProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectHeadNamespacedPodProxy MimeNoContent Text accept
connectHeadNamespacedPodProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectHeadNamespacedPodProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"HEAD" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectHeadNamespacedPodProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectHeadNamespacedPodProxy MimeNoContent Text 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 ConnectHeadNamespacedPodProxy
instance HasOptionalParam ConnectHeadNamespacedPodProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectHeadNamespacedPodProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectHeadNamespacedPodProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectHeadNamespacedPodProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectHeadNamespacedPodProxy contentType res accept
req KubernetesRequest
ConnectHeadNamespacedPodProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectHeadNamespacedPodProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectHeadNamespacedPodProxy mtype
connectHeadNamespacedPodProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectHeadNamespacedPodProxyWithPath MimeNoContent Text accept
connectHeadNamespacedPodProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath MimeNoContent Text accept
connectHeadNamespacedPodProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"HEAD" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath MimeNoContent Text 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 ConnectHeadNamespacedPodProxyWithPath
instance HasOptionalParam ConnectHeadNamespacedPodProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath contentType res accept
req KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectHeadNamespacedPodProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectHeadNamespacedPodProxyWithPath mtype
connectHeadNamespacedServiceProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectHeadNamespacedServiceProxy MimeNoContent Text accept
connectHeadNamespacedServiceProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectHeadNamespacedServiceProxy MimeNoContent Text accept
connectHeadNamespacedServiceProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectHeadNamespacedServiceProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"HEAD" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectHeadNamespacedServiceProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectHeadNamespacedServiceProxy MimeNoContent Text 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 ConnectHeadNamespacedServiceProxy
instance HasOptionalParam ConnectHeadNamespacedServiceProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectHeadNamespacedServiceProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectHeadNamespacedServiceProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectHeadNamespacedServiceProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectHeadNamespacedServiceProxy contentType res accept
req KubernetesRequest
ConnectHeadNamespacedServiceProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectHeadNamespacedServiceProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectHeadNamespacedServiceProxy mtype
connectHeadNamespacedServiceProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectHeadNamespacedServiceProxyWithPath MimeNoContent Text accept
connectHeadNamespacedServiceProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath MimeNoContent Text accept
connectHeadNamespacedServiceProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"HEAD" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath MimeNoContent Text 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 ConnectHeadNamespacedServiceProxyWithPath
instance HasOptionalParam ConnectHeadNamespacedServiceProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath contentType res accept
req KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectHeadNamespacedServiceProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectHeadNamespacedServiceProxyWithPath mtype
connectHeadNodeProxy
:: Accept accept
-> Name
-> KubernetesRequest ConnectHeadNodeProxy MimeNoContent Text accept
connectHeadNodeProxy :: Accept accept
-> Name
-> KubernetesRequest ConnectHeadNodeProxy MimeNoContent Text accept
connectHeadNodeProxy Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ConnectHeadNodeProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"HEAD" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest ConnectHeadNodeProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ConnectHeadNodeProxy MimeNoContent Text 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 ConnectHeadNodeProxy
instance HasOptionalParam ConnectHeadNodeProxy Path where
applyOptionalParam :: KubernetesRequest ConnectHeadNodeProxy contentType res accept
-> Path
-> KubernetesRequest ConnectHeadNodeProxy contentType res accept
applyOptionalParam KubernetesRequest ConnectHeadNodeProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest ConnectHeadNodeProxy contentType res accept
req KubernetesRequest ConnectHeadNodeProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest ConnectHeadNodeProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectHeadNodeProxy mtype
connectHeadNodeProxyWithPath
:: Accept accept
-> Name
-> Path
-> KubernetesRequest ConnectHeadNodeProxyWithPath MimeNoContent Text accept
connectHeadNodeProxyWithPath :: Accept accept
-> Name
-> Path
-> KubernetesRequest
ConnectHeadNodeProxyWithPath MimeNoContent Text accept
connectHeadNodeProxyWithPath Accept accept
_ (Name Text
name) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectHeadNodeProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"HEAD" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectHeadNodeProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectHeadNodeProxyWithPath MimeNoContent Text 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 ConnectHeadNodeProxyWithPath
instance HasOptionalParam ConnectHeadNodeProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectHeadNodeProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectHeadNodeProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectHeadNodeProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectHeadNodeProxyWithPath contentType res accept
req KubernetesRequest
ConnectHeadNodeProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectHeadNodeProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectHeadNodeProxyWithPath mtype
connectOptionsNamespacedPodProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectOptionsNamespacedPodProxy MimeNoContent Text accept
connectOptionsNamespacedPodProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectOptionsNamespacedPodProxy MimeNoContent Text accept
connectOptionsNamespacedPodProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectOptionsNamespacedPodProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"OPTIONS" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectOptionsNamespacedPodProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectOptionsNamespacedPodProxy MimeNoContent Text 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 ConnectOptionsNamespacedPodProxy
instance HasOptionalParam ConnectOptionsNamespacedPodProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectOptionsNamespacedPodProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectOptionsNamespacedPodProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectOptionsNamespacedPodProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectOptionsNamespacedPodProxy contentType res accept
req KubernetesRequest
ConnectOptionsNamespacedPodProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectOptionsNamespacedPodProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectOptionsNamespacedPodProxy mtype
connectOptionsNamespacedPodProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectOptionsNamespacedPodProxyWithPath MimeNoContent Text accept
connectOptionsNamespacedPodProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath MimeNoContent Text accept
connectOptionsNamespacedPodProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"OPTIONS" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath MimeNoContent Text 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 ConnectOptionsNamespacedPodProxyWithPath
instance HasOptionalParam ConnectOptionsNamespacedPodProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath contentType res accept
req KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectOptionsNamespacedPodProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectOptionsNamespacedPodProxyWithPath mtype
connectOptionsNamespacedServiceProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectOptionsNamespacedServiceProxy MimeNoContent Text accept
connectOptionsNamespacedServiceProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxy MimeNoContent Text accept
connectOptionsNamespacedServiceProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"OPTIONS" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectOptionsNamespacedServiceProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxy MimeNoContent Text 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 ConnectOptionsNamespacedServiceProxy
instance HasOptionalParam ConnectOptionsNamespacedServiceProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectOptionsNamespacedServiceProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectOptionsNamespacedServiceProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectOptionsNamespacedServiceProxy contentType res accept
req KubernetesRequest
ConnectOptionsNamespacedServiceProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectOptionsNamespacedServiceProxy mtype
connectOptionsNamespacedServiceProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectOptionsNamespacedServiceProxyWithPath MimeNoContent Text accept
connectOptionsNamespacedServiceProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
connectOptionsNamespacedServiceProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"OPTIONS" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath
MimeNoContent
Text
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 ConnectOptionsNamespacedServiceProxyWithPath
instance HasOptionalParam ConnectOptionsNamespacedServiceProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath contentType res accept
req KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectOptionsNamespacedServiceProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectOptionsNamespacedServiceProxyWithPath mtype
connectOptionsNodeProxy
:: Accept accept
-> Name
-> KubernetesRequest ConnectOptionsNodeProxy MimeNoContent Text accept
connectOptionsNodeProxy :: Accept accept
-> Name
-> KubernetesRequest
ConnectOptionsNodeProxy MimeNoContent Text accept
connectOptionsNodeProxy Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectOptionsNodeProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"OPTIONS" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest ConnectOptionsNodeProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectOptionsNodeProxy MimeNoContent Text 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 ConnectOptionsNodeProxy
instance HasOptionalParam ConnectOptionsNodeProxy Path where
applyOptionalParam :: KubernetesRequest ConnectOptionsNodeProxy contentType res accept
-> Path
-> KubernetesRequest ConnectOptionsNodeProxy contentType res accept
applyOptionalParam KubernetesRequest ConnectOptionsNodeProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest ConnectOptionsNodeProxy contentType res accept
req KubernetesRequest ConnectOptionsNodeProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest ConnectOptionsNodeProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectOptionsNodeProxy mtype
connectOptionsNodeProxyWithPath
:: Accept accept
-> Name
-> Path
-> KubernetesRequest ConnectOptionsNodeProxyWithPath MimeNoContent Text accept
connectOptionsNodeProxyWithPath :: Accept accept
-> Name
-> Path
-> KubernetesRequest
ConnectOptionsNodeProxyWithPath MimeNoContent Text accept
connectOptionsNodeProxyWithPath Accept accept
_ (Name Text
name) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectOptionsNodeProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"OPTIONS" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectOptionsNodeProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectOptionsNodeProxyWithPath MimeNoContent Text 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 ConnectOptionsNodeProxyWithPath
instance HasOptionalParam ConnectOptionsNodeProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectOptionsNodeProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectOptionsNodeProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectOptionsNodeProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectOptionsNodeProxyWithPath contentType res accept
req KubernetesRequest
ConnectOptionsNodeProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectOptionsNodeProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectOptionsNodeProxyWithPath mtype
connectPatchNamespacedPodProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPatchNamespacedPodProxy MimeNoContent Text accept
connectPatchNamespacedPodProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPatchNamespacedPodProxy MimeNoContent Text accept
connectPatchNamespacedPodProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPatchNamespacedPodProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectPatchNamespacedPodProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPatchNamespacedPodProxy MimeNoContent Text 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 ConnectPatchNamespacedPodProxy
instance HasOptionalParam ConnectPatchNamespacedPodProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectPatchNamespacedPodProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectPatchNamespacedPodProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectPatchNamespacedPodProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectPatchNamespacedPodProxy contentType res accept
req KubernetesRequest
ConnectPatchNamespacedPodProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPatchNamespacedPodProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPatchNamespacedPodProxy mtype
connectPatchNamespacedPodProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectPatchNamespacedPodProxyWithPath MimeNoContent Text accept
connectPatchNamespacedPodProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath MimeNoContent Text accept
connectPatchNamespacedPodProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath MimeNoContent Text 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 ConnectPatchNamespacedPodProxyWithPath
instance HasOptionalParam ConnectPatchNamespacedPodProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath contentType res accept
req KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPatchNamespacedPodProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPatchNamespacedPodProxyWithPath mtype
connectPatchNamespacedServiceProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPatchNamespacedServiceProxy MimeNoContent Text accept
connectPatchNamespacedServiceProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPatchNamespacedServiceProxy MimeNoContent Text accept
connectPatchNamespacedServiceProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPatchNamespacedServiceProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectPatchNamespacedServiceProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPatchNamespacedServiceProxy MimeNoContent Text 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 ConnectPatchNamespacedServiceProxy
instance HasOptionalParam ConnectPatchNamespacedServiceProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectPatchNamespacedServiceProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectPatchNamespacedServiceProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectPatchNamespacedServiceProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectPatchNamespacedServiceProxy contentType res accept
req KubernetesRequest
ConnectPatchNamespacedServiceProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPatchNamespacedServiceProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPatchNamespacedServiceProxy mtype
connectPatchNamespacedServiceProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectPatchNamespacedServiceProxyWithPath MimeNoContent Text accept
connectPatchNamespacedServiceProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
connectPatchNamespacedServiceProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath
MimeNoContent
Text
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath
MimeNoContent
Text
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 ConnectPatchNamespacedServiceProxyWithPath
instance HasOptionalParam ConnectPatchNamespacedServiceProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath contentType res accept
req KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPatchNamespacedServiceProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPatchNamespacedServiceProxyWithPath mtype
connectPatchNodeProxy
:: Accept accept
-> Name
-> KubernetesRequest ConnectPatchNodeProxy MimeNoContent Text accept
connectPatchNodeProxy :: Accept accept
-> Name
-> KubernetesRequest
ConnectPatchNodeProxy MimeNoContent Text accept
connectPatchNodeProxy Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPatchNodeProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest ConnectPatchNodeProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPatchNodeProxy MimeNoContent Text 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 ConnectPatchNodeProxy
instance HasOptionalParam ConnectPatchNodeProxy Path where
applyOptionalParam :: KubernetesRequest ConnectPatchNodeProxy contentType res accept
-> Path
-> KubernetesRequest ConnectPatchNodeProxy contentType res accept
applyOptionalParam KubernetesRequest ConnectPatchNodeProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest ConnectPatchNodeProxy contentType res accept
req KubernetesRequest ConnectPatchNodeProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest ConnectPatchNodeProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPatchNodeProxy mtype
connectPatchNodeProxyWithPath
:: Accept accept
-> Name
-> Path
-> KubernetesRequest ConnectPatchNodeProxyWithPath MimeNoContent Text accept
connectPatchNodeProxyWithPath :: Accept accept
-> Name
-> Path
-> KubernetesRequest
ConnectPatchNodeProxyWithPath MimeNoContent Text accept
connectPatchNodeProxyWithPath Accept accept
_ (Name Text
name) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPatchNodeProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPatchNodeProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPatchNodeProxyWithPath MimeNoContent Text 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 ConnectPatchNodeProxyWithPath
instance HasOptionalParam ConnectPatchNodeProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPatchNodeProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPatchNodeProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPatchNodeProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPatchNodeProxyWithPath contentType res accept
req KubernetesRequest
ConnectPatchNodeProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPatchNodeProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPatchNodeProxyWithPath mtype
connectPostNamespacedPodAttach
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPostNamespacedPodAttach MimeNoContent Text accept
connectPostNamespacedPodAttach :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPostNamespacedPodAttach MimeNoContent Text accept
connectPostNamespacedPodAttach Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPostNamespacedPodAttach MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/attach"]
KubernetesRequest
ConnectPostNamespacedPodAttach MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPostNamespacedPodAttach MimeNoContent Text 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 ConnectPostNamespacedPodAttach
instance HasOptionalParam ConnectPostNamespacedPodAttach Container where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> Container
-> KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req (Container Text
xs) =
KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"container", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance HasOptionalParam ConnectPostNamespacedPodAttach Stderr where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> Stderr
-> KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req (Stderr Bool
xs) =
KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodAttach 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
"stderr", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectPostNamespacedPodAttach Stdin where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> Stdin
-> KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req (Stdin Bool
xs) =
KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodAttach 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
"stdin", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectPostNamespacedPodAttach Stdout where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> Stdout
-> KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req (Stdout Bool
xs) =
KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodAttach 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
"stdout", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectPostNamespacedPodAttach Tty where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> Tty
-> KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req (Tty Bool
xs) =
KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodAttach contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodAttach 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
"tty", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance MimeType mtype => Produces ConnectPostNamespacedPodAttach mtype
connectPostNamespacedPodExec
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPostNamespacedPodExec MimeNoContent Text accept
connectPostNamespacedPodExec :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPostNamespacedPodExec MimeNoContent Text accept
connectPostNamespacedPodExec Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPostNamespacedPodExec MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/exec"]
KubernetesRequest
ConnectPostNamespacedPodExec MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPostNamespacedPodExec MimeNoContent Text 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 ConnectPostNamespacedPodExec
instance HasOptionalParam ConnectPostNamespacedPodExec Command where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> Command
-> KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req (Command Text
xs) =
KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"command", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance HasOptionalParam ConnectPostNamespacedPodExec Container where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> Container
-> KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req (Container Text
xs) =
KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"container", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance HasOptionalParam ConnectPostNamespacedPodExec Stderr where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> Stderr
-> KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req (Stderr Bool
xs) =
KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodExec 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
"stderr", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectPostNamespacedPodExec Stdin where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> Stdin
-> KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req (Stdin Bool
xs) =
KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodExec 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
"stdin", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectPostNamespacedPodExec Stdout where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> Stdout
-> KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req (Stdout Bool
xs) =
KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodExec 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
"stdout", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ConnectPostNamespacedPodExec Tty where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> Tty
-> KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req (Tty Bool
xs) =
KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodExec contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodExec 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
"tty", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance MimeType mtype => Produces ConnectPostNamespacedPodExec mtype
connectPostNamespacedPodPortforward
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPostNamespacedPodPortforward MimeNoContent Text accept
connectPostNamespacedPodPortforward :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPostNamespacedPodPortforward MimeNoContent Text accept
connectPostNamespacedPodPortforward Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPostNamespacedPodPortforward MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/portforward"]
KubernetesRequest
ConnectPostNamespacedPodPortforward MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPostNamespacedPodPortforward MimeNoContent Text 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 ConnectPostNamespacedPodPortforward
instance HasOptionalParam ConnectPostNamespacedPodPortforward Ports where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodPortforward contentType res accept
-> Ports
-> KubernetesRequest
ConnectPostNamespacedPodPortforward contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodPortforward contentType res accept
req (Ports Int
xs) =
KubernetesRequest
ConnectPostNamespacedPodPortforward contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodPortforward contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodPortforward 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
"ports", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)
instance MimeType mtype => Produces ConnectPostNamespacedPodPortforward mtype
connectPostNamespacedPodProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPostNamespacedPodProxy MimeNoContent Text accept
connectPostNamespacedPodProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPostNamespacedPodProxy MimeNoContent Text accept
connectPostNamespacedPodProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPostNamespacedPodProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectPostNamespacedPodProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPostNamespacedPodProxy MimeNoContent Text 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 ConnectPostNamespacedPodProxy
instance HasOptionalParam ConnectPostNamespacedPodProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectPostNamespacedPodProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectPostNamespacedPodProxy contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPostNamespacedPodProxy mtype
connectPostNamespacedPodProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectPostNamespacedPodProxyWithPath MimeNoContent Text accept
connectPostNamespacedPodProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectPostNamespacedPodProxyWithPath MimeNoContent Text accept
connectPostNamespacedPodProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPostNamespacedPodProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPostNamespacedPodProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPostNamespacedPodProxyWithPath MimeNoContent Text 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 ConnectPostNamespacedPodProxyWithPath
instance HasOptionalParam ConnectPostNamespacedPodProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedPodProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPostNamespacedPodProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedPodProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPostNamespacedPodProxyWithPath contentType res accept
req KubernetesRequest
ConnectPostNamespacedPodProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedPodProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPostNamespacedPodProxyWithPath mtype
connectPostNamespacedServiceProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPostNamespacedServiceProxy MimeNoContent Text accept
connectPostNamespacedServiceProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPostNamespacedServiceProxy MimeNoContent Text accept
connectPostNamespacedServiceProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPostNamespacedServiceProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectPostNamespacedServiceProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPostNamespacedServiceProxy MimeNoContent Text 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 ConnectPostNamespacedServiceProxy
instance HasOptionalParam ConnectPostNamespacedServiceProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedServiceProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectPostNamespacedServiceProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedServiceProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectPostNamespacedServiceProxy contentType res accept
req KubernetesRequest
ConnectPostNamespacedServiceProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedServiceProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPostNamespacedServiceProxy mtype
connectPostNamespacedServiceProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectPostNamespacedServiceProxyWithPath MimeNoContent Text accept
connectPostNamespacedServiceProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath MimeNoContent Text accept
connectPostNamespacedServiceProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath MimeNoContent Text 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 ConnectPostNamespacedServiceProxyWithPath
instance HasOptionalParam ConnectPostNamespacedServiceProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath contentType res accept
req KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNamespacedServiceProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPostNamespacedServiceProxyWithPath mtype
connectPostNodeProxy
:: Accept accept
-> Name
-> KubernetesRequest ConnectPostNodeProxy MimeNoContent Text accept
connectPostNodeProxy :: Accept accept
-> Name
-> KubernetesRequest ConnectPostNodeProxy MimeNoContent Text accept
connectPostNodeProxy Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ConnectPostNodeProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest ConnectPostNodeProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ConnectPostNodeProxy MimeNoContent Text 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 ConnectPostNodeProxy
instance HasOptionalParam ConnectPostNodeProxy Path where
applyOptionalParam :: KubernetesRequest ConnectPostNodeProxy contentType res accept
-> Path
-> KubernetesRequest ConnectPostNodeProxy contentType res accept
applyOptionalParam KubernetesRequest ConnectPostNodeProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest ConnectPostNodeProxy contentType res accept
req KubernetesRequest ConnectPostNodeProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest ConnectPostNodeProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPostNodeProxy mtype
connectPostNodeProxyWithPath
:: Accept accept
-> Name
-> Path
-> KubernetesRequest ConnectPostNodeProxyWithPath MimeNoContent Text accept
connectPostNodeProxyWithPath :: Accept accept
-> Name
-> Path
-> KubernetesRequest
ConnectPostNodeProxyWithPath MimeNoContent Text accept
connectPostNodeProxyWithPath Accept accept
_ (Name Text
name) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPostNodeProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPostNodeProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPostNodeProxyWithPath MimeNoContent Text 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 ConnectPostNodeProxyWithPath
instance HasOptionalParam ConnectPostNodeProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPostNodeProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPostNodeProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPostNodeProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPostNodeProxyWithPath contentType res accept
req KubernetesRequest
ConnectPostNodeProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPostNodeProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPostNodeProxyWithPath mtype
connectPutNamespacedPodProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPutNamespacedPodProxy MimeNoContent Text accept
connectPutNamespacedPodProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPutNamespacedPodProxy MimeNoContent Text accept
connectPutNamespacedPodProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPutNamespacedPodProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectPutNamespacedPodProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPutNamespacedPodProxy MimeNoContent Text 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 ConnectPutNamespacedPodProxy
instance HasOptionalParam ConnectPutNamespacedPodProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectPutNamespacedPodProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectPutNamespacedPodProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectPutNamespacedPodProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectPutNamespacedPodProxy contentType res accept
req KubernetesRequest
ConnectPutNamespacedPodProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPutNamespacedPodProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPutNamespacedPodProxy mtype
connectPutNamespacedPodProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectPutNamespacedPodProxyWithPath MimeNoContent Text accept
connectPutNamespacedPodProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectPutNamespacedPodProxyWithPath MimeNoContent Text accept
connectPutNamespacedPodProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPutNamespacedPodProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPutNamespacedPodProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPutNamespacedPodProxyWithPath MimeNoContent Text 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 ConnectPutNamespacedPodProxyWithPath
instance HasOptionalParam ConnectPutNamespacedPodProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPutNamespacedPodProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPutNamespacedPodProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPutNamespacedPodProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPutNamespacedPodProxyWithPath contentType res accept
req KubernetesRequest
ConnectPutNamespacedPodProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPutNamespacedPodProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPutNamespacedPodProxyWithPath mtype
connectPutNamespacedServiceProxy
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ConnectPutNamespacedServiceProxy MimeNoContent Text accept
connectPutNamespacedServiceProxy :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ConnectPutNamespacedServiceProxy MimeNoContent Text accept
connectPutNamespacedServiceProxy Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPutNamespacedServiceProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest
ConnectPutNamespacedServiceProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPutNamespacedServiceProxy MimeNoContent Text 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 ConnectPutNamespacedServiceProxy
instance HasOptionalParam ConnectPutNamespacedServiceProxy Path where
applyOptionalParam :: KubernetesRequest
ConnectPutNamespacedServiceProxy contentType res accept
-> Path
-> KubernetesRequest
ConnectPutNamespacedServiceProxy contentType res accept
applyOptionalParam KubernetesRequest
ConnectPutNamespacedServiceProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest
ConnectPutNamespacedServiceProxy contentType res accept
req KubernetesRequest
ConnectPutNamespacedServiceProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPutNamespacedServiceProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPutNamespacedServiceProxy mtype
connectPutNamespacedServiceProxyWithPath
:: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest ConnectPutNamespacedServiceProxyWithPath MimeNoContent Text accept
connectPutNamespacedServiceProxyWithPath :: Accept accept
-> Name
-> Namespace
-> Path
-> KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath MimeNoContent Text accept
connectPutNamespacedServiceProxyWithPath Accept accept
_ (Name Text
name) (Namespace Text
namespace) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath MimeNoContent Text 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 ConnectPutNamespacedServiceProxyWithPath
instance HasOptionalParam ConnectPutNamespacedServiceProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath contentType res accept
req KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPutNamespacedServiceProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPutNamespacedServiceProxyWithPath mtype
connectPutNodeProxy
:: Accept accept
-> Name
-> KubernetesRequest ConnectPutNodeProxy MimeNoContent Text accept
connectPutNodeProxy :: Accept accept
-> Name
-> KubernetesRequest ConnectPutNodeProxy MimeNoContent Text accept
connectPutNodeProxy Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ConnectPutNodeProxy MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy"]
KubernetesRequest ConnectPutNodeProxy MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ConnectPutNodeProxy MimeNoContent Text 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 ConnectPutNodeProxy
instance HasOptionalParam ConnectPutNodeProxy Path where
applyOptionalParam :: KubernetesRequest ConnectPutNodeProxy contentType res accept
-> Path
-> KubernetesRequest ConnectPutNodeProxy contentType res accept
applyOptionalParam KubernetesRequest ConnectPutNodeProxy contentType res accept
req (Path Text
xs) =
KubernetesRequest ConnectPutNodeProxy contentType res accept
req KubernetesRequest ConnectPutNodeProxy contentType res accept
-> [QueryItem]
-> KubernetesRequest ConnectPutNodeProxy contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPutNodeProxy mtype
connectPutNodeProxyWithPath
:: Accept accept
-> Name
-> Path
-> KubernetesRequest ConnectPutNodeProxyWithPath MimeNoContent Text accept
connectPutNodeProxyWithPath :: Accept accept
-> Name
-> Path
-> KubernetesRequest
ConnectPutNodeProxyWithPath MimeNoContent Text accept
connectPutNodeProxyWithPath Accept accept
_ (Name Text
name) (Path Text
path) =
Method
-> [ByteString]
-> KubernetesRequest
ConnectPutNodeProxyWithPath MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/proxy/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
path]
KubernetesRequest
ConnectPutNodeProxyWithPath MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ConnectPutNodeProxyWithPath MimeNoContent Text 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 ConnectPutNodeProxyWithPath
instance HasOptionalParam ConnectPutNodeProxyWithPath Path2 where
applyOptionalParam :: KubernetesRequest
ConnectPutNodeProxyWithPath contentType res accept
-> Path2
-> KubernetesRequest
ConnectPutNodeProxyWithPath contentType res accept
applyOptionalParam KubernetesRequest
ConnectPutNodeProxyWithPath contentType res accept
req (Path2 Text
xs) =
KubernetesRequest
ConnectPutNodeProxyWithPath contentType res accept
req KubernetesRequest
ConnectPutNodeProxyWithPath contentType res accept
-> [QueryItem]
-> KubernetesRequest
ConnectPutNodeProxyWithPath contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"path", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Produces ConnectPutNodeProxyWithPath mtype
createNamespace
:: (Consumes CreateNamespace contentType, MimeRender contentType V1Namespace)
=> ContentType contentType
-> Accept accept
-> V1Namespace
-> KubernetesRequest CreateNamespace contentType V1Namespace accept
createNamespace :: ContentType contentType
-> Accept accept
-> V1Namespace
-> KubernetesRequest CreateNamespace contentType V1Namespace accept
createNamespace ContentType contentType
_ Accept accept
_ V1Namespace
body =
Method
-> [ByteString]
-> KubernetesRequest CreateNamespace contentType V1Namespace accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces"]
KubernetesRequest CreateNamespace contentType V1Namespace accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest CreateNamespace contentType V1Namespace 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 CreateNamespace contentType V1Namespace accept
-> V1Namespace
-> KubernetesRequest CreateNamespace contentType V1Namespace 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` V1Namespace
body
data CreateNamespace
instance HasBodyParam CreateNamespace V1Namespace
instance HasOptionalParam CreateNamespace Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespace contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespace contentType res accept
applyOptionalParam KubernetesRequest CreateNamespace contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespace contentType res accept
req KubernetesRequest CreateNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespace DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespace contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespace contentType res accept
applyOptionalParam KubernetesRequest CreateNamespace contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespace contentType res accept
req KubernetesRequest CreateNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespace FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespace contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespace contentType res accept
applyOptionalParam KubernetesRequest CreateNamespace contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespace contentType res accept
req KubernetesRequest CreateNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespace mtype
instance Produces CreateNamespace MimeJSON
instance Produces CreateNamespace MimeVndKubernetesProtobuf
instance Produces CreateNamespace MimeYaml
createNamespacedBinding
:: (Consumes CreateNamespacedBinding contentType, MimeRender contentType V1Binding)
=> ContentType contentType
-> Accept accept
-> V1Binding
-> Namespace
-> KubernetesRequest CreateNamespacedBinding contentType V1Binding accept
createNamespacedBinding :: ContentType contentType
-> Accept accept
-> V1Binding
-> Namespace
-> KubernetesRequest
CreateNamespacedBinding contentType V1Binding accept
createNamespacedBinding ContentType contentType
_ Accept accept
_ V1Binding
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedBinding contentType V1Binding accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/bindings"]
KubernetesRequest
CreateNamespacedBinding contentType V1Binding accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedBinding contentType V1Binding 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
CreateNamespacedBinding contentType V1Binding accept
-> V1Binding
-> KubernetesRequest
CreateNamespacedBinding contentType V1Binding 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` V1Binding
body
data CreateNamespacedBinding
instance HasBodyParam CreateNamespacedBinding V1Binding
instance HasOptionalParam CreateNamespacedBinding DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedBinding contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedBinding contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedBinding contentType res accept
req KubernetesRequest CreateNamespacedBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedBinding FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedBinding contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedBinding contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedBinding contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedBinding contentType res accept
req KubernetesRequest CreateNamespacedBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedBinding Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedBinding contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedBinding contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedBinding contentType res accept
req KubernetesRequest CreateNamespacedBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Consumes CreateNamespacedBinding mtype
instance Produces CreateNamespacedBinding MimeJSON
instance Produces CreateNamespacedBinding MimeVndKubernetesProtobuf
instance Produces CreateNamespacedBinding MimeYaml
createNamespacedConfigMap
:: (Consumes CreateNamespacedConfigMap contentType, MimeRender contentType V1ConfigMap)
=> ContentType contentType
-> Accept accept
-> V1ConfigMap
-> Namespace
-> KubernetesRequest CreateNamespacedConfigMap contentType V1ConfigMap accept
createNamespacedConfigMap :: ContentType contentType
-> Accept accept
-> V1ConfigMap
-> Namespace
-> KubernetesRequest
CreateNamespacedConfigMap contentType V1ConfigMap accept
createNamespacedConfigMap ContentType contentType
_ Accept accept
_ V1ConfigMap
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedConfigMap contentType V1ConfigMap accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/configmaps"]
KubernetesRequest
CreateNamespacedConfigMap contentType V1ConfigMap accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedConfigMap contentType V1ConfigMap 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
CreateNamespacedConfigMap contentType V1ConfigMap accept
-> V1ConfigMap
-> KubernetesRequest
CreateNamespacedConfigMap contentType V1ConfigMap 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` V1ConfigMap
body
data CreateNamespacedConfigMap
instance HasBodyParam CreateNamespacedConfigMap V1ConfigMap
instance HasOptionalParam CreateNamespacedConfigMap Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedConfigMap contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedConfigMap contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedConfigMap contentType res accept
req KubernetesRequest CreateNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedConfigMap DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedConfigMap contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedConfigMap contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedConfigMap contentType res accept
req KubernetesRequest CreateNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedConfigMap FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedConfigMap contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedConfigMap contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedConfigMap contentType res accept
req KubernetesRequest CreateNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedConfigMap mtype
instance Produces CreateNamespacedConfigMap MimeJSON
instance Produces CreateNamespacedConfigMap MimeVndKubernetesProtobuf
instance Produces CreateNamespacedConfigMap MimeYaml
createNamespacedEndpoints
:: (Consumes CreateNamespacedEndpoints contentType, MimeRender contentType V1Endpoints)
=> ContentType contentType
-> Accept accept
-> V1Endpoints
-> Namespace
-> KubernetesRequest CreateNamespacedEndpoints contentType V1Endpoints accept
createNamespacedEndpoints :: ContentType contentType
-> Accept accept
-> V1Endpoints
-> Namespace
-> KubernetesRequest
CreateNamespacedEndpoints contentType V1Endpoints accept
createNamespacedEndpoints ContentType contentType
_ Accept accept
_ V1Endpoints
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedEndpoints contentType V1Endpoints accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/endpoints"]
KubernetesRequest
CreateNamespacedEndpoints contentType V1Endpoints accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedEndpoints contentType V1Endpoints 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
CreateNamespacedEndpoints contentType V1Endpoints accept
-> V1Endpoints
-> KubernetesRequest
CreateNamespacedEndpoints contentType V1Endpoints 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` V1Endpoints
body
data CreateNamespacedEndpoints
instance HasBodyParam CreateNamespacedEndpoints V1Endpoints
instance HasOptionalParam CreateNamespacedEndpoints Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedEndpoints contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedEndpoints contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedEndpoints contentType res accept
req KubernetesRequest CreateNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedEndpoints DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedEndpoints contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedEndpoints contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedEndpoints contentType res accept
req KubernetesRequest CreateNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedEndpoints FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedEndpoints contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedEndpoints contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedEndpoints contentType res accept
req KubernetesRequest CreateNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedEndpoints mtype
instance Produces CreateNamespacedEndpoints MimeJSON
instance Produces CreateNamespacedEndpoints MimeVndKubernetesProtobuf
instance Produces CreateNamespacedEndpoints MimeYaml
createNamespacedEvent
:: (Consumes CreateNamespacedEvent contentType, MimeRender contentType V1Event)
=> ContentType contentType
-> Accept accept
-> V1Event
-> Namespace
-> KubernetesRequest CreateNamespacedEvent contentType V1Event accept
createNamespacedEvent :: ContentType contentType
-> Accept accept
-> V1Event
-> Namespace
-> KubernetesRequest
CreateNamespacedEvent contentType V1Event accept
createNamespacedEvent ContentType contentType
_ Accept accept
_ V1Event
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedEvent contentType V1Event accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/events"]
KubernetesRequest CreateNamespacedEvent contentType V1Event accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedEvent contentType V1Event 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 CreateNamespacedEvent contentType V1Event accept
-> V1Event
-> KubernetesRequest
CreateNamespacedEvent contentType V1Event 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` V1Event
body
data CreateNamespacedEvent
instance HasBodyParam CreateNamespacedEvent V1Event
instance HasOptionalParam CreateNamespacedEvent Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedEvent contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedEvent contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedEvent contentType res accept
req KubernetesRequest CreateNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedEvent DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedEvent contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedEvent contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedEvent contentType res accept
req KubernetesRequest CreateNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedEvent FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedEvent contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedEvent contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedEvent contentType res accept
req KubernetesRequest CreateNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedEvent mtype
instance Produces CreateNamespacedEvent MimeJSON
instance Produces CreateNamespacedEvent MimeVndKubernetesProtobuf
instance Produces CreateNamespacedEvent MimeYaml
createNamespacedLimitRange
:: (Consumes CreateNamespacedLimitRange contentType, MimeRender contentType V1LimitRange)
=> ContentType contentType
-> Accept accept
-> V1LimitRange
-> Namespace
-> KubernetesRequest CreateNamespacedLimitRange contentType V1LimitRange accept
createNamespacedLimitRange :: ContentType contentType
-> Accept accept
-> V1LimitRange
-> Namespace
-> KubernetesRequest
CreateNamespacedLimitRange contentType V1LimitRange accept
createNamespacedLimitRange ContentType contentType
_ Accept accept
_ V1LimitRange
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedLimitRange contentType V1LimitRange accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/limitranges"]
KubernetesRequest
CreateNamespacedLimitRange contentType V1LimitRange accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedLimitRange contentType V1LimitRange 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
CreateNamespacedLimitRange contentType V1LimitRange accept
-> V1LimitRange
-> KubernetesRequest
CreateNamespacedLimitRange contentType V1LimitRange 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` V1LimitRange
body
data CreateNamespacedLimitRange
instance HasBodyParam CreateNamespacedLimitRange V1LimitRange
instance HasOptionalParam CreateNamespacedLimitRange Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedLimitRange contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedLimitRange contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedLimitRange contentType res accept
req KubernetesRequest CreateNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedLimitRange DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedLimitRange contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedLimitRange contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedLimitRange contentType res accept
req KubernetesRequest CreateNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedLimitRange FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedLimitRange contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedLimitRange contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedLimitRange contentType res accept
req KubernetesRequest CreateNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedLimitRange mtype
instance Produces CreateNamespacedLimitRange MimeJSON
instance Produces CreateNamespacedLimitRange MimeVndKubernetesProtobuf
instance Produces CreateNamespacedLimitRange MimeYaml
createNamespacedPersistentVolumeClaim
:: (Consumes CreateNamespacedPersistentVolumeClaim contentType, MimeRender contentType V1PersistentVolumeClaim)
=> ContentType contentType
-> Accept accept
-> V1PersistentVolumeClaim
-> Namespace
-> KubernetesRequest CreateNamespacedPersistentVolumeClaim contentType V1PersistentVolumeClaim accept
createNamespacedPersistentVolumeClaim :: ContentType contentType
-> Accept accept
-> V1PersistentVolumeClaim
-> Namespace
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
createNamespacedPersistentVolumeClaim ContentType contentType
_ Accept accept
_ V1PersistentVolumeClaim
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims"]
KubernetesRequest
CreateNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
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
CreateNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
-> V1PersistentVolumeClaim
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
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` V1PersistentVolumeClaim
body
data CreateNamespacedPersistentVolumeClaim
instance HasBodyParam CreateNamespacedPersistentVolumeClaim V1PersistentVolumeClaim
instance HasOptionalParam CreateNamespacedPersistentVolumeClaim Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPersistentVolumeClaim DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPersistentVolumeClaim FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPersistentVolumeClaim mtype
instance Produces CreateNamespacedPersistentVolumeClaim MimeJSON
instance Produces CreateNamespacedPersistentVolumeClaim MimeVndKubernetesProtobuf
instance Produces CreateNamespacedPersistentVolumeClaim MimeYaml
createNamespacedPod
:: (Consumes CreateNamespacedPod contentType, MimeRender contentType V1Pod)
=> ContentType contentType
-> Accept accept
-> V1Pod
-> Namespace
-> KubernetesRequest CreateNamespacedPod contentType V1Pod accept
createNamespacedPod :: ContentType contentType
-> Accept accept
-> V1Pod
-> Namespace
-> KubernetesRequest CreateNamespacedPod contentType V1Pod accept
createNamespacedPod ContentType contentType
_ Accept accept
_ V1Pod
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest CreateNamespacedPod contentType V1Pod accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods"]
KubernetesRequest CreateNamespacedPod contentType V1Pod accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest CreateNamespacedPod contentType V1Pod 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 CreateNamespacedPod contentType V1Pod accept
-> V1Pod
-> KubernetesRequest CreateNamespacedPod contentType V1Pod 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` V1Pod
body
data CreateNamespacedPod
instance HasBodyParam CreateNamespacedPod V1Pod
instance HasOptionalParam CreateNamespacedPod Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedPod contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedPod contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedPod contentType res accept
req KubernetesRequest CreateNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPod DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedPod contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedPod contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedPod contentType res accept
req KubernetesRequest CreateNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPod FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedPod contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedPod contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedPod contentType res accept
req KubernetesRequest CreateNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPod mtype
instance Produces CreateNamespacedPod MimeJSON
instance Produces CreateNamespacedPod MimeVndKubernetesProtobuf
instance Produces CreateNamespacedPod MimeYaml
createNamespacedPodBinding
:: (Consumes CreateNamespacedPodBinding contentType, MimeRender contentType V1Binding)
=> ContentType contentType
-> Accept accept
-> V1Binding
-> Name
-> Namespace
-> KubernetesRequest CreateNamespacedPodBinding contentType V1Binding accept
createNamespacedPodBinding :: ContentType contentType
-> Accept accept
-> V1Binding
-> Name
-> Namespace
-> KubernetesRequest
CreateNamespacedPodBinding contentType V1Binding accept
createNamespacedPodBinding ContentType contentType
_ Accept accept
_ V1Binding
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedPodBinding contentType V1Binding accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/binding"]
KubernetesRequest
CreateNamespacedPodBinding contentType V1Binding accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedPodBinding contentType V1Binding 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
CreateNamespacedPodBinding contentType V1Binding accept
-> V1Binding
-> KubernetesRequest
CreateNamespacedPodBinding contentType V1Binding 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` V1Binding
body
data CreateNamespacedPodBinding
instance HasBodyParam CreateNamespacedPodBinding V1Binding
instance HasOptionalParam CreateNamespacedPodBinding DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedPodBinding contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedPodBinding contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedPodBinding contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedPodBinding contentType res accept
req KubernetesRequest CreateNamespacedPodBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodBinding FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedPodBinding contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedPodBinding contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedPodBinding contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedPodBinding contentType res accept
req KubernetesRequest CreateNamespacedPodBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodBinding Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedPodBinding contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedPodBinding contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedPodBinding contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedPodBinding contentType res accept
req KubernetesRequest CreateNamespacedPodBinding contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodBinding contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Consumes CreateNamespacedPodBinding mtype
instance Produces CreateNamespacedPodBinding MimeJSON
instance Produces CreateNamespacedPodBinding MimeVndKubernetesProtobuf
instance Produces CreateNamespacedPodBinding MimeYaml
createNamespacedPodEviction
:: (Consumes CreateNamespacedPodEviction contentType, MimeRender contentType V1beta1Eviction)
=> ContentType contentType
-> Accept accept
-> V1beta1Eviction
-> Name
-> Namespace
-> KubernetesRequest CreateNamespacedPodEviction contentType V1beta1Eviction accept
createNamespacedPodEviction :: ContentType contentType
-> Accept accept
-> V1beta1Eviction
-> Name
-> Namespace
-> KubernetesRequest
CreateNamespacedPodEviction contentType V1beta1Eviction accept
createNamespacedPodEviction ContentType contentType
_ Accept accept
_ V1beta1Eviction
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedPodEviction contentType V1beta1Eviction accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/eviction"]
KubernetesRequest
CreateNamespacedPodEviction contentType V1beta1Eviction accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedPodEviction contentType V1beta1Eviction 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
CreateNamespacedPodEviction contentType V1beta1Eviction accept
-> V1beta1Eviction
-> KubernetesRequest
CreateNamespacedPodEviction contentType V1beta1Eviction 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` V1beta1Eviction
body
data CreateNamespacedPodEviction
instance HasBodyParam CreateNamespacedPodEviction V1beta1Eviction
instance HasOptionalParam CreateNamespacedPodEviction DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodEviction contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedPodEviction contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodEviction contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedPodEviction contentType res accept
req KubernetesRequest
CreateNamespacedPodEviction contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodEviction contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodEviction FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodEviction contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedPodEviction contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodEviction contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedPodEviction contentType res accept
req KubernetesRequest
CreateNamespacedPodEviction contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodEviction contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodEviction Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodEviction contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedPodEviction contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodEviction contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedPodEviction contentType res accept
req KubernetesRequest
CreateNamespacedPodEviction contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodEviction contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Consumes CreateNamespacedPodEviction mtype
instance Produces CreateNamespacedPodEviction MimeJSON
instance Produces CreateNamespacedPodEviction MimeVndKubernetesProtobuf
instance Produces CreateNamespacedPodEviction MimeYaml
createNamespacedPodTemplate
:: (Consumes CreateNamespacedPodTemplate contentType, MimeRender contentType V1PodTemplate)
=> ContentType contentType
-> Accept accept
-> V1PodTemplate
-> Namespace
-> KubernetesRequest CreateNamespacedPodTemplate contentType V1PodTemplate accept
createNamespacedPodTemplate :: ContentType contentType
-> Accept accept
-> V1PodTemplate
-> Namespace
-> KubernetesRequest
CreateNamespacedPodTemplate contentType V1PodTemplate accept
createNamespacedPodTemplate ContentType contentType
_ Accept accept
_ V1PodTemplate
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedPodTemplate contentType V1PodTemplate accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/podtemplates"]
KubernetesRequest
CreateNamespacedPodTemplate contentType V1PodTemplate accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedPodTemplate contentType V1PodTemplate 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
CreateNamespacedPodTemplate contentType V1PodTemplate accept
-> V1PodTemplate
-> KubernetesRequest
CreateNamespacedPodTemplate contentType V1PodTemplate 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` V1PodTemplate
body
data CreateNamespacedPodTemplate
instance HasBodyParam CreateNamespacedPodTemplate V1PodTemplate
instance HasOptionalParam CreateNamespacedPodTemplate Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
req KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodTemplate DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
req KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodTemplate FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
req KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedPodTemplate mtype
instance Produces CreateNamespacedPodTemplate MimeJSON
instance Produces CreateNamespacedPodTemplate MimeVndKubernetesProtobuf
instance Produces CreateNamespacedPodTemplate MimeYaml
createNamespacedReplicationController
:: (Consumes CreateNamespacedReplicationController contentType, MimeRender contentType V1ReplicationController)
=> ContentType contentType
-> Accept accept
-> V1ReplicationController
-> Namespace
-> KubernetesRequest CreateNamespacedReplicationController contentType V1ReplicationController accept
createNamespacedReplicationController :: ContentType contentType
-> Accept accept
-> V1ReplicationController
-> Namespace
-> KubernetesRequest
CreateNamespacedReplicationController
contentType
V1ReplicationController
accept
createNamespacedReplicationController ContentType contentType
_ Accept accept
_ V1ReplicationController
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedReplicationController
contentType
V1ReplicationController
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers"]
KubernetesRequest
CreateNamespacedReplicationController
contentType
V1ReplicationController
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedReplicationController
contentType
V1ReplicationController
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
CreateNamespacedReplicationController
contentType
V1ReplicationController
accept
-> V1ReplicationController
-> KubernetesRequest
CreateNamespacedReplicationController
contentType
V1ReplicationController
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` V1ReplicationController
body
data CreateNamespacedReplicationController
instance HasBodyParam CreateNamespacedReplicationController V1ReplicationController
instance HasOptionalParam CreateNamespacedReplicationController Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedReplicationController contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedReplicationController contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedReplicationController contentType res accept
req KubernetesRequest
CreateNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedReplicationController DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedReplicationController contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedReplicationController contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedReplicationController contentType res accept
req KubernetesRequest
CreateNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedReplicationController FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedReplicationController contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedReplicationController contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedReplicationController contentType res accept
req KubernetesRequest
CreateNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedReplicationController mtype
instance Produces CreateNamespacedReplicationController MimeJSON
instance Produces CreateNamespacedReplicationController MimeVndKubernetesProtobuf
instance Produces CreateNamespacedReplicationController MimeYaml
createNamespacedResourceQuota
:: (Consumes CreateNamespacedResourceQuota contentType, MimeRender contentType V1ResourceQuota)
=> ContentType contentType
-> Accept accept
-> V1ResourceQuota
-> Namespace
-> KubernetesRequest CreateNamespacedResourceQuota contentType V1ResourceQuota accept
createNamespacedResourceQuota :: ContentType contentType
-> Accept accept
-> V1ResourceQuota
-> Namespace
-> KubernetesRequest
CreateNamespacedResourceQuota contentType V1ResourceQuota accept
createNamespacedResourceQuota ContentType contentType
_ Accept accept
_ V1ResourceQuota
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedResourceQuota contentType V1ResourceQuota accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas"]
KubernetesRequest
CreateNamespacedResourceQuota contentType V1ResourceQuota accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedResourceQuota contentType V1ResourceQuota 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
CreateNamespacedResourceQuota contentType V1ResourceQuota accept
-> V1ResourceQuota
-> KubernetesRequest
CreateNamespacedResourceQuota contentType V1ResourceQuota 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` V1ResourceQuota
body
data CreateNamespacedResourceQuota
instance HasBodyParam CreateNamespacedResourceQuota V1ResourceQuota
instance HasOptionalParam CreateNamespacedResourceQuota Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
req KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedResourceQuota DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
req KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedResourceQuota FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
req KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedResourceQuota mtype
instance Produces CreateNamespacedResourceQuota MimeJSON
instance Produces CreateNamespacedResourceQuota MimeVndKubernetesProtobuf
instance Produces CreateNamespacedResourceQuota MimeYaml
createNamespacedSecret
:: (Consumes CreateNamespacedSecret contentType, MimeRender contentType V1Secret)
=> ContentType contentType
-> Accept accept
-> V1Secret
-> Namespace
-> KubernetesRequest CreateNamespacedSecret contentType V1Secret accept
createNamespacedSecret :: ContentType contentType
-> Accept accept
-> V1Secret
-> Namespace
-> KubernetesRequest
CreateNamespacedSecret contentType V1Secret accept
createNamespacedSecret ContentType contentType
_ Accept accept
_ V1Secret
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedSecret contentType V1Secret accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/secrets"]
KubernetesRequest
CreateNamespacedSecret contentType V1Secret accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedSecret contentType V1Secret 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
CreateNamespacedSecret contentType V1Secret accept
-> V1Secret
-> KubernetesRequest
CreateNamespacedSecret contentType V1Secret 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` V1Secret
body
data CreateNamespacedSecret
instance HasBodyParam CreateNamespacedSecret V1Secret
instance HasOptionalParam CreateNamespacedSecret Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedSecret contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedSecret contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedSecret contentType res accept
req KubernetesRequest CreateNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedSecret DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedSecret contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedSecret contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedSecret contentType res accept
req KubernetesRequest CreateNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedSecret FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedSecret contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedSecret contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedSecret contentType res accept
req KubernetesRequest CreateNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedSecret mtype
instance Produces CreateNamespacedSecret MimeJSON
instance Produces CreateNamespacedSecret MimeVndKubernetesProtobuf
instance Produces CreateNamespacedSecret MimeYaml
createNamespacedService
:: (Consumes CreateNamespacedService contentType, MimeRender contentType V1Service)
=> ContentType contentType
-> Accept accept
-> V1Service
-> Namespace
-> KubernetesRequest CreateNamespacedService contentType V1Service accept
createNamespacedService :: ContentType contentType
-> Accept accept
-> V1Service
-> Namespace
-> KubernetesRequest
CreateNamespacedService contentType V1Service accept
createNamespacedService ContentType contentType
_ Accept accept
_ V1Service
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedService contentType V1Service accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services"]
KubernetesRequest
CreateNamespacedService contentType V1Service accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedService contentType V1Service 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
CreateNamespacedService contentType V1Service accept
-> V1Service
-> KubernetesRequest
CreateNamespacedService contentType V1Service 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` V1Service
body
data CreateNamespacedService
instance HasBodyParam CreateNamespacedService V1Service
instance HasOptionalParam CreateNamespacedService Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedService contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedService contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedService contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedService contentType res accept
req KubernetesRequest CreateNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedService DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedService contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedService contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedService contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedService contentType res accept
req KubernetesRequest CreateNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedService FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedService contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedService contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedService contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedService contentType res accept
req KubernetesRequest CreateNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedService mtype
instance Produces CreateNamespacedService MimeJSON
instance Produces CreateNamespacedService MimeVndKubernetesProtobuf
instance Produces CreateNamespacedService MimeYaml
createNamespacedServiceAccount
:: (Consumes CreateNamespacedServiceAccount contentType, MimeRender contentType V1ServiceAccount)
=> ContentType contentType
-> Accept accept
-> V1ServiceAccount
-> Namespace
-> KubernetesRequest CreateNamespacedServiceAccount contentType V1ServiceAccount accept
createNamespacedServiceAccount :: ContentType contentType
-> Accept accept
-> V1ServiceAccount
-> Namespace
-> KubernetesRequest
CreateNamespacedServiceAccount contentType V1ServiceAccount accept
createNamespacedServiceAccount ContentType contentType
_ Accept accept
_ V1ServiceAccount
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedServiceAccount contentType V1ServiceAccount accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/serviceaccounts"]
KubernetesRequest
CreateNamespacedServiceAccount contentType V1ServiceAccount accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedServiceAccount contentType V1ServiceAccount 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
CreateNamespacedServiceAccount contentType V1ServiceAccount accept
-> V1ServiceAccount
-> KubernetesRequest
CreateNamespacedServiceAccount contentType V1ServiceAccount 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` V1ServiceAccount
body
data CreateNamespacedServiceAccount
instance HasBodyParam CreateNamespacedServiceAccount V1ServiceAccount
instance HasOptionalParam CreateNamespacedServiceAccount Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
req KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedServiceAccount DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
req KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedServiceAccount FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
req KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedServiceAccount mtype
instance Produces CreateNamespacedServiceAccount MimeJSON
instance Produces CreateNamespacedServiceAccount MimeVndKubernetesProtobuf
instance Produces CreateNamespacedServiceAccount MimeYaml
createNamespacedServiceAccountToken
:: (Consumes CreateNamespacedServiceAccountToken contentType, MimeRender contentType V1TokenRequest)
=> ContentType contentType
-> Accept accept
-> V1TokenRequest
-> Name
-> Namespace
-> KubernetesRequest CreateNamespacedServiceAccountToken contentType V1TokenRequest accept
createNamespacedServiceAccountToken :: ContentType contentType
-> Accept accept
-> V1TokenRequest
-> Name
-> Namespace
-> KubernetesRequest
CreateNamespacedServiceAccountToken
contentType
V1TokenRequest
accept
createNamespacedServiceAccountToken ContentType contentType
_ Accept accept
_ V1TokenRequest
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedServiceAccountToken
contentType
V1TokenRequest
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/serviceaccounts/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/token"]
KubernetesRequest
CreateNamespacedServiceAccountToken
contentType
V1TokenRequest
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedServiceAccountToken
contentType
V1TokenRequest
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
CreateNamespacedServiceAccountToken
contentType
V1TokenRequest
accept
-> V1TokenRequest
-> KubernetesRequest
CreateNamespacedServiceAccountToken
contentType
V1TokenRequest
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` V1TokenRequest
body
data CreateNamespacedServiceAccountToken
instance HasBodyParam CreateNamespacedServiceAccountToken V1TokenRequest
instance HasOptionalParam CreateNamespacedServiceAccountToken DryRun where
applyOptionalParam :: KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
-> DryRun
-> KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
req KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedServiceAccountToken FieldManager where
applyOptionalParam :: KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
-> FieldManager
-> KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
req KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedServiceAccountToken Pretty where
applyOptionalParam :: KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
-> Pretty
-> KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
applyOptionalParam KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
req KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
-> [QueryItem]
-> KubernetesRequest
CreateNamespacedServiceAccountToken contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Consumes CreateNamespacedServiceAccountToken mtype
instance Produces CreateNamespacedServiceAccountToken MimeJSON
instance Produces CreateNamespacedServiceAccountToken MimeVndKubernetesProtobuf
instance Produces CreateNamespacedServiceAccountToken MimeYaml
createNode
:: (Consumes CreateNode contentType, MimeRender contentType V1Node)
=> ContentType contentType
-> Accept accept
-> V1Node
-> KubernetesRequest CreateNode contentType V1Node accept
createNode :: ContentType contentType
-> Accept accept
-> V1Node
-> KubernetesRequest CreateNode contentType V1Node accept
createNode ContentType contentType
_ Accept accept
_ V1Node
body =
Method
-> [ByteString]
-> KubernetesRequest CreateNode contentType V1Node accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/nodes"]
KubernetesRequest CreateNode contentType V1Node accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest CreateNode contentType V1Node 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 CreateNode contentType V1Node accept
-> V1Node -> KubernetesRequest CreateNode contentType V1Node 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` V1Node
body
data CreateNode
instance HasBodyParam CreateNode V1Node
instance HasOptionalParam CreateNode Pretty where
applyOptionalParam :: KubernetesRequest CreateNode contentType res accept
-> Pretty -> KubernetesRequest CreateNode contentType res accept
applyOptionalParam KubernetesRequest CreateNode contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNode contentType res accept
req KubernetesRequest CreateNode contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNode DryRun where
applyOptionalParam :: KubernetesRequest CreateNode contentType res accept
-> DryRun -> KubernetesRequest CreateNode contentType res accept
applyOptionalParam KubernetesRequest CreateNode contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNode contentType res accept
req KubernetesRequest CreateNode contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNode FieldManager where
applyOptionalParam :: KubernetesRequest CreateNode contentType res accept
-> FieldManager
-> KubernetesRequest CreateNode contentType res accept
applyOptionalParam KubernetesRequest CreateNode contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNode contentType res accept
req KubernetesRequest CreateNode contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNode mtype
instance Produces CreateNode MimeJSON
instance Produces CreateNode MimeVndKubernetesProtobuf
instance Produces CreateNode MimeYaml
createPersistentVolume
:: (Consumes CreatePersistentVolume contentType, MimeRender contentType V1PersistentVolume)
=> ContentType contentType
-> Accept accept
-> V1PersistentVolume
-> KubernetesRequest CreatePersistentVolume contentType V1PersistentVolume accept
createPersistentVolume :: ContentType contentType
-> Accept accept
-> V1PersistentVolume
-> KubernetesRequest
CreatePersistentVolume contentType V1PersistentVolume accept
createPersistentVolume ContentType contentType
_ Accept accept
_ V1PersistentVolume
body =
Method
-> [ByteString]
-> KubernetesRequest
CreatePersistentVolume contentType V1PersistentVolume accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/api/v1/persistentvolumes"]
KubernetesRequest
CreatePersistentVolume contentType V1PersistentVolume accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreatePersistentVolume contentType V1PersistentVolume 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
CreatePersistentVolume contentType V1PersistentVolume accept
-> V1PersistentVolume
-> KubernetesRequest
CreatePersistentVolume contentType V1PersistentVolume 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` V1PersistentVolume
body
data CreatePersistentVolume
instance HasBodyParam CreatePersistentVolume V1PersistentVolume
instance HasOptionalParam CreatePersistentVolume Pretty where
applyOptionalParam :: KubernetesRequest CreatePersistentVolume contentType res accept
-> Pretty
-> KubernetesRequest CreatePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest CreatePersistentVolume contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreatePersistentVolume contentType res accept
req KubernetesRequest CreatePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest CreatePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreatePersistentVolume DryRun where
applyOptionalParam :: KubernetesRequest CreatePersistentVolume contentType res accept
-> DryRun
-> KubernetesRequest CreatePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest CreatePersistentVolume contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreatePersistentVolume contentType res accept
req KubernetesRequest CreatePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest CreatePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreatePersistentVolume FieldManager where
applyOptionalParam :: KubernetesRequest CreatePersistentVolume contentType res accept
-> FieldManager
-> KubernetesRequest CreatePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest CreatePersistentVolume contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreatePersistentVolume contentType res accept
req KubernetesRequest CreatePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest CreatePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreatePersistentVolume mtype
instance Produces CreatePersistentVolume MimeJSON
instance Produces CreatePersistentVolume MimeVndKubernetesProtobuf
instance Produces CreatePersistentVolume MimeYaml
deleteCollectionNamespacedConfigMap
:: (Consumes DeleteCollectionNamespacedConfigMap contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedConfigMap contentType V1Status accept
deleteCollectionNamespacedConfigMap :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType V1Status accept
deleteCollectionNamespacedConfigMap ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/configmaps"]
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap 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 DeleteCollectionNamespacedConfigMap
instance HasBodyParam DeleteCollectionNamespacedConfigMap V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedConfigMap Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedConfigMap Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedConfigMap DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedConfigMap FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedConfigMap GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap 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 DeleteCollectionNamespacedConfigMap LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedConfigMap Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap 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 DeleteCollectionNamespacedConfigMap OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap 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 DeleteCollectionNamespacedConfigMap PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedConfigMap ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedConfigMap TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedConfigMap 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 DeleteCollectionNamespacedConfigMap mtype
instance Produces DeleteCollectionNamespacedConfigMap MimeJSON
instance Produces DeleteCollectionNamespacedConfigMap MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedConfigMap MimeYaml
deleteCollectionNamespacedEndpoints
:: (Consumes DeleteCollectionNamespacedEndpoints contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedEndpoints contentType V1Status accept
deleteCollectionNamespacedEndpoints :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType V1Status accept
deleteCollectionNamespacedEndpoints ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/endpoints"]
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints 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 DeleteCollectionNamespacedEndpoints
instance HasBodyParam DeleteCollectionNamespacedEndpoints V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedEndpoints Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEndpoints Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEndpoints DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEndpoints FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEndpoints GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints 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 DeleteCollectionNamespacedEndpoints LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEndpoints Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints 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 DeleteCollectionNamespacedEndpoints OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints 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 DeleteCollectionNamespacedEndpoints PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEndpoints ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEndpoints TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEndpoints 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 DeleteCollectionNamespacedEndpoints mtype
instance Produces DeleteCollectionNamespacedEndpoints MimeJSON
instance Produces DeleteCollectionNamespacedEndpoints MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedEndpoints MimeYaml
deleteCollectionNamespacedEvent
:: (Consumes DeleteCollectionNamespacedEvent contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedEvent contentType V1Status accept
deleteCollectionNamespacedEvent :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType V1Status accept
deleteCollectionNamespacedEvent ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/events"]
KubernetesRequest
DeleteCollectionNamespacedEvent contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedEvent 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 DeleteCollectionNamespacedEvent
instance HasBodyParam DeleteCollectionNamespacedEvent V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedEvent Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEvent Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEvent DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEvent FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEvent GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent 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 DeleteCollectionNamespacedEvent LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEvent Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent 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 DeleteCollectionNamespacedEvent OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent 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 DeleteCollectionNamespacedEvent PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEvent ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedEvent TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedEvent 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 DeleteCollectionNamespacedEvent mtype
instance Produces DeleteCollectionNamespacedEvent MimeJSON
instance Produces DeleteCollectionNamespacedEvent MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedEvent MimeYaml
deleteCollectionNamespacedLimitRange
:: (Consumes DeleteCollectionNamespacedLimitRange contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedLimitRange contentType V1Status accept
deleteCollectionNamespacedLimitRange :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType V1Status accept
deleteCollectionNamespacedLimitRange ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/limitranges"]
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange 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 DeleteCollectionNamespacedLimitRange
instance HasBodyParam DeleteCollectionNamespacedLimitRange V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedLimitRange Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedLimitRange Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedLimitRange DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedLimitRange FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedLimitRange GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange 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 DeleteCollectionNamespacedLimitRange LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedLimitRange Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange 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 DeleteCollectionNamespacedLimitRange OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange 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 DeleteCollectionNamespacedLimitRange PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedLimitRange ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedLimitRange TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedLimitRange 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 DeleteCollectionNamespacedLimitRange mtype
instance Produces DeleteCollectionNamespacedLimitRange MimeJSON
instance Produces DeleteCollectionNamespacedLimitRange MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedLimitRange MimeYaml
deleteCollectionNamespacedPersistentVolumeClaim
:: (Consumes DeleteCollectionNamespacedPersistentVolumeClaim contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedPersistentVolumeClaim contentType V1Status accept
deleteCollectionNamespacedPersistentVolumeClaim :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
V1Status
accept
deleteCollectionNamespacedPersistentVolumeClaim ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
V1Status
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims"]
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
V1Status
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
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 DeleteCollectionNamespacedPersistentVolumeClaim
instance HasBodyParam DeleteCollectionNamespacedPersistentVolumeClaim V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedPersistentVolumeClaim Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPersistentVolumeClaim Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPersistentVolumeClaim DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPersistentVolumeClaim FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPersistentVolumeClaim GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
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 DeleteCollectionNamespacedPersistentVolumeClaim LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPersistentVolumeClaim Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
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 DeleteCollectionNamespacedPersistentVolumeClaim OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
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 DeleteCollectionNamespacedPersistentVolumeClaim PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPersistentVolumeClaim ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPersistentVolumeClaim TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPersistentVolumeClaim
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 DeleteCollectionNamespacedPersistentVolumeClaim mtype
instance Produces DeleteCollectionNamespacedPersistentVolumeClaim MimeJSON
instance Produces DeleteCollectionNamespacedPersistentVolumeClaim MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedPersistentVolumeClaim MimeYaml
deleteCollectionNamespacedPod
:: (Consumes DeleteCollectionNamespacedPod contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedPod contentType V1Status accept
deleteCollectionNamespacedPod :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType V1Status accept
deleteCollectionNamespacedPod ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods"]
KubernetesRequest
DeleteCollectionNamespacedPod contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedPod 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 DeleteCollectionNamespacedPod
instance HasBodyParam DeleteCollectionNamespacedPod V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedPod Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPod Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPod DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPod FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPod GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod 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 DeleteCollectionNamespacedPod LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPod Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod 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 DeleteCollectionNamespacedPod OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod 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 DeleteCollectionNamespacedPod PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPod ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPod TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPod 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 DeleteCollectionNamespacedPod mtype
instance Produces DeleteCollectionNamespacedPod MimeJSON
instance Produces DeleteCollectionNamespacedPod MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedPod MimeYaml
deleteCollectionNamespacedPodTemplate
:: (Consumes DeleteCollectionNamespacedPodTemplate contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedPodTemplate contentType V1Status accept
deleteCollectionNamespacedPodTemplate :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType V1Status accept
deleteCollectionNamespacedPodTemplate ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/podtemplates"]
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate 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 DeleteCollectionNamespacedPodTemplate
instance HasBodyParam DeleteCollectionNamespacedPodTemplate V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedPodTemplate Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodTemplate Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodTemplate DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodTemplate FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodTemplate GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate 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 DeleteCollectionNamespacedPodTemplate LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodTemplate Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate 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 DeleteCollectionNamespacedPodTemplate OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate 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 DeleteCollectionNamespacedPodTemplate PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodTemplate ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedPodTemplate TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedPodTemplate 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 DeleteCollectionNamespacedPodTemplate mtype
instance Produces DeleteCollectionNamespacedPodTemplate MimeJSON
instance Produces DeleteCollectionNamespacedPodTemplate MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedPodTemplate MimeYaml
deleteCollectionNamespacedReplicationController
:: (Consumes DeleteCollectionNamespacedReplicationController contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedReplicationController contentType V1Status accept
deleteCollectionNamespacedReplicationController :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
V1Status
accept
deleteCollectionNamespacedReplicationController ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
V1Status
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers"]
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
V1Status
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
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 DeleteCollectionNamespacedReplicationController
instance HasBodyParam DeleteCollectionNamespacedReplicationController V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedReplicationController Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedReplicationController Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedReplicationController DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedReplicationController FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedReplicationController GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
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 DeleteCollectionNamespacedReplicationController LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedReplicationController Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
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 DeleteCollectionNamespacedReplicationController OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
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 DeleteCollectionNamespacedReplicationController PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedReplicationController ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedReplicationController TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
req KubernetesRequest
DeleteCollectionNamespacedReplicationController
contentType
res
accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedReplicationController
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 DeleteCollectionNamespacedReplicationController mtype
instance Produces DeleteCollectionNamespacedReplicationController MimeJSON
instance Produces DeleteCollectionNamespacedReplicationController MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedReplicationController MimeYaml
deleteCollectionNamespacedResourceQuota
:: (Consumes DeleteCollectionNamespacedResourceQuota contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedResourceQuota contentType V1Status accept
deleteCollectionNamespacedResourceQuota :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType V1Status accept
deleteCollectionNamespacedResourceQuota ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas"]
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota 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 DeleteCollectionNamespacedResourceQuota
instance HasBodyParam DeleteCollectionNamespacedResourceQuota V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedResourceQuota Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedResourceQuota Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedResourceQuota DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedResourceQuota FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedResourceQuota GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota 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 DeleteCollectionNamespacedResourceQuota LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedResourceQuota Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota 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 DeleteCollectionNamespacedResourceQuota OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota 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 DeleteCollectionNamespacedResourceQuota PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedResourceQuota ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedResourceQuota TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedResourceQuota 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 DeleteCollectionNamespacedResourceQuota mtype
instance Produces DeleteCollectionNamespacedResourceQuota MimeJSON
instance Produces DeleteCollectionNamespacedResourceQuota MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedResourceQuota MimeYaml
deleteCollectionNamespacedSecret
:: (Consumes DeleteCollectionNamespacedSecret contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedSecret contentType V1Status accept
deleteCollectionNamespacedSecret :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType V1Status accept
deleteCollectionNamespacedSecret ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/secrets"]
KubernetesRequest
DeleteCollectionNamespacedSecret contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedSecret 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 DeleteCollectionNamespacedSecret
instance HasBodyParam DeleteCollectionNamespacedSecret V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedSecret Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedSecret Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedSecret DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedSecret FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedSecret GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret 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 DeleteCollectionNamespacedSecret LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedSecret Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret 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 DeleteCollectionNamespacedSecret OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret 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 DeleteCollectionNamespacedSecret PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedSecret ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedSecret TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedSecret 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 DeleteCollectionNamespacedSecret mtype
instance Produces DeleteCollectionNamespacedSecret MimeJSON
instance Produces DeleteCollectionNamespacedSecret MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedSecret MimeYaml
deleteCollectionNamespacedServiceAccount
:: (Consumes DeleteCollectionNamespacedServiceAccount contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedServiceAccount contentType V1Status accept
deleteCollectionNamespacedServiceAccount :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount
contentType
V1Status
accept
deleteCollectionNamespacedServiceAccount ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount
contentType
V1Status
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/serviceaccounts"]
KubernetesRequest
DeleteCollectionNamespacedServiceAccount
contentType
V1Status
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount
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 DeleteCollectionNamespacedServiceAccount
instance HasBodyParam DeleteCollectionNamespacedServiceAccount V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedServiceAccount Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedServiceAccount Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedServiceAccount DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedServiceAccount FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedServiceAccount GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount 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 DeleteCollectionNamespacedServiceAccount LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedServiceAccount Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount 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 DeleteCollectionNamespacedServiceAccount OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount 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 DeleteCollectionNamespacedServiceAccount PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedServiceAccount ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedServiceAccount TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedServiceAccount 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 DeleteCollectionNamespacedServiceAccount mtype
instance Produces DeleteCollectionNamespacedServiceAccount MimeJSON
instance Produces DeleteCollectionNamespacedServiceAccount MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedServiceAccount MimeYaml
deleteCollectionNode
:: (Consumes DeleteCollectionNode contentType)
=> ContentType contentType
-> Accept accept
-> KubernetesRequest DeleteCollectionNode contentType V1Status accept
deleteCollectionNode :: ContentType contentType
-> Accept accept
-> KubernetesRequest
DeleteCollectionNode contentType V1Status accept
deleteCollectionNode ContentType contentType
_ Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNode contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/nodes"]
KubernetesRequest DeleteCollectionNode contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNode 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 DeleteCollectionNode
instance HasBodyParam DeleteCollectionNode V1DeleteOptions
instance HasOptionalParam DeleteCollectionNode Pretty where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> Pretty
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNode Continue where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> Continue
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (Continue Text
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNode DryRun where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> DryRun
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNode FieldSelector where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> FieldSelector
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNode GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode 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 DeleteCollectionNode LabelSelector where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> LabelSelector
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNode Limit where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> Limit
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (Limit Int
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode 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 DeleteCollectionNode OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode 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 DeleteCollectionNode PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNode ResourceVersion where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> ResourceVersion
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNode TimeoutSeconds where
applyOptionalParam :: KubernetesRequest DeleteCollectionNode contentType res accept
-> TimeoutSeconds
-> KubernetesRequest DeleteCollectionNode contentType res accept
applyOptionalParam KubernetesRequest DeleteCollectionNode contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest DeleteCollectionNode contentType res accept
req KubernetesRequest DeleteCollectionNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteCollectionNode 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 DeleteCollectionNode mtype
instance Produces DeleteCollectionNode MimeJSON
instance Produces DeleteCollectionNode MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNode MimeYaml
deleteCollectionPersistentVolume
:: (Consumes DeleteCollectionPersistentVolume contentType)
=> ContentType contentType
-> Accept accept
-> KubernetesRequest DeleteCollectionPersistentVolume contentType V1Status accept
deleteCollectionPersistentVolume :: ContentType contentType
-> Accept accept
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType V1Status accept
deleteCollectionPersistentVolume ContentType contentType
_ Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/persistentvolumes"]
KubernetesRequest
DeleteCollectionPersistentVolume contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionPersistentVolume 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 DeleteCollectionPersistentVolume
instance HasBodyParam DeleteCollectionPersistentVolume V1DeleteOptions
instance HasOptionalParam DeleteCollectionPersistentVolume Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionPersistentVolume Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionPersistentVolume DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionPersistentVolume FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionPersistentVolume GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume 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 DeleteCollectionPersistentVolume LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionPersistentVolume Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume 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 DeleteCollectionPersistentVolume OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume 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 DeleteCollectionPersistentVolume PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionPersistentVolume ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionPersistentVolume TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
req KubernetesRequest
DeleteCollectionPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionPersistentVolume 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 DeleteCollectionPersistentVolume mtype
instance Produces DeleteCollectionPersistentVolume MimeJSON
instance Produces DeleteCollectionPersistentVolume MimeVndKubernetesProtobuf
instance Produces DeleteCollectionPersistentVolume MimeYaml
deleteNamespace
:: (Consumes DeleteNamespace contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteNamespace contentType V1Status accept
deleteNamespace :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteNamespace contentType V1Status accept
deleteNamespace ContentType contentType
_ Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest DeleteNamespace contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest DeleteNamespace contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest DeleteNamespace 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 DeleteNamespace
instance HasBodyParam DeleteNamespace V1DeleteOptions
instance HasOptionalParam DeleteNamespace Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespace contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespace contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespace contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespace contentType res accept
req KubernetesRequest DeleteNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespace DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespace contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespace contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespace contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespace contentType res accept
req KubernetesRequest DeleteNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespace GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespace contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespace contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespace contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespace contentType res accept
req KubernetesRequest DeleteNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespace 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 DeleteNamespace OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespace contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespace contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespace contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespace contentType res accept
req KubernetesRequest DeleteNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespace 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 DeleteNamespace PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespace contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespace contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespace contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespace contentType res accept
req KubernetesRequest DeleteNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespace mtype
instance Produces DeleteNamespace MimeJSON
instance Produces DeleteNamespace MimeVndKubernetesProtobuf
instance Produces DeleteNamespace MimeYaml
deleteNamespacedConfigMap
:: (Consumes DeleteNamespacedConfigMap contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedConfigMap contentType V1Status accept
deleteNamespacedConfigMap :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedConfigMap contentType V1Status accept
deleteNamespacedConfigMap ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedConfigMap contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/configmaps/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedConfigMap contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedConfigMap 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 DeleteNamespacedConfigMap
instance HasBodyParam DeleteNamespacedConfigMap V1DeleteOptions
instance HasOptionalParam DeleteNamespacedConfigMap Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedConfigMap DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedConfigMap GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedConfigMap 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 DeleteNamespacedConfigMap OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedConfigMap 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 DeleteNamespacedConfigMap PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedConfigMap contentType res accept
req KubernetesRequest DeleteNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedConfigMap mtype
instance Produces DeleteNamespacedConfigMap MimeJSON
instance Produces DeleteNamespacedConfigMap MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedConfigMap MimeYaml
deleteNamespacedEndpoints
:: (Consumes DeleteNamespacedEndpoints contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedEndpoints contentType V1Status accept
deleteNamespacedEndpoints :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedEndpoints contentType V1Status accept
deleteNamespacedEndpoints ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedEndpoints contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/endpoints/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedEndpoints contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedEndpoints 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 DeleteNamespacedEndpoints
instance HasBodyParam DeleteNamespacedEndpoints V1DeleteOptions
instance HasOptionalParam DeleteNamespacedEndpoints Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedEndpoints DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedEndpoints GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedEndpoints 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 DeleteNamespacedEndpoints OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedEndpoints 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 DeleteNamespacedEndpoints PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedEndpoints contentType res accept
req KubernetesRequest DeleteNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedEndpoints mtype
instance Produces DeleteNamespacedEndpoints MimeJSON
instance Produces DeleteNamespacedEndpoints MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedEndpoints MimeYaml
deleteNamespacedEvent
:: (Consumes DeleteNamespacedEvent contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedEvent contentType V1Status accept
deleteNamespacedEvent :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedEvent contentType V1Status accept
deleteNamespacedEvent ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedEvent contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/events/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest DeleteNamespacedEvent contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedEvent 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 DeleteNamespacedEvent
instance HasBodyParam DeleteNamespacedEvent V1DeleteOptions
instance HasOptionalParam DeleteNamespacedEvent Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEvent contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEvent contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedEvent contentType res accept
req KubernetesRequest DeleteNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedEvent DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEvent contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEvent contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedEvent contentType res accept
req KubernetesRequest DeleteNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedEvent GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEvent contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEvent contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedEvent contentType res accept
req KubernetesRequest DeleteNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedEvent 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 DeleteNamespacedEvent OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEvent contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEvent contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedEvent contentType res accept
req KubernetesRequest DeleteNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedEvent 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 DeleteNamespacedEvent PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedEvent contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedEvent contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedEvent contentType res accept
req KubernetesRequest DeleteNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedEvent mtype
instance Produces DeleteNamespacedEvent MimeJSON
instance Produces DeleteNamespacedEvent MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedEvent MimeYaml
deleteNamespacedLimitRange
:: (Consumes DeleteNamespacedLimitRange contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedLimitRange contentType V1Status accept
deleteNamespacedLimitRange :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedLimitRange contentType V1Status accept
deleteNamespacedLimitRange ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedLimitRange contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/limitranges/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedLimitRange contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedLimitRange 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 DeleteNamespacedLimitRange
instance HasBodyParam DeleteNamespacedLimitRange V1DeleteOptions
instance HasOptionalParam DeleteNamespacedLimitRange Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedLimitRange DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedLimitRange GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedLimitRange 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 DeleteNamespacedLimitRange OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedLimitRange 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 DeleteNamespacedLimitRange PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedLimitRange contentType res accept
req KubernetesRequest DeleteNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedLimitRange mtype
instance Produces DeleteNamespacedLimitRange MimeJSON
instance Produces DeleteNamespacedLimitRange MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedLimitRange MimeYaml
deleteNamespacedPersistentVolumeClaim
:: (Consumes DeleteNamespacedPersistentVolumeClaim contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedPersistentVolumeClaim contentType V1Status accept
deleteNamespacedPersistentVolumeClaim :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType V1Status accept
deleteNamespacedPersistentVolumeClaim ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim 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 DeleteNamespacedPersistentVolumeClaim
instance HasBodyParam DeleteNamespacedPersistentVolumeClaim V1DeleteOptions
instance HasOptionalParam DeleteNamespacedPersistentVolumeClaim Pretty where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPersistentVolumeClaim DryRun where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPersistentVolumeClaim GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim 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 DeleteNamespacedPersistentVolumeClaim OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim 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 DeleteNamespacedPersistentVolumeClaim PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPersistentVolumeClaim mtype
instance Produces DeleteNamespacedPersistentVolumeClaim MimeJSON
instance Produces DeleteNamespacedPersistentVolumeClaim MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedPersistentVolumeClaim MimeYaml
deleteNamespacedPod
:: (Consumes DeleteNamespacedPod contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedPod contentType V1Status accept
deleteNamespacedPod :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedPod contentType V1Status accept
deleteNamespacedPod ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedPod contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest DeleteNamespacedPod contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedPod 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 DeleteNamespacedPod
instance HasBodyParam DeleteNamespacedPod V1DeleteOptions
instance HasOptionalParam DeleteNamespacedPod Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedPod contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedPod contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedPod contentType res accept
req KubernetesRequest DeleteNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPod DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedPod contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedPod contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedPod contentType res accept
req KubernetesRequest DeleteNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPod GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedPod contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedPod contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedPod contentType res accept
req KubernetesRequest DeleteNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedPod 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 DeleteNamespacedPod OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedPod contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedPod contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedPod contentType res accept
req KubernetesRequest DeleteNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedPod 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 DeleteNamespacedPod PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedPod contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedPod contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedPod contentType res accept
req KubernetesRequest DeleteNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPod mtype
instance Produces DeleteNamespacedPod MimeJSON
instance Produces DeleteNamespacedPod MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedPod MimeYaml
deleteNamespacedPodTemplate
:: (Consumes DeleteNamespacedPodTemplate contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedPodTemplate contentType V1Status accept
deleteNamespacedPodTemplate :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType V1Status accept
deleteNamespacedPodTemplate ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/podtemplates/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedPodTemplate contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedPodTemplate 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 DeleteNamespacedPodTemplate
instance HasBodyParam DeleteNamespacedPodTemplate V1DeleteOptions
instance HasOptionalParam DeleteNamespacedPodTemplate Pretty where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPodTemplate DryRun where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPodTemplate GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodTemplate 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 DeleteNamespacedPodTemplate OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodTemplate 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 DeleteNamespacedPodTemplate PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
req KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedPodTemplate mtype
instance Produces DeleteNamespacedPodTemplate MimeJSON
instance Produces DeleteNamespacedPodTemplate MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedPodTemplate MimeYaml
deleteNamespacedReplicationController
:: (Consumes DeleteNamespacedReplicationController contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedReplicationController contentType V1Status accept
deleteNamespacedReplicationController :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedReplicationController contentType V1Status accept
deleteNamespacedReplicationController ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedReplicationController contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedReplicationController contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedReplicationController 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 DeleteNamespacedReplicationController
instance HasBodyParam DeleteNamespacedReplicationController V1DeleteOptions
instance HasOptionalParam DeleteNamespacedReplicationController Pretty where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedReplicationController DryRun where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedReplicationController GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedReplicationController 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 DeleteNamespacedReplicationController OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedReplicationController 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 DeleteNamespacedReplicationController PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
req KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedReplicationController mtype
instance Produces DeleteNamespacedReplicationController MimeJSON
instance Produces DeleteNamespacedReplicationController MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedReplicationController MimeYaml
deleteNamespacedResourceQuota
:: (Consumes DeleteNamespacedResourceQuota contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedResourceQuota contentType V1Status accept
deleteNamespacedResourceQuota :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType V1Status accept
deleteNamespacedResourceQuota ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedResourceQuota contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedResourceQuota 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 DeleteNamespacedResourceQuota
instance HasBodyParam DeleteNamespacedResourceQuota V1DeleteOptions
instance HasOptionalParam DeleteNamespacedResourceQuota Pretty where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedResourceQuota DryRun where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedResourceQuota GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedResourceQuota 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 DeleteNamespacedResourceQuota OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedResourceQuota 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 DeleteNamespacedResourceQuota PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
req KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedResourceQuota mtype
instance Produces DeleteNamespacedResourceQuota MimeJSON
instance Produces DeleteNamespacedResourceQuota MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedResourceQuota MimeYaml
deleteNamespacedSecret
:: (Consumes DeleteNamespacedSecret contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedSecret contentType V1Status accept
deleteNamespacedSecret :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedSecret contentType V1Status accept
deleteNamespacedSecret ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedSecret contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/secrets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedSecret contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedSecret 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 DeleteNamespacedSecret
instance HasBodyParam DeleteNamespacedSecret V1DeleteOptions
instance HasOptionalParam DeleteNamespacedSecret Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedSecret contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedSecret contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedSecret contentType res accept
req KubernetesRequest DeleteNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedSecret DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedSecret contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedSecret contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedSecret contentType res accept
req KubernetesRequest DeleteNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedSecret GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedSecret contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedSecret contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedSecret contentType res accept
req KubernetesRequest DeleteNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedSecret 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 DeleteNamespacedSecret OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedSecret contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedSecret contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedSecret contentType res accept
req KubernetesRequest DeleteNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedSecret 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 DeleteNamespacedSecret PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedSecret contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedSecret contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedSecret contentType res accept
req KubernetesRequest DeleteNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedSecret mtype
instance Produces DeleteNamespacedSecret MimeJSON
instance Produces DeleteNamespacedSecret MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedSecret MimeYaml
deleteNamespacedService
:: (Consumes DeleteNamespacedService contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedService contentType V1Status accept
deleteNamespacedService :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedService contentType V1Status accept
deleteNamespacedService ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedService contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedService contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedService 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 DeleteNamespacedService
instance HasBodyParam DeleteNamespacedService V1DeleteOptions
instance HasOptionalParam DeleteNamespacedService Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedService contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespacedService contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedService contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedService contentType res accept
req KubernetesRequest DeleteNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedService DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedService contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespacedService contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedService contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedService contentType res accept
req KubernetesRequest DeleteNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedService GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedService contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespacedService contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedService contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedService contentType res accept
req KubernetesRequest DeleteNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedService 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 DeleteNamespacedService OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedService contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespacedService contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedService contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedService contentType res accept
req KubernetesRequest DeleteNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedService 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 DeleteNamespacedService PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedService contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespacedService contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedService contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedService contentType res accept
req KubernetesRequest DeleteNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedService mtype
instance Produces DeleteNamespacedService MimeJSON
instance Produces DeleteNamespacedService MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedService MimeYaml
deleteNamespacedServiceAccount
:: (Consumes DeleteNamespacedServiceAccount contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedServiceAccount contentType V1Status accept
deleteNamespacedServiceAccount :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType V1Status accept
deleteNamespacedServiceAccount ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/serviceaccounts/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedServiceAccount contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedServiceAccount 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 DeleteNamespacedServiceAccount
instance HasBodyParam DeleteNamespacedServiceAccount V1DeleteOptions
instance HasOptionalParam DeleteNamespacedServiceAccount Pretty where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> Pretty
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedServiceAccount DryRun where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> DryRun
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedServiceAccount GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedServiceAccount 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 DeleteNamespacedServiceAccount OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedServiceAccount 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 DeleteNamespacedServiceAccount PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
req KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedServiceAccount mtype
instance Produces DeleteNamespacedServiceAccount MimeJSON
instance Produces DeleteNamespacedServiceAccount MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedServiceAccount MimeYaml
deleteNode
:: (Consumes DeleteNode contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteNode contentType V1Status accept
deleteNode :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeleteNode contentType V1Status accept
deleteNode ContentType contentType
_ Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest DeleteNode contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest DeleteNode contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest DeleteNode 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 DeleteNode
instance HasBodyParam DeleteNode V1DeleteOptions
instance HasOptionalParam DeleteNode Pretty where
applyOptionalParam :: KubernetesRequest DeleteNode contentType res accept
-> Pretty -> KubernetesRequest DeleteNode contentType res accept
applyOptionalParam KubernetesRequest DeleteNode contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNode contentType res accept
req KubernetesRequest DeleteNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNode DryRun where
applyOptionalParam :: KubernetesRequest DeleteNode contentType res accept
-> DryRun -> KubernetesRequest DeleteNode contentType res accept
applyOptionalParam KubernetesRequest DeleteNode contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNode contentType res accept
req KubernetesRequest DeleteNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNode GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNode contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNode contentType res accept
applyOptionalParam KubernetesRequest DeleteNode contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNode contentType res accept
req KubernetesRequest DeleteNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNode 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 DeleteNode OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNode contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNode contentType res accept
applyOptionalParam KubernetesRequest DeleteNode contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNode contentType res accept
req KubernetesRequest DeleteNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNode 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 DeleteNode PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNode contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNode contentType res accept
applyOptionalParam KubernetesRequest DeleteNode contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNode contentType res accept
req KubernetesRequest DeleteNode contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNode mtype
instance Produces DeleteNode MimeJSON
instance Produces DeleteNode MimeVndKubernetesProtobuf
instance Produces DeleteNode MimeYaml
deletePersistentVolume
:: (Consumes DeletePersistentVolume contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest DeletePersistentVolume contentType V1Status accept
deletePersistentVolume :: ContentType contentType
-> Accept accept
-> Name
-> KubernetesRequest
DeletePersistentVolume contentType V1Status accept
deletePersistentVolume ContentType contentType
_ Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
DeletePersistentVolume contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/api/v1/persistentvolumes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeletePersistentVolume contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeletePersistentVolume 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 DeletePersistentVolume
instance HasBodyParam DeletePersistentVolume V1DeleteOptions
instance HasOptionalParam DeletePersistentVolume Pretty where
applyOptionalParam :: KubernetesRequest DeletePersistentVolume contentType res accept
-> Pretty
-> KubernetesRequest DeletePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest DeletePersistentVolume contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeletePersistentVolume contentType res accept
req KubernetesRequest DeletePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeletePersistentVolume DryRun where
applyOptionalParam :: KubernetesRequest DeletePersistentVolume contentType res accept
-> DryRun
-> KubernetesRequest DeletePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest DeletePersistentVolume contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeletePersistentVolume contentType res accept
req KubernetesRequest DeletePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeletePersistentVolume GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeletePersistentVolume contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeletePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest DeletePersistentVolume contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeletePersistentVolume contentType res accept
req KubernetesRequest DeletePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePersistentVolume 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 DeletePersistentVolume OrphanDependents where
applyOptionalParam :: KubernetesRequest DeletePersistentVolume contentType res accept
-> OrphanDependents
-> KubernetesRequest DeletePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest DeletePersistentVolume contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeletePersistentVolume contentType res accept
req KubernetesRequest DeletePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePersistentVolume 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 DeletePersistentVolume PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeletePersistentVolume contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeletePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest DeletePersistentVolume contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeletePersistentVolume contentType res accept
req KubernetesRequest DeletePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest DeletePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeletePersistentVolume mtype
instance Produces DeletePersistentVolume MimeJSON
instance Produces DeletePersistentVolume MimeVndKubernetesProtobuf
instance Produces DeletePersistentVolume 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
"/api/v1/"]
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
listComponentStatus
:: Accept accept
-> KubernetesRequest ListComponentStatus MimeNoContent V1ComponentStatusList accept
listComponentStatus :: Accept accept
-> KubernetesRequest
ListComponentStatus MimeNoContent V1ComponentStatusList accept
listComponentStatus Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListComponentStatus MimeNoContent V1ComponentStatusList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/componentstatuses"]
KubernetesRequest
ListComponentStatus MimeNoContent V1ComponentStatusList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListComponentStatus MimeNoContent V1ComponentStatusList 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 ListComponentStatus
instance HasOptionalParam ListComponentStatus AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus 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 ListComponentStatus Continue where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> Continue
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListComponentStatus FieldSelector where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> FieldSelector
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListComponentStatus LabelSelector where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> LabelSelector
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListComponentStatus Limit where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> Limit
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus 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 ListComponentStatus Pretty where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> Pretty
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListComponentStatus ResourceVersion where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> ResourceVersion
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListComponentStatus TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus 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 ListComponentStatus Watch where
applyOptionalParam :: KubernetesRequest ListComponentStatus contentType res accept
-> Watch
-> KubernetesRequest ListComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ListComponentStatus contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListComponentStatus contentType res accept
req KubernetesRequest ListComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ListComponentStatus 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 ListComponentStatus MimeJSON
instance Produces ListComponentStatus MimeJsonstreamwatch
instance Produces ListComponentStatus MimeVndKubernetesProtobuf
instance Produces ListComponentStatus MimeVndKubernetesProtobufstreamwatch
instance Produces ListComponentStatus MimeYaml
listConfigMapForAllNamespaces
:: Accept accept
-> KubernetesRequest ListConfigMapForAllNamespaces MimeNoContent V1ConfigMapList accept
listConfigMapForAllNamespaces :: Accept accept
-> KubernetesRequest
ListConfigMapForAllNamespaces MimeNoContent V1ConfigMapList accept
listConfigMapForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListConfigMapForAllNamespaces MimeNoContent V1ConfigMapList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/configmaps"]
KubernetesRequest
ListConfigMapForAllNamespaces MimeNoContent V1ConfigMapList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListConfigMapForAllNamespaces MimeNoContent V1ConfigMapList 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 ListConfigMapForAllNamespaces
instance HasOptionalParam ListConfigMapForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces 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 ListConfigMapForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListConfigMapForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListConfigMapForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListConfigMapForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces 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 ListConfigMapForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListConfigMapForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListConfigMapForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces 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 ListConfigMapForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
req KubernetesRequest
ListConfigMapForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListConfigMapForAllNamespaces 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 ListConfigMapForAllNamespaces MimeJSON
instance Produces ListConfigMapForAllNamespaces MimeJsonstreamwatch
instance Produces ListConfigMapForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListConfigMapForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListConfigMapForAllNamespaces MimeYaml
listEndpointsForAllNamespaces
:: Accept accept
-> KubernetesRequest ListEndpointsForAllNamespaces MimeNoContent V1EndpointsList accept
listEndpointsForAllNamespaces :: Accept accept
-> KubernetesRequest
ListEndpointsForAllNamespaces MimeNoContent V1EndpointsList accept
listEndpointsForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListEndpointsForAllNamespaces MimeNoContent V1EndpointsList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/endpoints"]
KubernetesRequest
ListEndpointsForAllNamespaces MimeNoContent V1EndpointsList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListEndpointsForAllNamespaces MimeNoContent V1EndpointsList 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 ListEndpointsForAllNamespaces
instance HasOptionalParam ListEndpointsForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces 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 ListEndpointsForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEndpointsForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEndpointsForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEndpointsForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces 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 ListEndpointsForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEndpointsForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEndpointsForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces 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 ListEndpointsForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
req KubernetesRequest
ListEndpointsForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEndpointsForAllNamespaces 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 ListEndpointsForAllNamespaces MimeJSON
instance Produces ListEndpointsForAllNamespaces MimeJsonstreamwatch
instance Produces ListEndpointsForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListEndpointsForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListEndpointsForAllNamespaces MimeYaml
listEventForAllNamespaces
:: Accept accept
-> KubernetesRequest ListEventForAllNamespaces MimeNoContent V1EventList accept
listEventForAllNamespaces :: Accept accept
-> KubernetesRequest
ListEventForAllNamespaces MimeNoContent V1EventList accept
listEventForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListEventForAllNamespaces MimeNoContent V1EventList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/events"]
KubernetesRequest
ListEventForAllNamespaces MimeNoContent V1EventList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListEventForAllNamespaces MimeNoContent V1EventList 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 ListEventForAllNamespaces
instance HasOptionalParam ListEventForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces 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 ListEventForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEventForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEventForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEventForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces 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 ListEventForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEventForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListEventForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces 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 ListEventForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest ListEventForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListEventForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListEventForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListEventForAllNamespaces contentType res accept
req KubernetesRequest ListEventForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListEventForAllNamespaces 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 ListEventForAllNamespaces MimeJSON
instance Produces ListEventForAllNamespaces MimeJsonstreamwatch
instance Produces ListEventForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListEventForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListEventForAllNamespaces MimeYaml
listLimitRangeForAllNamespaces
:: Accept accept
-> KubernetesRequest ListLimitRangeForAllNamespaces MimeNoContent V1LimitRangeList accept
listLimitRangeForAllNamespaces :: Accept accept
-> KubernetesRequest
ListLimitRangeForAllNamespaces
MimeNoContent
V1LimitRangeList
accept
listLimitRangeForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListLimitRangeForAllNamespaces
MimeNoContent
V1LimitRangeList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/limitranges"]
KubernetesRequest
ListLimitRangeForAllNamespaces
MimeNoContent
V1LimitRangeList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListLimitRangeForAllNamespaces
MimeNoContent
V1LimitRangeList
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 ListLimitRangeForAllNamespaces
instance HasOptionalParam ListLimitRangeForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces 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 ListLimitRangeForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListLimitRangeForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListLimitRangeForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListLimitRangeForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces 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 ListLimitRangeForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListLimitRangeForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListLimitRangeForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces 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 ListLimitRangeForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
req KubernetesRequest
ListLimitRangeForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListLimitRangeForAllNamespaces 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 ListLimitRangeForAllNamespaces MimeJSON
instance Produces ListLimitRangeForAllNamespaces MimeJsonstreamwatch
instance Produces ListLimitRangeForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListLimitRangeForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListLimitRangeForAllNamespaces MimeYaml
listNamespace
:: Accept accept
-> KubernetesRequest ListNamespace MimeNoContent V1NamespaceList accept
listNamespace :: Accept accept
-> KubernetesRequest
ListNamespace MimeNoContent V1NamespaceList accept
listNamespace Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespace MimeNoContent V1NamespaceList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces"]
KubernetesRequest
ListNamespace MimeNoContent V1NamespaceList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespace MimeNoContent V1NamespaceList 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 ListNamespace
instance HasOptionalParam ListNamespace Pretty where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> Pretty -> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespace AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace 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 ListNamespace Continue where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> Continue
-> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespace FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespace LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespace Limit where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> Limit -> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace 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 ListNamespace ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespace TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace 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 ListNamespace Watch where
applyOptionalParam :: KubernetesRequest ListNamespace contentType res accept
-> Watch -> KubernetesRequest ListNamespace contentType res accept
applyOptionalParam KubernetesRequest ListNamespace contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespace contentType res accept
req KubernetesRequest ListNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespace 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 ListNamespace MimeJSON
instance Produces ListNamespace MimeJsonstreamwatch
instance Produces ListNamespace MimeVndKubernetesProtobuf
instance Produces ListNamespace MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespace MimeYaml
listNamespacedConfigMap
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedConfigMap MimeNoContent V1ConfigMapList accept
listNamespacedConfigMap :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedConfigMap MimeNoContent V1ConfigMapList accept
listNamespacedConfigMap Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedConfigMap MimeNoContent V1ConfigMapList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/configmaps"]
KubernetesRequest
ListNamespacedConfigMap MimeNoContent V1ConfigMapList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedConfigMap MimeNoContent V1ConfigMapList 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 ListNamespacedConfigMap
instance HasOptionalParam ListNamespacedConfigMap Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedConfigMap AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap 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 ListNamespacedConfigMap Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedConfigMap FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedConfigMap LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedConfigMap Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap 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 ListNamespacedConfigMap ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedConfigMap TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap 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 ListNamespacedConfigMap Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedConfigMap contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedConfigMap contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedConfigMap contentType res accept
req KubernetesRequest ListNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedConfigMap 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 ListNamespacedConfigMap MimeJSON
instance Produces ListNamespacedConfigMap MimeJsonstreamwatch
instance Produces ListNamespacedConfigMap MimeVndKubernetesProtobuf
instance Produces ListNamespacedConfigMap MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedConfigMap MimeYaml
listNamespacedEndpoints
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedEndpoints MimeNoContent V1EndpointsList accept
listNamespacedEndpoints :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedEndpoints MimeNoContent V1EndpointsList accept
listNamespacedEndpoints Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedEndpoints MimeNoContent V1EndpointsList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/endpoints"]
KubernetesRequest
ListNamespacedEndpoints MimeNoContent V1EndpointsList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedEndpoints MimeNoContent V1EndpointsList 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 ListNamespacedEndpoints
instance HasOptionalParam ListNamespacedEndpoints Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEndpoints AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints 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 ListNamespacedEndpoints Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEndpoints FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEndpoints LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEndpoints Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints 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 ListNamespacedEndpoints ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEndpoints TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints 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 ListNamespacedEndpoints Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedEndpoints contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEndpoints contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedEndpoints contentType res accept
req KubernetesRequest ListNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEndpoints 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 ListNamespacedEndpoints MimeJSON
instance Produces ListNamespacedEndpoints MimeJsonstreamwatch
instance Produces ListNamespacedEndpoints MimeVndKubernetesProtobuf
instance Produces ListNamespacedEndpoints MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedEndpoints MimeYaml
listNamespacedEvent
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedEvent MimeNoContent V1EventList accept
listNamespacedEvent :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedEvent MimeNoContent V1EventList accept
listNamespacedEvent Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedEvent MimeNoContent V1EventList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/events"]
KubernetesRequest
ListNamespacedEvent MimeNoContent V1EventList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedEvent MimeNoContent V1EventList 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 ListNamespacedEvent
instance HasOptionalParam ListNamespacedEvent Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEvent AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent 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 ListNamespacedEvent Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEvent FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEvent LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEvent Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent 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 ListNamespacedEvent ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedEvent TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent 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 ListNamespacedEvent Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedEvent contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedEvent contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedEvent contentType res accept
req KubernetesRequest ListNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedEvent 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 ListNamespacedEvent MimeJSON
instance Produces ListNamespacedEvent MimeJsonstreamwatch
instance Produces ListNamespacedEvent MimeVndKubernetesProtobuf
instance Produces ListNamespacedEvent MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedEvent MimeYaml
listNamespacedLimitRange
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedLimitRange MimeNoContent V1LimitRangeList accept
listNamespacedLimitRange :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedLimitRange MimeNoContent V1LimitRangeList accept
listNamespacedLimitRange Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedLimitRange MimeNoContent V1LimitRangeList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/limitranges"]
KubernetesRequest
ListNamespacedLimitRange MimeNoContent V1LimitRangeList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedLimitRange MimeNoContent V1LimitRangeList 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 ListNamespacedLimitRange
instance HasOptionalParam ListNamespacedLimitRange Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> Pretty
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedLimitRange AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange 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 ListNamespacedLimitRange Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> Continue
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedLimitRange FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> FieldSelector
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedLimitRange LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> LabelSelector
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedLimitRange Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> Limit
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange 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 ListNamespacedLimitRange ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedLimitRange TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange 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 ListNamespacedLimitRange Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedLimitRange contentType res accept
-> Watch
-> KubernetesRequest
ListNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedLimitRange contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedLimitRange contentType res accept
req KubernetesRequest ListNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedLimitRange 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 ListNamespacedLimitRange MimeJSON
instance Produces ListNamespacedLimitRange MimeJsonstreamwatch
instance Produces ListNamespacedLimitRange MimeVndKubernetesProtobuf
instance Produces ListNamespacedLimitRange MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedLimitRange MimeYaml
listNamespacedPersistentVolumeClaim
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedPersistentVolumeClaim MimeNoContent V1PersistentVolumeClaimList accept
listNamespacedPersistentVolumeClaim :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim
MimeNoContent
V1PersistentVolumeClaimList
accept
listNamespacedPersistentVolumeClaim Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim
MimeNoContent
V1PersistentVolumeClaimList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims"]
KubernetesRequest
ListNamespacedPersistentVolumeClaim
MimeNoContent
V1PersistentVolumeClaimList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim
MimeNoContent
V1PersistentVolumeClaimList
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 ListNamespacedPersistentVolumeClaim
instance HasOptionalParam ListNamespacedPersistentVolumeClaim Pretty where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> Pretty
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPersistentVolumeClaim AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim 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 ListNamespacedPersistentVolumeClaim Continue where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> Continue
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPersistentVolumeClaim FieldSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> FieldSelector
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPersistentVolumeClaim LabelSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> LabelSelector
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPersistentVolumeClaim Limit where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> Limit
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim 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 ListNamespacedPersistentVolumeClaim ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPersistentVolumeClaim TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim 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 ListNamespacedPersistentVolumeClaim Watch where
applyOptionalParam :: KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> Watch
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ListNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPersistentVolumeClaim 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 ListNamespacedPersistentVolumeClaim MimeJSON
instance Produces ListNamespacedPersistentVolumeClaim MimeJsonstreamwatch
instance Produces ListNamespacedPersistentVolumeClaim MimeVndKubernetesProtobuf
instance Produces ListNamespacedPersistentVolumeClaim MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedPersistentVolumeClaim MimeYaml
listNamespacedPod
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedPod MimeNoContent V1PodList accept
listNamespacedPod :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedPod MimeNoContent V1PodList accept
listNamespacedPod Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedPod MimeNoContent V1PodList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods"]
KubernetesRequest ListNamespacedPod MimeNoContent V1PodList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedPod MimeNoContent V1PodList 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 ListNamespacedPod
instance HasOptionalParam ListNamespacedPod Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPod AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod 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 ListNamespacedPod Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPod FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPod LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPod Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod 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 ListNamespacedPod ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPod TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod 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 ListNamespacedPod Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedPod contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPod contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedPod contentType res accept
req KubernetesRequest ListNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedPod 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 ListNamespacedPod MimeJSON
instance Produces ListNamespacedPod MimeJsonstreamwatch
instance Produces ListNamespacedPod MimeVndKubernetesProtobuf
instance Produces ListNamespacedPod MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedPod MimeYaml
listNamespacedPodTemplate
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedPodTemplate MimeNoContent V1PodTemplateList accept
listNamespacedPodTemplate :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedPodTemplate MimeNoContent V1PodTemplateList accept
listNamespacedPodTemplate Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedPodTemplate MimeNoContent V1PodTemplateList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/podtemplates"]
KubernetesRequest
ListNamespacedPodTemplate MimeNoContent V1PodTemplateList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedPodTemplate MimeNoContent V1PodTemplateList 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 ListNamespacedPodTemplate
instance HasOptionalParam ListNamespacedPodTemplate Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> Pretty
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodTemplate AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate 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 ListNamespacedPodTemplate Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> Continue
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodTemplate FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> FieldSelector
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodTemplate LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> LabelSelector
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodTemplate Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> Limit
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate 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 ListNamespacedPodTemplate ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedPodTemplate TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate 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 ListNamespacedPodTemplate Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> Watch
-> KubernetesRequest
ListNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedPodTemplate contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedPodTemplate contentType res accept
req KubernetesRequest ListNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedPodTemplate 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 ListNamespacedPodTemplate MimeJSON
instance Produces ListNamespacedPodTemplate MimeJsonstreamwatch
instance Produces ListNamespacedPodTemplate MimeVndKubernetesProtobuf
instance Produces ListNamespacedPodTemplate MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedPodTemplate MimeYaml
listNamespacedReplicationController
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedReplicationController MimeNoContent V1ReplicationControllerList accept
listNamespacedReplicationController :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedReplicationController
MimeNoContent
V1ReplicationControllerList
accept
listNamespacedReplicationController Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedReplicationController
MimeNoContent
V1ReplicationControllerList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers"]
KubernetesRequest
ListNamespacedReplicationController
MimeNoContent
V1ReplicationControllerList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedReplicationController
MimeNoContent
V1ReplicationControllerList
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 ListNamespacedReplicationController
instance HasOptionalParam ListNamespacedReplicationController Pretty where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> Pretty
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedReplicationController AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController 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 ListNamespacedReplicationController Continue where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> Continue
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedReplicationController FieldSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> FieldSelector
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedReplicationController LabelSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> LabelSelector
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedReplicationController Limit where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> Limit
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController 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 ListNamespacedReplicationController ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedReplicationController TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController 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 ListNamespacedReplicationController Watch where
applyOptionalParam :: KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> Watch
-> KubernetesRequest
ListNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedReplicationController contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListNamespacedReplicationController contentType res accept
req KubernetesRequest
ListNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedReplicationController 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 ListNamespacedReplicationController MimeJSON
instance Produces ListNamespacedReplicationController MimeJsonstreamwatch
instance Produces ListNamespacedReplicationController MimeVndKubernetesProtobuf
instance Produces ListNamespacedReplicationController MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedReplicationController MimeYaml
listNamespacedResourceQuota
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedResourceQuota MimeNoContent V1ResourceQuotaList accept
listNamespacedResourceQuota :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedResourceQuota
MimeNoContent
V1ResourceQuotaList
accept
listNamespacedResourceQuota Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedResourceQuota
MimeNoContent
V1ResourceQuotaList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas"]
KubernetesRequest
ListNamespacedResourceQuota
MimeNoContent
V1ResourceQuotaList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedResourceQuota
MimeNoContent
V1ResourceQuotaList
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 ListNamespacedResourceQuota
instance HasOptionalParam ListNamespacedResourceQuota Pretty where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> Pretty
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedResourceQuota AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota 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 ListNamespacedResourceQuota Continue where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> Continue
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedResourceQuota FieldSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> FieldSelector
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedResourceQuota LabelSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> LabelSelector
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedResourceQuota Limit where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> Limit
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota 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 ListNamespacedResourceQuota ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedResourceQuota TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota 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 ListNamespacedResourceQuota Watch where
applyOptionalParam :: KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> Watch
-> KubernetesRequest
ListNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListNamespacedResourceQuota contentType res accept
req KubernetesRequest
ListNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedResourceQuota 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 ListNamespacedResourceQuota MimeJSON
instance Produces ListNamespacedResourceQuota MimeJsonstreamwatch
instance Produces ListNamespacedResourceQuota MimeVndKubernetesProtobuf
instance Produces ListNamespacedResourceQuota MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedResourceQuota MimeYaml
listNamespacedSecret
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedSecret MimeNoContent V1SecretList accept
listNamespacedSecret :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedSecret MimeNoContent V1SecretList accept
listNamespacedSecret Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedSecret MimeNoContent V1SecretList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/secrets"]
KubernetesRequest
ListNamespacedSecret MimeNoContent V1SecretList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedSecret MimeNoContent V1SecretList 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 ListNamespacedSecret
instance HasOptionalParam ListNamespacedSecret Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedSecret AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret 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 ListNamespacedSecret Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedSecret FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedSecret LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedSecret Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret 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 ListNamespacedSecret ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedSecret TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret 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 ListNamespacedSecret Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedSecret contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedSecret contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedSecret contentType res accept
req KubernetesRequest ListNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedSecret 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 ListNamespacedSecret MimeJSON
instance Produces ListNamespacedSecret MimeJsonstreamwatch
instance Produces ListNamespacedSecret MimeVndKubernetesProtobuf
instance Produces ListNamespacedSecret MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedSecret MimeYaml
listNamespacedService
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedService MimeNoContent V1ServiceList accept
listNamespacedService :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedService MimeNoContent V1ServiceList accept
listNamespacedService Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedService MimeNoContent V1ServiceList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services"]
KubernetesRequest
ListNamespacedService MimeNoContent V1ServiceList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedService MimeNoContent V1ServiceList 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 ListNamespacedService
instance HasOptionalParam ListNamespacedService Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedService AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService 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 ListNamespacedService Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedService FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedService LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedService Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService 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 ListNamespacedService ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedService TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService 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 ListNamespacedService Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedService contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedService contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedService contentType res accept
req KubernetesRequest ListNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedService 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 ListNamespacedService MimeJSON
instance Produces ListNamespacedService MimeJsonstreamwatch
instance Produces ListNamespacedService MimeVndKubernetesProtobuf
instance Produces ListNamespacedService MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedService MimeYaml
listNamespacedServiceAccount
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedServiceAccount MimeNoContent V1ServiceAccountList accept
listNamespacedServiceAccount :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedServiceAccount
MimeNoContent
V1ServiceAccountList
accept
listNamespacedServiceAccount Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedServiceAccount
MimeNoContent
V1ServiceAccountList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/serviceaccounts"]
KubernetesRequest
ListNamespacedServiceAccount
MimeNoContent
V1ServiceAccountList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedServiceAccount
MimeNoContent
V1ServiceAccountList
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 ListNamespacedServiceAccount
instance HasOptionalParam ListNamespacedServiceAccount Pretty where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> Pretty
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedServiceAccount AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount 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 ListNamespacedServiceAccount Continue where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> Continue
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedServiceAccount FieldSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> FieldSelector
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedServiceAccount LabelSelector where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> LabelSelector
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedServiceAccount Limit where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> Limit
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount 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 ListNamespacedServiceAccount ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedServiceAccount TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount 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 ListNamespacedServiceAccount Watch where
applyOptionalParam :: KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> Watch
-> KubernetesRequest
ListNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListNamespacedServiceAccount contentType res accept
req KubernetesRequest
ListNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListNamespacedServiceAccount 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 ListNamespacedServiceAccount MimeJSON
instance Produces ListNamespacedServiceAccount MimeJsonstreamwatch
instance Produces ListNamespacedServiceAccount MimeVndKubernetesProtobuf
instance Produces ListNamespacedServiceAccount MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedServiceAccount MimeYaml
listNode
:: Accept accept
-> KubernetesRequest ListNode MimeNoContent V1NodeList accept
listNode :: Accept accept
-> KubernetesRequest ListNode MimeNoContent V1NodeList accept
listNode Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest ListNode MimeNoContent V1NodeList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/nodes"]
KubernetesRequest ListNode MimeNoContent V1NodeList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ListNode MimeNoContent V1NodeList 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 ListNode
instance HasOptionalParam ListNode Pretty where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> Pretty -> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNode AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode 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 ListNode Continue where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> Continue -> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNode FieldSelector where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> FieldSelector
-> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNode LabelSelector where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> LabelSelector
-> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNode Limit where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> Limit -> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode 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 ListNode ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNode TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode 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 ListNode Watch where
applyOptionalParam :: KubernetesRequest ListNode contentType res accept
-> Watch -> KubernetesRequest ListNode contentType res accept
applyOptionalParam KubernetesRequest ListNode contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNode contentType res accept
req KubernetesRequest ListNode contentType res accept
-> [QueryItem] -> KubernetesRequest ListNode 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 ListNode MimeJSON
instance Produces ListNode MimeJsonstreamwatch
instance Produces ListNode MimeVndKubernetesProtobuf
instance Produces ListNode MimeVndKubernetesProtobufstreamwatch
instance Produces ListNode MimeYaml
listPersistentVolume
:: Accept accept
-> KubernetesRequest ListPersistentVolume MimeNoContent V1PersistentVolumeList accept
listPersistentVolume :: Accept accept
-> KubernetesRequest
ListPersistentVolume MimeNoContent V1PersistentVolumeList accept
listPersistentVolume Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListPersistentVolume MimeNoContent V1PersistentVolumeList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/persistentvolumes"]
KubernetesRequest
ListPersistentVolume MimeNoContent V1PersistentVolumeList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListPersistentVolume MimeNoContent V1PersistentVolumeList 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 ListPersistentVolume
instance HasOptionalParam ListPersistentVolume Pretty where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> Pretty
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolume AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume 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 ListPersistentVolume Continue where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> Continue
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolume FieldSelector where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> FieldSelector
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolume LabelSelector where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> LabelSelector
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolume Limit where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> Limit
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume 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 ListPersistentVolume ResourceVersion where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> ResourceVersion
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolume TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume 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 ListPersistentVolume Watch where
applyOptionalParam :: KubernetesRequest ListPersistentVolume contentType res accept
-> Watch
-> KubernetesRequest ListPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ListPersistentVolume contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListPersistentVolume contentType res accept
req KubernetesRequest ListPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPersistentVolume 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 ListPersistentVolume MimeJSON
instance Produces ListPersistentVolume MimeJsonstreamwatch
instance Produces ListPersistentVolume MimeVndKubernetesProtobuf
instance Produces ListPersistentVolume MimeVndKubernetesProtobufstreamwatch
instance Produces ListPersistentVolume MimeYaml
listPersistentVolumeClaimForAllNamespaces
:: Accept accept
-> KubernetesRequest ListPersistentVolumeClaimForAllNamespaces MimeNoContent V1PersistentVolumeClaimList accept
listPersistentVolumeClaimForAllNamespaces :: Accept accept
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces
MimeNoContent
V1PersistentVolumeClaimList
accept
listPersistentVolumeClaimForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces
MimeNoContent
V1PersistentVolumeClaimList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/persistentvolumeclaims"]
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces
MimeNoContent
V1PersistentVolumeClaimList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces
MimeNoContent
V1PersistentVolumeClaimList
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 ListPersistentVolumeClaimForAllNamespaces
instance HasOptionalParam ListPersistentVolumeClaimForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces 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 ListPersistentVolumeClaimForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolumeClaimForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolumeClaimForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolumeClaimForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces 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 ListPersistentVolumeClaimForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolumeClaimForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPersistentVolumeClaimForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces 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 ListPersistentVolumeClaimForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
req KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPersistentVolumeClaimForAllNamespaces 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 ListPersistentVolumeClaimForAllNamespaces MimeJSON
instance Produces ListPersistentVolumeClaimForAllNamespaces MimeJsonstreamwatch
instance Produces ListPersistentVolumeClaimForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListPersistentVolumeClaimForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListPersistentVolumeClaimForAllNamespaces MimeYaml
listPodForAllNamespaces
:: Accept accept
-> KubernetesRequest ListPodForAllNamespaces MimeNoContent V1PodList accept
listPodForAllNamespaces :: Accept accept
-> KubernetesRequest
ListPodForAllNamespaces MimeNoContent V1PodList accept
listPodForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListPodForAllNamespaces MimeNoContent V1PodList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/pods"]
KubernetesRequest
ListPodForAllNamespaces MimeNoContent V1PodList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListPodForAllNamespaces MimeNoContent V1PodList 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 ListPodForAllNamespaces
instance HasOptionalParam ListPodForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces 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 ListPodForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces 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 ListPodForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces 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 ListPodForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest ListPodForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest ListPodForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListPodForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListPodForAllNamespaces contentType res accept
req KubernetesRequest ListPodForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest ListPodForAllNamespaces 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 ListPodForAllNamespaces MimeJSON
instance Produces ListPodForAllNamespaces MimeJsonstreamwatch
instance Produces ListPodForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListPodForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListPodForAllNamespaces MimeYaml
listPodTemplateForAllNamespaces
:: Accept accept
-> KubernetesRequest ListPodTemplateForAllNamespaces MimeNoContent V1PodTemplateList accept
listPodTemplateForAllNamespaces :: Accept accept
-> KubernetesRequest
ListPodTemplateForAllNamespaces
MimeNoContent
V1PodTemplateList
accept
listPodTemplateForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListPodTemplateForAllNamespaces
MimeNoContent
V1PodTemplateList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/podtemplates"]
KubernetesRequest
ListPodTemplateForAllNamespaces
MimeNoContent
V1PodTemplateList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListPodTemplateForAllNamespaces
MimeNoContent
V1PodTemplateList
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 ListPodTemplateForAllNamespaces
instance HasOptionalParam ListPodTemplateForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces 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 ListPodTemplateForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodTemplateForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodTemplateForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodTemplateForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces 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 ListPodTemplateForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodTemplateForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListPodTemplateForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces 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 ListPodTemplateForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
req KubernetesRequest
ListPodTemplateForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListPodTemplateForAllNamespaces 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 ListPodTemplateForAllNamespaces MimeJSON
instance Produces ListPodTemplateForAllNamespaces MimeJsonstreamwatch
instance Produces ListPodTemplateForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListPodTemplateForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListPodTemplateForAllNamespaces MimeYaml
listReplicationControllerForAllNamespaces
:: Accept accept
-> KubernetesRequest ListReplicationControllerForAllNamespaces MimeNoContent V1ReplicationControllerList accept
listReplicationControllerForAllNamespaces :: Accept accept
-> KubernetesRequest
ListReplicationControllerForAllNamespaces
MimeNoContent
V1ReplicationControllerList
accept
listReplicationControllerForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces
MimeNoContent
V1ReplicationControllerList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/replicationcontrollers"]
KubernetesRequest
ListReplicationControllerForAllNamespaces
MimeNoContent
V1ReplicationControllerList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListReplicationControllerForAllNamespaces
MimeNoContent
V1ReplicationControllerList
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 ListReplicationControllerForAllNamespaces
instance HasOptionalParam ListReplicationControllerForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces 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 ListReplicationControllerForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListReplicationControllerForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListReplicationControllerForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListReplicationControllerForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces 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 ListReplicationControllerForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListReplicationControllerForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListReplicationControllerForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces 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 ListReplicationControllerForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
req KubernetesRequest
ListReplicationControllerForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListReplicationControllerForAllNamespaces 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 ListReplicationControllerForAllNamespaces MimeJSON
instance Produces ListReplicationControllerForAllNamespaces MimeJsonstreamwatch
instance Produces ListReplicationControllerForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListReplicationControllerForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListReplicationControllerForAllNamespaces MimeYaml
listResourceQuotaForAllNamespaces
:: Accept accept
-> KubernetesRequest ListResourceQuotaForAllNamespaces MimeNoContent V1ResourceQuotaList accept
listResourceQuotaForAllNamespaces :: Accept accept
-> KubernetesRequest
ListResourceQuotaForAllNamespaces
MimeNoContent
V1ResourceQuotaList
accept
listResourceQuotaForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces
MimeNoContent
V1ResourceQuotaList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/resourcequotas"]
KubernetesRequest
ListResourceQuotaForAllNamespaces
MimeNoContent
V1ResourceQuotaList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListResourceQuotaForAllNamespaces
MimeNoContent
V1ResourceQuotaList
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 ListResourceQuotaForAllNamespaces
instance HasOptionalParam ListResourceQuotaForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces 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 ListResourceQuotaForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListResourceQuotaForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListResourceQuotaForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListResourceQuotaForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces 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 ListResourceQuotaForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListResourceQuotaForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListResourceQuotaForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces 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 ListResourceQuotaForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
req KubernetesRequest
ListResourceQuotaForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListResourceQuotaForAllNamespaces 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 ListResourceQuotaForAllNamespaces MimeJSON
instance Produces ListResourceQuotaForAllNamespaces MimeJsonstreamwatch
instance Produces ListResourceQuotaForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListResourceQuotaForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListResourceQuotaForAllNamespaces MimeYaml
listSecretForAllNamespaces
:: Accept accept
-> KubernetesRequest ListSecretForAllNamespaces MimeNoContent V1SecretList accept
listSecretForAllNamespaces :: Accept accept
-> KubernetesRequest
ListSecretForAllNamespaces MimeNoContent V1SecretList accept
listSecretForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListSecretForAllNamespaces MimeNoContent V1SecretList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/secrets"]
KubernetesRequest
ListSecretForAllNamespaces MimeNoContent V1SecretList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListSecretForAllNamespaces MimeNoContent V1SecretList 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 ListSecretForAllNamespaces
instance HasOptionalParam ListSecretForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces 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 ListSecretForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListSecretForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListSecretForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListSecretForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces 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 ListSecretForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListSecretForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListSecretForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces 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 ListSecretForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListSecretForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest ListSecretForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListSecretForAllNamespaces contentType res accept
req KubernetesRequest ListSecretForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListSecretForAllNamespaces 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 ListSecretForAllNamespaces MimeJSON
instance Produces ListSecretForAllNamespaces MimeJsonstreamwatch
instance Produces ListSecretForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListSecretForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListSecretForAllNamespaces MimeYaml
listServiceAccountForAllNamespaces
:: Accept accept
-> KubernetesRequest ListServiceAccountForAllNamespaces MimeNoContent V1ServiceAccountList accept
listServiceAccountForAllNamespaces :: Accept accept
-> KubernetesRequest
ListServiceAccountForAllNamespaces
MimeNoContent
V1ServiceAccountList
accept
listServiceAccountForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListServiceAccountForAllNamespaces
MimeNoContent
V1ServiceAccountList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/serviceaccounts"]
KubernetesRequest
ListServiceAccountForAllNamespaces
MimeNoContent
V1ServiceAccountList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListServiceAccountForAllNamespaces
MimeNoContent
V1ServiceAccountList
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 ListServiceAccountForAllNamespaces
instance HasOptionalParam ListServiceAccountForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces 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 ListServiceAccountForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceAccountForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceAccountForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceAccountForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces 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 ListServiceAccountForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceAccountForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceAccountForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces 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 ListServiceAccountForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceAccountForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceAccountForAllNamespaces 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 ListServiceAccountForAllNamespaces MimeJSON
instance Produces ListServiceAccountForAllNamespaces MimeJsonstreamwatch
instance Produces ListServiceAccountForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListServiceAccountForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListServiceAccountForAllNamespaces MimeYaml
listServiceForAllNamespaces
:: Accept accept
-> KubernetesRequest ListServiceForAllNamespaces MimeNoContent V1ServiceList accept
listServiceForAllNamespaces :: Accept accept
-> KubernetesRequest
ListServiceForAllNamespaces MimeNoContent V1ServiceList accept
listServiceForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListServiceForAllNamespaces MimeNoContent V1ServiceList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/services"]
KubernetesRequest
ListServiceForAllNamespaces MimeNoContent V1ServiceList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListServiceForAllNamespaces MimeNoContent V1ServiceList 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 ListServiceForAllNamespaces
instance HasOptionalParam ListServiceForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces 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 ListServiceForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces 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 ListServiceForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListServiceForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces 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 ListServiceForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListServiceForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListServiceForAllNamespaces contentType res accept
req KubernetesRequest
ListServiceForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListServiceForAllNamespaces 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 ListServiceForAllNamespaces MimeJSON
instance Produces ListServiceForAllNamespaces MimeJsonstreamwatch
instance Produces ListServiceForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListServiceForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListServiceForAllNamespaces MimeYaml
patchNamespace
:: (Consumes PatchNamespace contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchNamespace contentType V1Namespace accept
patchNamespace :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchNamespace contentType V1Namespace accept
patchNamespace ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest PatchNamespace contentType V1Namespace accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest PatchNamespace contentType V1Namespace accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest PatchNamespace contentType V1Namespace 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 PatchNamespace contentType V1Namespace accept
-> Body
-> KubernetesRequest PatchNamespace contentType V1Namespace 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 PatchNamespace
instance HasBodyParam PatchNamespace Body
instance HasOptionalParam PatchNamespace Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespace contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespace contentType res accept
applyOptionalParam KubernetesRequest PatchNamespace contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespace contentType res accept
req KubernetesRequest PatchNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespace DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespace contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespace contentType res accept
applyOptionalParam KubernetesRequest PatchNamespace contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespace contentType res accept
req KubernetesRequest PatchNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespace FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespace contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespace contentType res accept
applyOptionalParam KubernetesRequest PatchNamespace contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespace contentType res accept
req KubernetesRequest PatchNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespace Force where
applyOptionalParam :: KubernetesRequest PatchNamespace contentType res accept
-> Force -> KubernetesRequest PatchNamespace contentType res accept
applyOptionalParam KubernetesRequest PatchNamespace contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespace contentType res accept
req KubernetesRequest PatchNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespace 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 PatchNamespace MimeApplyPatchyaml
instance Consumes PatchNamespace MimeJsonPatchjson
instance Consumes PatchNamespace MimeMergePatchjson
instance Consumes PatchNamespace MimeStrategicMergePatchjson
instance Produces PatchNamespace MimeJSON
instance Produces PatchNamespace MimeVndKubernetesProtobuf
instance Produces PatchNamespace MimeYaml
patchNamespaceStatus
:: (Consumes PatchNamespaceStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchNamespaceStatus contentType V1Namespace accept
patchNamespaceStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchNamespaceStatus contentType V1Namespace accept
patchNamespaceStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespaceStatus contentType V1Namespace accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchNamespaceStatus contentType V1Namespace accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespaceStatus contentType V1Namespace 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
PatchNamespaceStatus contentType V1Namespace accept
-> Body
-> KubernetesRequest
PatchNamespaceStatus contentType V1Namespace 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 PatchNamespaceStatus
instance HasBodyParam PatchNamespaceStatus Body
instance HasOptionalParam PatchNamespaceStatus Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespaceStatus contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespaceStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNamespaceStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespaceStatus contentType res accept
req KubernetesRequest PatchNamespaceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespaceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespaceStatus DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespaceStatus contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespaceStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNamespaceStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespaceStatus contentType res accept
req KubernetesRequest PatchNamespaceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespaceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespaceStatus FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespaceStatus contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespaceStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNamespaceStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespaceStatus contentType res accept
req KubernetesRequest PatchNamespaceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespaceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespaceStatus Force where
applyOptionalParam :: KubernetesRequest PatchNamespaceStatus contentType res accept
-> Force
-> KubernetesRequest PatchNamespaceStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNamespaceStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespaceStatus contentType res accept
req KubernetesRequest PatchNamespaceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespaceStatus 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 PatchNamespaceStatus MimeApplyPatchyaml
instance Consumes PatchNamespaceStatus MimeJsonPatchjson
instance Consumes PatchNamespaceStatus MimeMergePatchjson
instance Consumes PatchNamespaceStatus MimeStrategicMergePatchjson
instance Produces PatchNamespaceStatus MimeJSON
instance Produces PatchNamespaceStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespaceStatus MimeYaml
patchNamespacedConfigMap
:: (Consumes PatchNamespacedConfigMap contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedConfigMap contentType V1ConfigMap accept
patchNamespacedConfigMap :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedConfigMap contentType V1ConfigMap accept
patchNamespacedConfigMap ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedConfigMap contentType V1ConfigMap accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/configmaps/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedConfigMap contentType V1ConfigMap accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedConfigMap contentType V1ConfigMap 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
PatchNamespacedConfigMap contentType V1ConfigMap accept
-> Body
-> KubernetesRequest
PatchNamespacedConfigMap contentType V1ConfigMap 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 PatchNamespacedConfigMap
instance HasBodyParam PatchNamespacedConfigMap Body
instance HasOptionalParam PatchNamespacedConfigMap Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedConfigMap contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedConfigMap contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedConfigMap contentType res accept
req KubernetesRequest PatchNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedConfigMap DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedConfigMap contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedConfigMap contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedConfigMap contentType res accept
req KubernetesRequest PatchNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedConfigMap FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedConfigMap contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedConfigMap contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedConfigMap contentType res accept
req KubernetesRequest PatchNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedConfigMap Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedConfigMap contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedConfigMap contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedConfigMap contentType res accept
req KubernetesRequest PatchNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedConfigMap 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 PatchNamespacedConfigMap MimeApplyPatchyaml
instance Consumes PatchNamespacedConfigMap MimeJsonPatchjson
instance Consumes PatchNamespacedConfigMap MimeMergePatchjson
instance Consumes PatchNamespacedConfigMap MimeStrategicMergePatchjson
instance Produces PatchNamespacedConfigMap MimeJSON
instance Produces PatchNamespacedConfigMap MimeVndKubernetesProtobuf
instance Produces PatchNamespacedConfigMap MimeYaml
patchNamespacedEndpoints
:: (Consumes PatchNamespacedEndpoints contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedEndpoints contentType V1Endpoints accept
patchNamespacedEndpoints :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedEndpoints contentType V1Endpoints accept
patchNamespacedEndpoints ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedEndpoints contentType V1Endpoints accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/endpoints/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedEndpoints contentType V1Endpoints accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedEndpoints contentType V1Endpoints 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
PatchNamespacedEndpoints contentType V1Endpoints accept
-> Body
-> KubernetesRequest
PatchNamespacedEndpoints contentType V1Endpoints 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 PatchNamespacedEndpoints
instance HasBodyParam PatchNamespacedEndpoints Body
instance HasOptionalParam PatchNamespacedEndpoints Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedEndpoints contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedEndpoints contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedEndpoints contentType res accept
req KubernetesRequest PatchNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedEndpoints DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedEndpoints contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedEndpoints contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedEndpoints contentType res accept
req KubernetesRequest PatchNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedEndpoints FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedEndpoints contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedEndpoints contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedEndpoints contentType res accept
req KubernetesRequest PatchNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedEndpoints Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedEndpoints contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedEndpoints contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedEndpoints contentType res accept
req KubernetesRequest PatchNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedEndpoints 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 PatchNamespacedEndpoints MimeApplyPatchyaml
instance Consumes PatchNamespacedEndpoints MimeJsonPatchjson
instance Consumes PatchNamespacedEndpoints MimeMergePatchjson
instance Consumes PatchNamespacedEndpoints MimeStrategicMergePatchjson
instance Produces PatchNamespacedEndpoints MimeJSON
instance Produces PatchNamespacedEndpoints MimeVndKubernetesProtobuf
instance Produces PatchNamespacedEndpoints MimeYaml
patchNamespacedEvent
:: (Consumes PatchNamespacedEvent contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedEvent contentType V1Event accept
patchNamespacedEvent :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedEvent contentType V1Event accept
patchNamespacedEvent ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedEvent contentType V1Event accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/events/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest PatchNamespacedEvent contentType V1Event accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedEvent contentType V1Event 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 PatchNamespacedEvent contentType V1Event accept
-> Body
-> KubernetesRequest
PatchNamespacedEvent contentType V1Event 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 PatchNamespacedEvent
instance HasBodyParam PatchNamespacedEvent Body
instance HasOptionalParam PatchNamespacedEvent Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedEvent contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedEvent contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedEvent contentType res accept
req KubernetesRequest PatchNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedEvent DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedEvent contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedEvent contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedEvent contentType res accept
req KubernetesRequest PatchNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedEvent FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedEvent contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedEvent contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedEvent contentType res accept
req KubernetesRequest PatchNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedEvent Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedEvent contentType res accept
-> Force
-> KubernetesRequest PatchNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedEvent contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedEvent contentType res accept
req KubernetesRequest PatchNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedEvent 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 PatchNamespacedEvent MimeApplyPatchyaml
instance Consumes PatchNamespacedEvent MimeJsonPatchjson
instance Consumes PatchNamespacedEvent MimeMergePatchjson
instance Consumes PatchNamespacedEvent MimeStrategicMergePatchjson
instance Produces PatchNamespacedEvent MimeJSON
instance Produces PatchNamespacedEvent MimeVndKubernetesProtobuf
instance Produces PatchNamespacedEvent MimeYaml
patchNamespacedLimitRange
:: (Consumes PatchNamespacedLimitRange contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedLimitRange contentType V1LimitRange accept
patchNamespacedLimitRange :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedLimitRange contentType V1LimitRange accept
patchNamespacedLimitRange ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedLimitRange contentType V1LimitRange accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/limitranges/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedLimitRange contentType V1LimitRange accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedLimitRange contentType V1LimitRange 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
PatchNamespacedLimitRange contentType V1LimitRange accept
-> Body
-> KubernetesRequest
PatchNamespacedLimitRange contentType V1LimitRange 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 PatchNamespacedLimitRange
instance HasBodyParam PatchNamespacedLimitRange Body
instance HasOptionalParam PatchNamespacedLimitRange Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedLimitRange contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedLimitRange contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedLimitRange contentType res accept
req KubernetesRequest PatchNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedLimitRange DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedLimitRange contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedLimitRange contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedLimitRange contentType res accept
req KubernetesRequest PatchNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedLimitRange FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedLimitRange contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedLimitRange contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedLimitRange contentType res accept
req KubernetesRequest PatchNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedLimitRange Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedLimitRange contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedLimitRange contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedLimitRange contentType res accept
req KubernetesRequest PatchNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedLimitRange 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 PatchNamespacedLimitRange MimeApplyPatchyaml
instance Consumes PatchNamespacedLimitRange MimeJsonPatchjson
instance Consumes PatchNamespacedLimitRange MimeMergePatchjson
instance Consumes PatchNamespacedLimitRange MimeStrategicMergePatchjson
instance Produces PatchNamespacedLimitRange MimeJSON
instance Produces PatchNamespacedLimitRange MimeVndKubernetesProtobuf
instance Produces PatchNamespacedLimitRange MimeYaml
patchNamespacedPersistentVolumeClaim
:: (Consumes PatchNamespacedPersistentVolumeClaim contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedPersistentVolumeClaim contentType V1PersistentVolumeClaim accept
patchNamespacedPersistentVolumeClaim :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
patchNamespacedPersistentVolumeClaim ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
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
PatchNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
-> Body
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
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 PatchNamespacedPersistentVolumeClaim
instance HasBodyParam PatchNamespacedPersistentVolumeClaim Body
instance HasOptionalParam PatchNamespacedPersistentVolumeClaim Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPersistentVolumeClaim DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPersistentVolumeClaim FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPersistentVolumeClaim Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
PatchNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaim 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 PatchNamespacedPersistentVolumeClaim MimeApplyPatchyaml
instance Consumes PatchNamespacedPersistentVolumeClaim MimeJsonPatchjson
instance Consumes PatchNamespacedPersistentVolumeClaim MimeMergePatchjson
instance Consumes PatchNamespacedPersistentVolumeClaim MimeStrategicMergePatchjson
instance Produces PatchNamespacedPersistentVolumeClaim MimeJSON
instance Produces PatchNamespacedPersistentVolumeClaim MimeVndKubernetesProtobuf
instance Produces PatchNamespacedPersistentVolumeClaim MimeYaml
patchNamespacedPersistentVolumeClaimStatus
:: (Consumes PatchNamespacedPersistentVolumeClaimStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedPersistentVolumeClaimStatus contentType V1PersistentVolumeClaim accept
patchNamespacedPersistentVolumeClaimStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
accept
patchNamespacedPersistentVolumeClaimStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
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
PatchNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
accept
-> Body
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
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 PatchNamespacedPersistentVolumeClaimStatus
instance HasBodyParam PatchNamespacedPersistentVolumeClaimStatus Body
instance HasOptionalParam PatchNamespacedPersistentVolumeClaimStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
req KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPersistentVolumeClaimStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
req KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPersistentVolumeClaimStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
req KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPersistentVolumeClaimStatus Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
req KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPersistentVolumeClaimStatus 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 PatchNamespacedPersistentVolumeClaimStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedPersistentVolumeClaimStatus MimeJsonPatchjson
instance Consumes PatchNamespacedPersistentVolumeClaimStatus MimeMergePatchjson
instance Consumes PatchNamespacedPersistentVolumeClaimStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedPersistentVolumeClaimStatus MimeJSON
instance Produces PatchNamespacedPersistentVolumeClaimStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedPersistentVolumeClaimStatus MimeYaml
patchNamespacedPod
:: (Consumes PatchNamespacedPod contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedPod contentType V1Pod accept
patchNamespacedPod :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedPod contentType V1Pod accept
patchNamespacedPod ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest PatchNamespacedPod contentType V1Pod accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest PatchNamespacedPod contentType V1Pod accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest PatchNamespacedPod contentType V1Pod 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 PatchNamespacedPod contentType V1Pod accept
-> Body
-> KubernetesRequest PatchNamespacedPod contentType V1Pod 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 PatchNamespacedPod
instance HasBodyParam PatchNamespacedPod Body
instance HasOptionalParam PatchNamespacedPod Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedPod contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPod contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedPod contentType res accept
req KubernetesRequest PatchNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPod DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedPod contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPod contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedPod contentType res accept
req KubernetesRequest PatchNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPod FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedPod contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPod contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedPod contentType res accept
req KubernetesRequest PatchNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPod Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedPod contentType res accept
-> Force
-> KubernetesRequest PatchNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPod contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedPod contentType res accept
req KubernetesRequest PatchNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedPod 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 PatchNamespacedPod MimeApplyPatchyaml
instance Consumes PatchNamespacedPod MimeJsonPatchjson
instance Consumes PatchNamespacedPod MimeMergePatchjson
instance Consumes PatchNamespacedPod MimeStrategicMergePatchjson
instance Produces PatchNamespacedPod MimeJSON
instance Produces PatchNamespacedPod MimeVndKubernetesProtobuf
instance Produces PatchNamespacedPod MimeYaml
patchNamespacedPodStatus
:: (Consumes PatchNamespacedPodStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedPodStatus contentType V1Pod accept
patchNamespacedPodStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedPodStatus contentType V1Pod accept
patchNamespacedPodStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedPodStatus contentType V1Pod accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest PatchNamespacedPodStatus contentType V1Pod accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedPodStatus contentType V1Pod 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 PatchNamespacedPodStatus contentType V1Pod accept
-> Body
-> KubernetesRequest
PatchNamespacedPodStatus contentType V1Pod 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 PatchNamespacedPodStatus
instance HasBodyParam PatchNamespacedPodStatus Body
instance HasOptionalParam PatchNamespacedPodStatus Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedPodStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedPodStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPodStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedPodStatus contentType res accept
req KubernetesRequest PatchNamespacedPodStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodStatus DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedPodStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedPodStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPodStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedPodStatus contentType res accept
req KubernetesRequest PatchNamespacedPodStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodStatus FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedPodStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedPodStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPodStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedPodStatus contentType res accept
req KubernetesRequest PatchNamespacedPodStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodStatus Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedPodStatus contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedPodStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPodStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedPodStatus contentType res accept
req KubernetesRequest PatchNamespacedPodStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodStatus 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 PatchNamespacedPodStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedPodStatus MimeJsonPatchjson
instance Consumes PatchNamespacedPodStatus MimeMergePatchjson
instance Consumes PatchNamespacedPodStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedPodStatus MimeJSON
instance Produces PatchNamespacedPodStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedPodStatus MimeYaml
patchNamespacedPodTemplate
:: (Consumes PatchNamespacedPodTemplate contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedPodTemplate contentType V1PodTemplate accept
patchNamespacedPodTemplate :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedPodTemplate contentType V1PodTemplate accept
patchNamespacedPodTemplate ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedPodTemplate contentType V1PodTemplate accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/podtemplates/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedPodTemplate contentType V1PodTemplate accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedPodTemplate contentType V1PodTemplate 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
PatchNamespacedPodTemplate contentType V1PodTemplate accept
-> Body
-> KubernetesRequest
PatchNamespacedPodTemplate contentType V1PodTemplate 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 PatchNamespacedPodTemplate
instance HasBodyParam PatchNamespacedPodTemplate Body
instance HasOptionalParam PatchNamespacedPodTemplate Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedPodTemplate contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPodTemplate contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedPodTemplate contentType res accept
req KubernetesRequest PatchNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodTemplate DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedPodTemplate contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPodTemplate contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedPodTemplate contentType res accept
req KubernetesRequest PatchNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodTemplate FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedPodTemplate contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPodTemplate contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedPodTemplate contentType res accept
req KubernetesRequest PatchNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedPodTemplate Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedPodTemplate contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedPodTemplate contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedPodTemplate contentType res accept
req KubernetesRequest PatchNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedPodTemplate 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 PatchNamespacedPodTemplate MimeApplyPatchyaml
instance Consumes PatchNamespacedPodTemplate MimeJsonPatchjson
instance Consumes PatchNamespacedPodTemplate MimeMergePatchjson
instance Consumes PatchNamespacedPodTemplate MimeStrategicMergePatchjson
instance Produces PatchNamespacedPodTemplate MimeJSON
instance Produces PatchNamespacedPodTemplate MimeVndKubernetesProtobuf
instance Produces PatchNamespacedPodTemplate MimeYaml
patchNamespacedReplicationController
:: (Consumes PatchNamespacedReplicationController contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedReplicationController contentType V1ReplicationController accept
patchNamespacedReplicationController :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedReplicationController
contentType
V1ReplicationController
accept
patchNamespacedReplicationController ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedReplicationController
contentType
V1ReplicationController
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedReplicationController
contentType
V1ReplicationController
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedReplicationController
contentType
V1ReplicationController
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
PatchNamespacedReplicationController
contentType
V1ReplicationController
accept
-> Body
-> KubernetesRequest
PatchNamespacedReplicationController
contentType
V1ReplicationController
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 PatchNamespacedReplicationController
instance HasBodyParam PatchNamespacedReplicationController Body
instance HasOptionalParam PatchNamespacedReplicationController Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationController contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationController contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedReplicationController contentType res accept
req KubernetesRequest
PatchNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationController DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationController contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationController contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedReplicationController contentType res accept
req KubernetesRequest
PatchNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationController FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationController contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationController contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedReplicationController contentType res accept
req KubernetesRequest
PatchNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationController Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationController contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationController contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedReplicationController contentType res accept
req KubernetesRequest
PatchNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationController 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 PatchNamespacedReplicationController MimeApplyPatchyaml
instance Consumes PatchNamespacedReplicationController MimeJsonPatchjson
instance Consumes PatchNamespacedReplicationController MimeMergePatchjson
instance Consumes PatchNamespacedReplicationController MimeStrategicMergePatchjson
instance Produces PatchNamespacedReplicationController MimeJSON
instance Produces PatchNamespacedReplicationController MimeVndKubernetesProtobuf
instance Produces PatchNamespacedReplicationController MimeYaml
patchNamespacedReplicationControllerScale
:: (Consumes PatchNamespacedReplicationControllerScale contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedReplicationControllerScale contentType V1Scale accept
patchNamespacedReplicationControllerScale :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedReplicationControllerScale
contentType
V1Scale
accept
patchNamespacedReplicationControllerScale ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedReplicationControllerScale
contentType
V1Scale
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
KubernetesRequest
PatchNamespacedReplicationControllerScale
contentType
V1Scale
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedReplicationControllerScale
contentType
V1Scale
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
PatchNamespacedReplicationControllerScale
contentType
V1Scale
accept
-> Body
-> KubernetesRequest
PatchNamespacedReplicationControllerScale
contentType
V1Scale
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 PatchNamespacedReplicationControllerScale
instance HasBodyParam PatchNamespacedReplicationControllerScale Body
instance HasOptionalParam PatchNamespacedReplicationControllerScale Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
req KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationControllerScale DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
req KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationControllerScale FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
req KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationControllerScale Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
req KubernetesRequest
PatchNamespacedReplicationControllerScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationControllerScale 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 PatchNamespacedReplicationControllerScale MimeApplyPatchyaml
instance Consumes PatchNamespacedReplicationControllerScale MimeJsonPatchjson
instance Consumes PatchNamespacedReplicationControllerScale MimeMergePatchjson
instance Consumes PatchNamespacedReplicationControllerScale MimeStrategicMergePatchjson
instance Produces PatchNamespacedReplicationControllerScale MimeJSON
instance Produces PatchNamespacedReplicationControllerScale MimeVndKubernetesProtobuf
instance Produces PatchNamespacedReplicationControllerScale MimeYaml
patchNamespacedReplicationControllerStatus
:: (Consumes PatchNamespacedReplicationControllerStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedReplicationControllerStatus contentType V1ReplicationController accept
patchNamespacedReplicationControllerStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus
contentType
V1ReplicationController
accept
patchNamespacedReplicationControllerStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus
contentType
V1ReplicationController
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchNamespacedReplicationControllerStatus
contentType
V1ReplicationController
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus
contentType
V1ReplicationController
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
PatchNamespacedReplicationControllerStatus
contentType
V1ReplicationController
accept
-> Body
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus
contentType
V1ReplicationController
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 PatchNamespacedReplicationControllerStatus
instance HasBodyParam PatchNamespacedReplicationControllerStatus Body
instance HasOptionalParam PatchNamespacedReplicationControllerStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
req KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationControllerStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
req KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationControllerStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
req KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedReplicationControllerStatus Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
req KubernetesRequest
PatchNamespacedReplicationControllerStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedReplicationControllerStatus 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 PatchNamespacedReplicationControllerStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedReplicationControllerStatus MimeJsonPatchjson
instance Consumes PatchNamespacedReplicationControllerStatus MimeMergePatchjson
instance Consumes PatchNamespacedReplicationControllerStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedReplicationControllerStatus MimeJSON
instance Produces PatchNamespacedReplicationControllerStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedReplicationControllerStatus MimeYaml
patchNamespacedResourceQuota
:: (Consumes PatchNamespacedResourceQuota contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedResourceQuota contentType V1ResourceQuota accept
patchNamespacedResourceQuota :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedResourceQuota contentType V1ResourceQuota accept
patchNamespacedResourceQuota ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedResourceQuota contentType V1ResourceQuota accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedResourceQuota contentType V1ResourceQuota accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedResourceQuota contentType V1ResourceQuota 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
PatchNamespacedResourceQuota contentType V1ResourceQuota accept
-> Body
-> KubernetesRequest
PatchNamespacedResourceQuota contentType V1ResourceQuota 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 PatchNamespacedResourceQuota
instance HasBodyParam PatchNamespacedResourceQuota Body
instance HasOptionalParam PatchNamespacedResourceQuota Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
req KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedResourceQuota DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
req KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedResourceQuota FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
req KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedResourceQuota Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
req KubernetesRequest
PatchNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedResourceQuota 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 PatchNamespacedResourceQuota MimeApplyPatchyaml
instance Consumes PatchNamespacedResourceQuota MimeJsonPatchjson
instance Consumes PatchNamespacedResourceQuota MimeMergePatchjson
instance Consumes PatchNamespacedResourceQuota MimeStrategicMergePatchjson
instance Produces PatchNamespacedResourceQuota MimeJSON
instance Produces PatchNamespacedResourceQuota MimeVndKubernetesProtobuf
instance Produces PatchNamespacedResourceQuota MimeYaml
patchNamespacedResourceQuotaStatus
:: (Consumes PatchNamespacedResourceQuotaStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedResourceQuotaStatus contentType V1ResourceQuota accept
patchNamespacedResourceQuotaStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
accept
patchNamespacedResourceQuotaStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
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
PatchNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
accept
-> Body
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
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 PatchNamespacedResourceQuotaStatus
instance HasBodyParam PatchNamespacedResourceQuotaStatus Body
instance HasOptionalParam PatchNamespacedResourceQuotaStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
req KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedResourceQuotaStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
req KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedResourceQuotaStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
req KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedResourceQuotaStatus Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
req KubernetesRequest
PatchNamespacedResourceQuotaStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedResourceQuotaStatus 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 PatchNamespacedResourceQuotaStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedResourceQuotaStatus MimeJsonPatchjson
instance Consumes PatchNamespacedResourceQuotaStatus MimeMergePatchjson
instance Consumes PatchNamespacedResourceQuotaStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedResourceQuotaStatus MimeJSON
instance Produces PatchNamespacedResourceQuotaStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedResourceQuotaStatus MimeYaml
patchNamespacedSecret
:: (Consumes PatchNamespacedSecret contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedSecret contentType V1Secret accept
patchNamespacedSecret :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedSecret contentType V1Secret accept
patchNamespacedSecret ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedSecret contentType V1Secret accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/secrets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest PatchNamespacedSecret contentType V1Secret accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedSecret contentType V1Secret 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 PatchNamespacedSecret contentType V1Secret accept
-> Body
-> KubernetesRequest
PatchNamespacedSecret contentType V1Secret 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 PatchNamespacedSecret
instance HasBodyParam PatchNamespacedSecret Body
instance HasOptionalParam PatchNamespacedSecret Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedSecret contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedSecret contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedSecret contentType res accept
req KubernetesRequest PatchNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedSecret DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedSecret contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedSecret contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedSecret contentType res accept
req KubernetesRequest PatchNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedSecret FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedSecret contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedSecret contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedSecret contentType res accept
req KubernetesRequest PatchNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedSecret Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedSecret contentType res accept
-> Force
-> KubernetesRequest PatchNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedSecret contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedSecret contentType res accept
req KubernetesRequest PatchNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedSecret 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 PatchNamespacedSecret MimeApplyPatchyaml
instance Consumes PatchNamespacedSecret MimeJsonPatchjson
instance Consumes PatchNamespacedSecret MimeMergePatchjson
instance Consumes PatchNamespacedSecret MimeStrategicMergePatchjson
instance Produces PatchNamespacedSecret MimeJSON
instance Produces PatchNamespacedSecret MimeVndKubernetesProtobuf
instance Produces PatchNamespacedSecret MimeYaml
patchNamespacedService
:: (Consumes PatchNamespacedService contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedService contentType V1Service accept
patchNamespacedService :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedService contentType V1Service accept
patchNamespacedService ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedService contentType V1Service accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedService contentType V1Service accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedService contentType V1Service 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
PatchNamespacedService contentType V1Service accept
-> Body
-> KubernetesRequest
PatchNamespacedService contentType V1Service 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 PatchNamespacedService
instance HasBodyParam PatchNamespacedService Body
instance HasOptionalParam PatchNamespacedService Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedService contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespacedService contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedService contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedService contentType res accept
req KubernetesRequest PatchNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedService DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedService contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespacedService contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedService contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedService contentType res accept
req KubernetesRequest PatchNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedService FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedService contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespacedService contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedService contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedService contentType res accept
req KubernetesRequest PatchNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedService Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedService contentType res accept
-> Force
-> KubernetesRequest PatchNamespacedService contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedService contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedService contentType res accept
req KubernetesRequest PatchNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedService 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 PatchNamespacedService MimeApplyPatchyaml
instance Consumes PatchNamespacedService MimeJsonPatchjson
instance Consumes PatchNamespacedService MimeMergePatchjson
instance Consumes PatchNamespacedService MimeStrategicMergePatchjson
instance Produces PatchNamespacedService MimeJSON
instance Produces PatchNamespacedService MimeVndKubernetesProtobuf
instance Produces PatchNamespacedService MimeYaml
patchNamespacedServiceAccount
:: (Consumes PatchNamespacedServiceAccount contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedServiceAccount contentType V1ServiceAccount accept
patchNamespacedServiceAccount :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedServiceAccount contentType V1ServiceAccount accept
patchNamespacedServiceAccount ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedServiceAccount contentType V1ServiceAccount accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/serviceaccounts/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedServiceAccount contentType V1ServiceAccount accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedServiceAccount contentType V1ServiceAccount 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
PatchNamespacedServiceAccount contentType V1ServiceAccount accept
-> Body
-> KubernetesRequest
PatchNamespacedServiceAccount contentType V1ServiceAccount 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 PatchNamespacedServiceAccount
instance HasBodyParam PatchNamespacedServiceAccount Body
instance HasOptionalParam PatchNamespacedServiceAccount Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
req KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedServiceAccount DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
req KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedServiceAccount FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
req KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedServiceAccount Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
req KubernetesRequest
PatchNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedServiceAccount 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 PatchNamespacedServiceAccount MimeApplyPatchyaml
instance Consumes PatchNamespacedServiceAccount MimeJsonPatchjson
instance Consumes PatchNamespacedServiceAccount MimeMergePatchjson
instance Consumes PatchNamespacedServiceAccount MimeStrategicMergePatchjson
instance Produces PatchNamespacedServiceAccount MimeJSON
instance Produces PatchNamespacedServiceAccount MimeVndKubernetesProtobuf
instance Produces PatchNamespacedServiceAccount MimeYaml
patchNamespacedServiceStatus
:: (Consumes PatchNamespacedServiceStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedServiceStatus contentType V1Service accept
patchNamespacedServiceStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedServiceStatus contentType V1Service accept
patchNamespacedServiceStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedServiceStatus contentType V1Service accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchNamespacedServiceStatus contentType V1Service accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedServiceStatus contentType V1Service 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
PatchNamespacedServiceStatus contentType V1Service accept
-> Body
-> KubernetesRequest
PatchNamespacedServiceStatus contentType V1Service 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 PatchNamespacedServiceStatus
instance HasBodyParam PatchNamespacedServiceStatus Body
instance HasOptionalParam PatchNamespacedServiceStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
req KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedServiceStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
req KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedServiceStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
req KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedServiceStatus Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
req KubernetesRequest
PatchNamespacedServiceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedServiceStatus 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 PatchNamespacedServiceStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedServiceStatus MimeJsonPatchjson
instance Consumes PatchNamespacedServiceStatus MimeMergePatchjson
instance Consumes PatchNamespacedServiceStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedServiceStatus MimeJSON
instance Produces PatchNamespacedServiceStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedServiceStatus MimeYaml
patchNode
:: (Consumes PatchNode contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchNode contentType V1Node accept
patchNode :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchNode contentType V1Node accept
patchNode ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest PatchNode contentType V1Node accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest PatchNode contentType V1Node accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest PatchNode contentType V1Node 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 PatchNode contentType V1Node accept
-> Body -> KubernetesRequest PatchNode contentType V1Node 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 PatchNode
instance HasBodyParam PatchNode Body
instance HasOptionalParam PatchNode Pretty where
applyOptionalParam :: KubernetesRequest PatchNode contentType res accept
-> Pretty -> KubernetesRequest PatchNode contentType res accept
applyOptionalParam KubernetesRequest PatchNode contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNode contentType res accept
req KubernetesRequest PatchNode contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNode DryRun where
applyOptionalParam :: KubernetesRequest PatchNode contentType res accept
-> DryRun -> KubernetesRequest PatchNode contentType res accept
applyOptionalParam KubernetesRequest PatchNode contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNode contentType res accept
req KubernetesRequest PatchNode contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNode FieldManager where
applyOptionalParam :: KubernetesRequest PatchNode contentType res accept
-> FieldManager
-> KubernetesRequest PatchNode contentType res accept
applyOptionalParam KubernetesRequest PatchNode contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNode contentType res accept
req KubernetesRequest PatchNode contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNode Force where
applyOptionalParam :: KubernetesRequest PatchNode contentType res accept
-> Force -> KubernetesRequest PatchNode contentType res accept
applyOptionalParam KubernetesRequest PatchNode contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNode contentType res accept
req KubernetesRequest PatchNode contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNode 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 PatchNode MimeApplyPatchyaml
instance Consumes PatchNode MimeJsonPatchjson
instance Consumes PatchNode MimeMergePatchjson
instance Consumes PatchNode MimeStrategicMergePatchjson
instance Produces PatchNode MimeJSON
instance Produces PatchNode MimeVndKubernetesProtobuf
instance Produces PatchNode MimeYaml
patchNodeStatus
:: (Consumes PatchNodeStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchNodeStatus contentType V1Node accept
patchNodeStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchNodeStatus contentType V1Node accept
patchNodeStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest PatchNodeStatus contentType V1Node accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest PatchNodeStatus contentType V1Node accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest PatchNodeStatus contentType V1Node 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 PatchNodeStatus contentType V1Node accept
-> Body
-> KubernetesRequest PatchNodeStatus contentType V1Node 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 PatchNodeStatus
instance HasBodyParam PatchNodeStatus Body
instance HasOptionalParam PatchNodeStatus Pretty where
applyOptionalParam :: KubernetesRequest PatchNodeStatus contentType res accept
-> Pretty
-> KubernetesRequest PatchNodeStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNodeStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNodeStatus contentType res accept
req KubernetesRequest PatchNodeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNodeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNodeStatus DryRun where
applyOptionalParam :: KubernetesRequest PatchNodeStatus contentType res accept
-> DryRun
-> KubernetesRequest PatchNodeStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNodeStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNodeStatus contentType res accept
req KubernetesRequest PatchNodeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNodeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNodeStatus FieldManager where
applyOptionalParam :: KubernetesRequest PatchNodeStatus contentType res accept
-> FieldManager
-> KubernetesRequest PatchNodeStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNodeStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNodeStatus contentType res accept
req KubernetesRequest PatchNodeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNodeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNodeStatus Force where
applyOptionalParam :: KubernetesRequest PatchNodeStatus contentType res accept
-> Force
-> KubernetesRequest PatchNodeStatus contentType res accept
applyOptionalParam KubernetesRequest PatchNodeStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNodeStatus contentType res accept
req KubernetesRequest PatchNodeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNodeStatus 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 PatchNodeStatus MimeApplyPatchyaml
instance Consumes PatchNodeStatus MimeJsonPatchjson
instance Consumes PatchNodeStatus MimeMergePatchjson
instance Consumes PatchNodeStatus MimeStrategicMergePatchjson
instance Produces PatchNodeStatus MimeJSON
instance Produces PatchNodeStatus MimeVndKubernetesProtobuf
instance Produces PatchNodeStatus MimeYaml
patchPersistentVolume
:: (Consumes PatchPersistentVolume contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchPersistentVolume contentType V1PersistentVolume accept
patchPersistentVolume :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchPersistentVolume contentType V1PersistentVolume accept
patchPersistentVolume ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchPersistentVolume contentType V1PersistentVolume accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/persistentvolumes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchPersistentVolume contentType V1PersistentVolume accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchPersistentVolume contentType V1PersistentVolume 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
PatchPersistentVolume contentType V1PersistentVolume accept
-> Body
-> KubernetesRequest
PatchPersistentVolume contentType V1PersistentVolume 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 PatchPersistentVolume
instance HasBodyParam PatchPersistentVolume Body
instance HasOptionalParam PatchPersistentVolume Pretty where
applyOptionalParam :: KubernetesRequest PatchPersistentVolume contentType res accept
-> Pretty
-> KubernetesRequest PatchPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest PatchPersistentVolume contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchPersistentVolume contentType res accept
req KubernetesRequest PatchPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchPersistentVolume DryRun where
applyOptionalParam :: KubernetesRequest PatchPersistentVolume contentType res accept
-> DryRun
-> KubernetesRequest PatchPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest PatchPersistentVolume contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchPersistentVolume contentType res accept
req KubernetesRequest PatchPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchPersistentVolume FieldManager where
applyOptionalParam :: KubernetesRequest PatchPersistentVolume contentType res accept
-> FieldManager
-> KubernetesRequest PatchPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest PatchPersistentVolume contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchPersistentVolume contentType res accept
req KubernetesRequest PatchPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchPersistentVolume Force where
applyOptionalParam :: KubernetesRequest PatchPersistentVolume contentType res accept
-> Force
-> KubernetesRequest PatchPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest PatchPersistentVolume contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchPersistentVolume contentType res accept
req KubernetesRequest PatchPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchPersistentVolume 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 PatchPersistentVolume MimeApplyPatchyaml
instance Consumes PatchPersistentVolume MimeJsonPatchjson
instance Consumes PatchPersistentVolume MimeMergePatchjson
instance Consumes PatchPersistentVolume MimeStrategicMergePatchjson
instance Produces PatchPersistentVolume MimeJSON
instance Produces PatchPersistentVolume MimeVndKubernetesProtobuf
instance Produces PatchPersistentVolume MimeYaml
patchPersistentVolumeStatus
:: (Consumes PatchPersistentVolumeStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest PatchPersistentVolumeStatus contentType V1PersistentVolume accept
patchPersistentVolumeStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> KubernetesRequest
PatchPersistentVolumeStatus contentType V1PersistentVolume accept
patchPersistentVolumeStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
PatchPersistentVolumeStatus contentType V1PersistentVolume accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/api/v1/persistentvolumes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchPersistentVolumeStatus contentType V1PersistentVolume accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchPersistentVolumeStatus contentType V1PersistentVolume 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
PatchPersistentVolumeStatus contentType V1PersistentVolume accept
-> Body
-> KubernetesRequest
PatchPersistentVolumeStatus contentType V1PersistentVolume 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 PatchPersistentVolumeStatus
instance HasBodyParam PatchPersistentVolumeStatus Body
instance HasOptionalParam PatchPersistentVolumeStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
req KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchPersistentVolumeStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
req KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchPersistentVolumeStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
req KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchPersistentVolumeStatus Force where
applyOptionalParam :: KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
-> Force
-> KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
req KubernetesRequest
PatchPersistentVolumeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchPersistentVolumeStatus 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 PatchPersistentVolumeStatus MimeApplyPatchyaml
instance Consumes PatchPersistentVolumeStatus MimeJsonPatchjson
instance Consumes PatchPersistentVolumeStatus MimeMergePatchjson
instance Consumes PatchPersistentVolumeStatus MimeStrategicMergePatchjson
instance Produces PatchPersistentVolumeStatus MimeJSON
instance Produces PatchPersistentVolumeStatus MimeVndKubernetesProtobuf
instance Produces PatchPersistentVolumeStatus MimeYaml
readComponentStatus
:: Accept accept
-> Name
-> KubernetesRequest ReadComponentStatus MimeNoContent V1ComponentStatus accept
readComponentStatus :: Accept accept
-> Name
-> KubernetesRequest
ReadComponentStatus MimeNoContent V1ComponentStatus accept
readComponentStatus Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadComponentStatus MimeNoContent V1ComponentStatus accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/componentstatuses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadComponentStatus MimeNoContent V1ComponentStatus accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadComponentStatus MimeNoContent V1ComponentStatus 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 ReadComponentStatus
instance HasOptionalParam ReadComponentStatus Pretty where
applyOptionalParam :: KubernetesRequest ReadComponentStatus contentType res accept
-> Pretty
-> KubernetesRequest ReadComponentStatus contentType res accept
applyOptionalParam KubernetesRequest ReadComponentStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadComponentStatus contentType res accept
req KubernetesRequest ReadComponentStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadComponentStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadComponentStatus MimeJSON
instance Produces ReadComponentStatus MimeVndKubernetesProtobuf
instance Produces ReadComponentStatus MimeYaml
readNamespace
:: Accept accept
-> Name
-> KubernetesRequest ReadNamespace MimeNoContent V1Namespace accept
readNamespace :: Accept accept
-> Name
-> KubernetesRequest ReadNamespace MimeNoContent V1Namespace accept
readNamespace Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ReadNamespace MimeNoContent V1Namespace accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest ReadNamespace MimeNoContent V1Namespace accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ReadNamespace MimeNoContent V1Namespace 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 ReadNamespace
instance HasOptionalParam ReadNamespace Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespace contentType res accept
-> Pretty -> KubernetesRequest ReadNamespace contentType res accept
applyOptionalParam KubernetesRequest ReadNamespace contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespace contentType res accept
req KubernetesRequest ReadNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespace Exact where
applyOptionalParam :: KubernetesRequest ReadNamespace contentType res accept
-> Exact -> KubernetesRequest ReadNamespace contentType res accept
applyOptionalParam KubernetesRequest ReadNamespace contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespace contentType res accept
req KubernetesRequest ReadNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespace Export where
applyOptionalParam :: KubernetesRequest ReadNamespace contentType res accept
-> Export -> KubernetesRequest ReadNamespace contentType res accept
applyOptionalParam KubernetesRequest ReadNamespace contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespace contentType res accept
req KubernetesRequest ReadNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespace MimeJSON
instance Produces ReadNamespace MimeVndKubernetesProtobuf
instance Produces ReadNamespace MimeYaml
readNamespaceStatus
:: Accept accept
-> Name
-> KubernetesRequest ReadNamespaceStatus MimeNoContent V1Namespace accept
readNamespaceStatus :: Accept accept
-> Name
-> KubernetesRequest
ReadNamespaceStatus MimeNoContent V1Namespace accept
readNamespaceStatus Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespaceStatus MimeNoContent V1Namespace accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespaceStatus MimeNoContent V1Namespace accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespaceStatus MimeNoContent V1Namespace 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 ReadNamespaceStatus
instance HasOptionalParam ReadNamespaceStatus Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespaceStatus contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespaceStatus contentType res accept
applyOptionalParam KubernetesRequest ReadNamespaceStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespaceStatus contentType res accept
req KubernetesRequest ReadNamespaceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespaceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespaceStatus MimeJSON
instance Produces ReadNamespaceStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespaceStatus MimeYaml
readNamespacedConfigMap
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedConfigMap MimeNoContent V1ConfigMap accept
readNamespacedConfigMap :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedConfigMap MimeNoContent V1ConfigMap accept
readNamespacedConfigMap Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedConfigMap MimeNoContent V1ConfigMap accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/configmaps/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedConfigMap MimeNoContent V1ConfigMap accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedConfigMap MimeNoContent V1ConfigMap 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 ReadNamespacedConfigMap
instance HasOptionalParam ReadNamespacedConfigMap Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedConfigMap contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedConfigMap contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedConfigMap contentType res accept
req KubernetesRequest ReadNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedConfigMap Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedConfigMap contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedConfigMap contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedConfigMap contentType res accept
req KubernetesRequest ReadNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedConfigMap Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedConfigMap contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedConfigMap contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedConfigMap contentType res accept
req KubernetesRequest ReadNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedConfigMap MimeJSON
instance Produces ReadNamespacedConfigMap MimeVndKubernetesProtobuf
instance Produces ReadNamespacedConfigMap MimeYaml
readNamespacedEndpoints
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedEndpoints MimeNoContent V1Endpoints accept
readNamespacedEndpoints :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedEndpoints MimeNoContent V1Endpoints accept
readNamespacedEndpoints Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedEndpoints MimeNoContent V1Endpoints accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/endpoints/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedEndpoints MimeNoContent V1Endpoints accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedEndpoints MimeNoContent V1Endpoints 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 ReadNamespacedEndpoints
instance HasOptionalParam ReadNamespacedEndpoints Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedEndpoints contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedEndpoints contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedEndpoints contentType res accept
req KubernetesRequest ReadNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedEndpoints Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedEndpoints contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedEndpoints contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedEndpoints contentType res accept
req KubernetesRequest ReadNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedEndpoints Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedEndpoints contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedEndpoints contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedEndpoints contentType res accept
req KubernetesRequest ReadNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedEndpoints MimeJSON
instance Produces ReadNamespacedEndpoints MimeVndKubernetesProtobuf
instance Produces ReadNamespacedEndpoints MimeYaml
readNamespacedEvent
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedEvent MimeNoContent V1Event accept
readNamespacedEvent :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedEvent MimeNoContent V1Event accept
readNamespacedEvent Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedEvent MimeNoContent V1Event accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/events/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest ReadNamespacedEvent MimeNoContent V1Event accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedEvent MimeNoContent V1Event 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 ReadNamespacedEvent
instance HasOptionalParam ReadNamespacedEvent Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedEvent contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedEvent contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedEvent contentType res accept
req KubernetesRequest ReadNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedEvent Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedEvent contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedEvent contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedEvent contentType res accept
req KubernetesRequest ReadNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedEvent Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedEvent contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedEvent contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedEvent contentType res accept
req KubernetesRequest ReadNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedEvent MimeJSON
instance Produces ReadNamespacedEvent MimeVndKubernetesProtobuf
instance Produces ReadNamespacedEvent MimeYaml
readNamespacedLimitRange
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedLimitRange MimeNoContent V1LimitRange accept
readNamespacedLimitRange :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedLimitRange MimeNoContent V1LimitRange accept
readNamespacedLimitRange Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedLimitRange MimeNoContent V1LimitRange accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/limitranges/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedLimitRange MimeNoContent V1LimitRange accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedLimitRange MimeNoContent V1LimitRange 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 ReadNamespacedLimitRange
instance HasOptionalParam ReadNamespacedLimitRange Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedLimitRange contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedLimitRange contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedLimitRange contentType res accept
req KubernetesRequest ReadNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedLimitRange Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedLimitRange contentType res accept
-> Exact
-> KubernetesRequest
ReadNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedLimitRange contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedLimitRange contentType res accept
req KubernetesRequest ReadNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedLimitRange Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedLimitRange contentType res accept
-> Export
-> KubernetesRequest
ReadNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedLimitRange contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedLimitRange contentType res accept
req KubernetesRequest ReadNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedLimitRange MimeJSON
instance Produces ReadNamespacedLimitRange MimeVndKubernetesProtobuf
instance Produces ReadNamespacedLimitRange MimeYaml
readNamespacedPersistentVolumeClaim
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPersistentVolumeClaim MimeNoContent V1PersistentVolumeClaim accept
readNamespacedPersistentVolumeClaim :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim
MimeNoContent
V1PersistentVolumeClaim
accept
readNamespacedPersistentVolumeClaim Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim
MimeNoContent
V1PersistentVolumeClaim
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedPersistentVolumeClaim
MimeNoContent
V1PersistentVolumeClaim
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim
MimeNoContent
V1PersistentVolumeClaim
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 ReadNamespacedPersistentVolumeClaim
instance HasOptionalParam ReadNamespacedPersistentVolumeClaim Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedPersistentVolumeClaim Exact where
applyOptionalParam :: KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
-> Exact
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
req (Exact Bool
xs) =
KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedPersistentVolumeClaim Export where
applyOptionalParam :: KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
-> Export
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
req (Export Bool
xs) =
KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedPersistentVolumeClaim MimeJSON
instance Produces ReadNamespacedPersistentVolumeClaim MimeVndKubernetesProtobuf
instance Produces ReadNamespacedPersistentVolumeClaim MimeYaml
readNamespacedPersistentVolumeClaimStatus
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPersistentVolumeClaimStatus MimeNoContent V1PersistentVolumeClaim accept
readNamespacedPersistentVolumeClaimStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus
MimeNoContent
V1PersistentVolumeClaim
accept
readNamespacedPersistentVolumeClaimStatus Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus
MimeNoContent
V1PersistentVolumeClaim
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus
MimeNoContent
V1PersistentVolumeClaim
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus
MimeNoContent
V1PersistentVolumeClaim
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 ReadNamespacedPersistentVolumeClaimStatus
instance HasOptionalParam ReadNamespacedPersistentVolumeClaimStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus contentType res accept
req KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPersistentVolumeClaimStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedPersistentVolumeClaimStatus MimeJSON
instance Produces ReadNamespacedPersistentVolumeClaimStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedPersistentVolumeClaimStatus MimeYaml
readNamespacedPod
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPod MimeNoContent V1Pod accept
readNamespacedPod :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPod MimeNoContent V1Pod accept
readNamespacedPod Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest ReadNamespacedPod MimeNoContent V1Pod accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest ReadNamespacedPod MimeNoContent V1Pod accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ReadNamespacedPod MimeNoContent V1Pod 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 ReadNamespacedPod
instance HasOptionalParam ReadNamespacedPod Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedPod contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPod contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedPod contentType res accept
req KubernetesRequest ReadNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedPod Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedPod contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPod contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedPod contentType res accept
req KubernetesRequest ReadNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedPod Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedPod contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPod contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedPod contentType res accept
req KubernetesRequest ReadNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedPod MimeJSON
instance Produces ReadNamespacedPod MimeVndKubernetesProtobuf
instance Produces ReadNamespacedPod MimeYaml
readNamespacedPodLog
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPodLog MimeNoContent Text accept
readNamespacedPodLog :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPodLog MimeNoContent Text accept
readNamespacedPodLog Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest ReadNamespacedPodLog MimeNoContent Text accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/log"]
KubernetesRequest ReadNamespacedPodLog MimeNoContent Text accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ReadNamespacedPodLog MimeNoContent Text 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 ReadNamespacedPodLog
instance HasOptionalParam ReadNamespacedPodLog Container where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodLog contentType res accept
-> Container
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodLog contentType res accept
req (Container Text
xs) =
KubernetesRequest ReadNamespacedPodLog contentType res accept
req KubernetesRequest ReadNamespacedPodLog contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"container", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance HasOptionalParam ReadNamespacedPodLog Follow where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodLog contentType res accept
-> Follow
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodLog contentType res accept
req (Follow Bool
xs) =
KubernetesRequest ReadNamespacedPodLog contentType res accept
req KubernetesRequest ReadNamespacedPodLog contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodLog 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
"follow", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedPodLog LimitBytes where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodLog contentType res accept
-> LimitBytes
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodLog contentType res accept
req (LimitBytes Int
xs) =
KubernetesRequest ReadNamespacedPodLog contentType res accept
req KubernetesRequest ReadNamespacedPodLog contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodLog 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
"limitBytes", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)
instance HasOptionalParam ReadNamespacedPodLog Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodLog contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodLog contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedPodLog contentType res accept
req KubernetesRequest ReadNamespacedPodLog contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedPodLog Previous where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodLog contentType res accept
-> Previous
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodLog contentType res accept
req (Previous Bool
xs) =
KubernetesRequest ReadNamespacedPodLog contentType res accept
req KubernetesRequest ReadNamespacedPodLog contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodLog 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
"previous", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedPodLog SinceSeconds where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodLog contentType res accept
-> SinceSeconds
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodLog contentType res accept
req (SinceSeconds Int
xs) =
KubernetesRequest ReadNamespacedPodLog contentType res accept
req KubernetesRequest ReadNamespacedPodLog contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodLog 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
"sinceSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)
instance HasOptionalParam ReadNamespacedPodLog TailLines where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodLog contentType res accept
-> TailLines
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodLog contentType res accept
req (TailLines Int
xs) =
KubernetesRequest ReadNamespacedPodLog contentType res accept
req KubernetesRequest ReadNamespacedPodLog contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodLog 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
"tailLines", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)
instance HasOptionalParam ReadNamespacedPodLog Timestamps where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodLog contentType res accept
-> Timestamps
-> KubernetesRequest ReadNamespacedPodLog contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodLog contentType res accept
req (Timestamps Bool
xs) =
KubernetesRequest ReadNamespacedPodLog contentType res accept
req KubernetesRequest ReadNamespacedPodLog contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodLog 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
"timestamps", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedPodLog MimeJSON
instance Produces ReadNamespacedPodLog MimeVndKubernetesProtobuf
instance Produces ReadNamespacedPodLog MimePlainText
instance Produces ReadNamespacedPodLog MimeYaml
readNamespacedPodStatus
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPodStatus MimeNoContent V1Pod accept
readNamespacedPodStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedPodStatus MimeNoContent V1Pod accept
readNamespacedPodStatus Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedPodStatus MimeNoContent V1Pod accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespacedPodStatus MimeNoContent V1Pod accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedPodStatus MimeNoContent V1Pod 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 ReadNamespacedPodStatus
instance HasOptionalParam ReadNamespacedPodStatus Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodStatus contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedPodStatus contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedPodStatus contentType res accept
req KubernetesRequest ReadNamespacedPodStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedPodStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedPodStatus MimeJSON
instance Produces ReadNamespacedPodStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedPodStatus MimeYaml
readNamespacedPodTemplate
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedPodTemplate MimeNoContent V1PodTemplate accept
readNamespacedPodTemplate :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedPodTemplate MimeNoContent V1PodTemplate accept
readNamespacedPodTemplate Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedPodTemplate MimeNoContent V1PodTemplate accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/podtemplates/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedPodTemplate MimeNoContent V1PodTemplate accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedPodTemplate MimeNoContent V1PodTemplate 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 ReadNamespacedPodTemplate
instance HasOptionalParam ReadNamespacedPodTemplate Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodTemplate contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodTemplate contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedPodTemplate contentType res accept
req KubernetesRequest ReadNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedPodTemplate Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodTemplate contentType res accept
-> Exact
-> KubernetesRequest
ReadNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodTemplate contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedPodTemplate contentType res accept
req KubernetesRequest ReadNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedPodTemplate Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedPodTemplate contentType res accept
-> Export
-> KubernetesRequest
ReadNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedPodTemplate contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedPodTemplate contentType res accept
req KubernetesRequest ReadNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedPodTemplate MimeJSON
instance Produces ReadNamespacedPodTemplate MimeVndKubernetesProtobuf
instance Produces ReadNamespacedPodTemplate MimeYaml
readNamespacedReplicationController
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedReplicationController MimeNoContent V1ReplicationController accept
readNamespacedReplicationController :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedReplicationController
MimeNoContent
V1ReplicationController
accept
readNamespacedReplicationController Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedReplicationController
MimeNoContent
V1ReplicationController
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedReplicationController
MimeNoContent
V1ReplicationController
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedReplicationController
MimeNoContent
V1ReplicationController
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 ReadNamespacedReplicationController
instance HasOptionalParam ReadNamespacedReplicationController Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedReplicationController contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedReplicationController contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedReplicationController contentType res accept
req KubernetesRequest
ReadNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedReplicationController Exact where
applyOptionalParam :: KubernetesRequest
ReadNamespacedReplicationController contentType res accept
-> Exact
-> KubernetesRequest
ReadNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedReplicationController contentType res accept
req (Exact Bool
xs) =
KubernetesRequest
ReadNamespacedReplicationController contentType res accept
req KubernetesRequest
ReadNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedReplicationController Export where
applyOptionalParam :: KubernetesRequest
ReadNamespacedReplicationController contentType res accept
-> Export
-> KubernetesRequest
ReadNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedReplicationController contentType res accept
req (Export Bool
xs) =
KubernetesRequest
ReadNamespacedReplicationController contentType res accept
req KubernetesRequest
ReadNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedReplicationController MimeJSON
instance Produces ReadNamespacedReplicationController MimeVndKubernetesProtobuf
instance Produces ReadNamespacedReplicationController MimeYaml
readNamespacedReplicationControllerScale
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedReplicationControllerScale MimeNoContent V1Scale accept
readNamespacedReplicationControllerScale :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedReplicationControllerScale
MimeNoContent
V1Scale
accept
readNamespacedReplicationControllerScale Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedReplicationControllerScale
MimeNoContent
V1Scale
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
KubernetesRequest
ReadNamespacedReplicationControllerScale
MimeNoContent
V1Scale
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedReplicationControllerScale
MimeNoContent
V1Scale
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 ReadNamespacedReplicationControllerScale
instance HasOptionalParam ReadNamespacedReplicationControllerScale Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedReplicationControllerScale contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedReplicationControllerScale contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedReplicationControllerScale contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedReplicationControllerScale contentType res accept
req KubernetesRequest
ReadNamespacedReplicationControllerScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedReplicationControllerScale contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedReplicationControllerScale MimeJSON
instance Produces ReadNamespacedReplicationControllerScale MimeVndKubernetesProtobuf
instance Produces ReadNamespacedReplicationControllerScale MimeYaml
readNamespacedReplicationControllerStatus
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedReplicationControllerStatus MimeNoContent V1ReplicationController accept
readNamespacedReplicationControllerStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedReplicationControllerStatus
MimeNoContent
V1ReplicationController
accept
readNamespacedReplicationControllerStatus Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedReplicationControllerStatus
MimeNoContent
V1ReplicationController
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespacedReplicationControllerStatus
MimeNoContent
V1ReplicationController
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedReplicationControllerStatus
MimeNoContent
V1ReplicationController
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 ReadNamespacedReplicationControllerStatus
instance HasOptionalParam ReadNamespacedReplicationControllerStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedReplicationControllerStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedReplicationControllerStatus contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedReplicationControllerStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedReplicationControllerStatus contentType res accept
req KubernetesRequest
ReadNamespacedReplicationControllerStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedReplicationControllerStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedReplicationControllerStatus MimeJSON
instance Produces ReadNamespacedReplicationControllerStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedReplicationControllerStatus MimeYaml
readNamespacedResourceQuota
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedResourceQuota MimeNoContent V1ResourceQuota accept
readNamespacedResourceQuota :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedResourceQuota MimeNoContent V1ResourceQuota accept
readNamespacedResourceQuota Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedResourceQuota MimeNoContent V1ResourceQuota accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedResourceQuota MimeNoContent V1ResourceQuota accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedResourceQuota MimeNoContent V1ResourceQuota 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 ReadNamespacedResourceQuota
instance HasOptionalParam ReadNamespacedResourceQuota Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
req KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedResourceQuota Exact where
applyOptionalParam :: KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
-> Exact
-> KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
req (Exact Bool
xs) =
KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
req KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedResourceQuota Export where
applyOptionalParam :: KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
-> Export
-> KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
req (Export Bool
xs) =
KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
req KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedResourceQuota MimeJSON
instance Produces ReadNamespacedResourceQuota MimeVndKubernetesProtobuf
instance Produces ReadNamespacedResourceQuota MimeYaml
readNamespacedResourceQuotaStatus
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedResourceQuotaStatus MimeNoContent V1ResourceQuota accept
readNamespacedResourceQuotaStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedResourceQuotaStatus
MimeNoContent
V1ResourceQuota
accept
readNamespacedResourceQuotaStatus Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedResourceQuotaStatus
MimeNoContent
V1ResourceQuota
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespacedResourceQuotaStatus
MimeNoContent
V1ResourceQuota
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedResourceQuotaStatus
MimeNoContent
V1ResourceQuota
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 ReadNamespacedResourceQuotaStatus
instance HasOptionalParam ReadNamespacedResourceQuotaStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedResourceQuotaStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedResourceQuotaStatus contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedResourceQuotaStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedResourceQuotaStatus contentType res accept
req KubernetesRequest
ReadNamespacedResourceQuotaStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedResourceQuotaStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedResourceQuotaStatus MimeJSON
instance Produces ReadNamespacedResourceQuotaStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedResourceQuotaStatus MimeYaml
readNamespacedSecret
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedSecret MimeNoContent V1Secret accept
readNamespacedSecret :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedSecret MimeNoContent V1Secret accept
readNamespacedSecret Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedSecret MimeNoContent V1Secret accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/secrets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedSecret MimeNoContent V1Secret accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedSecret MimeNoContent V1Secret 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 ReadNamespacedSecret
instance HasOptionalParam ReadNamespacedSecret Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedSecret contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedSecret contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedSecret contentType res accept
req KubernetesRequest ReadNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedSecret Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedSecret contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedSecret contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedSecret contentType res accept
req KubernetesRequest ReadNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedSecret Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedSecret contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedSecret contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedSecret contentType res accept
req KubernetesRequest ReadNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedSecret MimeJSON
instance Produces ReadNamespacedSecret MimeVndKubernetesProtobuf
instance Produces ReadNamespacedSecret MimeYaml
readNamespacedService
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedService MimeNoContent V1Service accept
readNamespacedService :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedService MimeNoContent V1Service accept
readNamespacedService Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedService MimeNoContent V1Service accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedService MimeNoContent V1Service accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedService MimeNoContent V1Service 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 ReadNamespacedService
instance HasOptionalParam ReadNamespacedService Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedService contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedService contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedService contentType res accept
req KubernetesRequest ReadNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedService Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedService contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedService contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedService contentType res accept
req KubernetesRequest ReadNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedService Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedService contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedService contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedService contentType res accept
req KubernetesRequest ReadNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedService MimeJSON
instance Produces ReadNamespacedService MimeVndKubernetesProtobuf
instance Produces ReadNamespacedService MimeYaml
readNamespacedServiceAccount
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedServiceAccount MimeNoContent V1ServiceAccount accept
readNamespacedServiceAccount :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedServiceAccount MimeNoContent V1ServiceAccount accept
readNamespacedServiceAccount Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedServiceAccount MimeNoContent V1ServiceAccount accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/serviceaccounts/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedServiceAccount MimeNoContent V1ServiceAccount accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedServiceAccount MimeNoContent V1ServiceAccount 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 ReadNamespacedServiceAccount
instance HasOptionalParam ReadNamespacedServiceAccount Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
req KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedServiceAccount Exact where
applyOptionalParam :: KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
-> Exact
-> KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
req (Exact Bool
xs) =
KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
req KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNamespacedServiceAccount Export where
applyOptionalParam :: KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
-> Export
-> KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
req (Export Bool
xs) =
KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
req KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNamespacedServiceAccount MimeJSON
instance Produces ReadNamespacedServiceAccount MimeVndKubernetesProtobuf
instance Produces ReadNamespacedServiceAccount MimeYaml
readNamespacedServiceStatus
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedServiceStatus MimeNoContent V1Service accept
readNamespacedServiceStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedServiceStatus MimeNoContent V1Service accept
readNamespacedServiceStatus Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedServiceStatus MimeNoContent V1Service accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespacedServiceStatus MimeNoContent V1Service accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedServiceStatus MimeNoContent V1Service 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 ReadNamespacedServiceStatus
instance HasOptionalParam ReadNamespacedServiceStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedServiceStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedServiceStatus contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedServiceStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedServiceStatus contentType res accept
req KubernetesRequest
ReadNamespacedServiceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedServiceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedServiceStatus MimeJSON
instance Produces ReadNamespacedServiceStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedServiceStatus MimeYaml
readNode
:: Accept accept
-> Name
-> KubernetesRequest ReadNode MimeNoContent V1Node accept
readNode :: Accept accept
-> Name -> KubernetesRequest ReadNode MimeNoContent V1Node accept
readNode Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ReadNode MimeNoContent V1Node accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest ReadNode MimeNoContent V1Node accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ReadNode MimeNoContent V1Node 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 ReadNode
instance HasOptionalParam ReadNode Pretty where
applyOptionalParam :: KubernetesRequest ReadNode contentType res accept
-> Pretty -> KubernetesRequest ReadNode contentType res accept
applyOptionalParam KubernetesRequest ReadNode contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNode contentType res accept
req KubernetesRequest ReadNode contentType res accept
-> [QueryItem] -> KubernetesRequest ReadNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNode Exact where
applyOptionalParam :: KubernetesRequest ReadNode contentType res accept
-> Exact -> KubernetesRequest ReadNode contentType res accept
applyOptionalParam KubernetesRequest ReadNode contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNode contentType res accept
req KubernetesRequest ReadNode contentType res accept
-> [QueryItem] -> KubernetesRequest ReadNode contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadNode Export where
applyOptionalParam :: KubernetesRequest ReadNode contentType res accept
-> Export -> KubernetesRequest ReadNode contentType res accept
applyOptionalParam KubernetesRequest ReadNode contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNode contentType res accept
req KubernetesRequest ReadNode contentType res accept
-> [QueryItem] -> KubernetesRequest ReadNode contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadNode MimeJSON
instance Produces ReadNode MimeVndKubernetesProtobuf
instance Produces ReadNode MimeYaml
readNodeStatus
:: Accept accept
-> Name
-> KubernetesRequest ReadNodeStatus MimeNoContent V1Node accept
readNodeStatus :: Accept accept
-> Name
-> KubernetesRequest ReadNodeStatus MimeNoContent V1Node accept
readNodeStatus Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ReadNodeStatus MimeNoContent V1Node accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest ReadNodeStatus MimeNoContent V1Node accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ReadNodeStatus MimeNoContent V1Node 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 ReadNodeStatus
instance HasOptionalParam ReadNodeStatus Pretty where
applyOptionalParam :: KubernetesRequest ReadNodeStatus contentType res accept
-> Pretty
-> KubernetesRequest ReadNodeStatus contentType res accept
applyOptionalParam KubernetesRequest ReadNodeStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNodeStatus contentType res accept
req KubernetesRequest ReadNodeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNodeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNodeStatus MimeJSON
instance Produces ReadNodeStatus MimeVndKubernetesProtobuf
instance Produces ReadNodeStatus MimeYaml
readPersistentVolume
:: Accept accept
-> Name
-> KubernetesRequest ReadPersistentVolume MimeNoContent V1PersistentVolume accept
readPersistentVolume :: Accept accept
-> Name
-> KubernetesRequest
ReadPersistentVolume MimeNoContent V1PersistentVolume accept
readPersistentVolume Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadPersistentVolume MimeNoContent V1PersistentVolume accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/persistentvolumes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadPersistentVolume MimeNoContent V1PersistentVolume accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadPersistentVolume MimeNoContent V1PersistentVolume 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 ReadPersistentVolume
instance HasOptionalParam ReadPersistentVolume Pretty where
applyOptionalParam :: KubernetesRequest ReadPersistentVolume contentType res accept
-> Pretty
-> KubernetesRequest ReadPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ReadPersistentVolume contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadPersistentVolume contentType res accept
req KubernetesRequest ReadPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadPersistentVolume Exact where
applyOptionalParam :: KubernetesRequest ReadPersistentVolume contentType res accept
-> Exact
-> KubernetesRequest ReadPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ReadPersistentVolume contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadPersistentVolume contentType res accept
req KubernetesRequest ReadPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"exact", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance HasOptionalParam ReadPersistentVolume Export where
applyOptionalParam :: KubernetesRequest ReadPersistentVolume contentType res accept
-> Export
-> KubernetesRequest ReadPersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ReadPersistentVolume contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadPersistentVolume contentType res accept
req KubernetesRequest ReadPersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadPersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"export", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
instance Produces ReadPersistentVolume MimeJSON
instance Produces ReadPersistentVolume MimeVndKubernetesProtobuf
instance Produces ReadPersistentVolume MimeYaml
readPersistentVolumeStatus
:: Accept accept
-> Name
-> KubernetesRequest ReadPersistentVolumeStatus MimeNoContent V1PersistentVolume accept
readPersistentVolumeStatus :: Accept accept
-> Name
-> KubernetesRequest
ReadPersistentVolumeStatus MimeNoContent V1PersistentVolume accept
readPersistentVolumeStatus Accept accept
_ (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReadPersistentVolumeStatus MimeNoContent V1PersistentVolume accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/api/v1/persistentvolumes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadPersistentVolumeStatus MimeNoContent V1PersistentVolume accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadPersistentVolumeStatus MimeNoContent V1PersistentVolume 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 ReadPersistentVolumeStatus
instance HasOptionalParam ReadPersistentVolumeStatus Pretty where
applyOptionalParam :: KubernetesRequest ReadPersistentVolumeStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadPersistentVolumeStatus contentType res accept
applyOptionalParam KubernetesRequest ReadPersistentVolumeStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadPersistentVolumeStatus contentType res accept
req KubernetesRequest ReadPersistentVolumeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadPersistentVolumeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadPersistentVolumeStatus MimeJSON
instance Produces ReadPersistentVolumeStatus MimeVndKubernetesProtobuf
instance Produces ReadPersistentVolumeStatus MimeYaml
replaceNamespace
:: (Consumes ReplaceNamespace contentType, MimeRender contentType V1Namespace)
=> ContentType contentType
-> Accept accept
-> V1Namespace
-> Name
-> KubernetesRequest ReplaceNamespace contentType V1Namespace accept
replaceNamespace :: ContentType contentType
-> Accept accept
-> V1Namespace
-> Name
-> KubernetesRequest
ReplaceNamespace contentType V1Namespace accept
replaceNamespace ContentType contentType
_ Accept accept
_ V1Namespace
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespace contentType V1Namespace accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest ReplaceNamespace contentType V1Namespace accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespace contentType V1Namespace 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 ReplaceNamespace contentType V1Namespace accept
-> V1Namespace
-> KubernetesRequest
ReplaceNamespace contentType V1Namespace 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` V1Namespace
body
data ReplaceNamespace
instance HasBodyParam ReplaceNamespace V1Namespace
instance HasOptionalParam ReplaceNamespace Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespace contentType res accept
-> Pretty
-> KubernetesRequest ReplaceNamespace contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespace contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespace contentType res accept
req KubernetesRequest ReplaceNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespace DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespace contentType res accept
-> DryRun
-> KubernetesRequest ReplaceNamespace contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespace contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespace contentType res accept
req KubernetesRequest ReplaceNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespace FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespace contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceNamespace contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespace contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespace contentType res accept
req KubernetesRequest ReplaceNamespace contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespace contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespace mtype
instance Produces ReplaceNamespace MimeJSON
instance Produces ReplaceNamespace MimeVndKubernetesProtobuf
instance Produces ReplaceNamespace MimeYaml
replaceNamespaceFinalize
:: (Consumes ReplaceNamespaceFinalize contentType, MimeRender contentType V1Namespace)
=> ContentType contentType
-> Accept accept
-> V1Namespace
-> Name
-> KubernetesRequest ReplaceNamespaceFinalize contentType V1Namespace accept
replaceNamespaceFinalize :: ContentType contentType
-> Accept accept
-> V1Namespace
-> Name
-> KubernetesRequest
ReplaceNamespaceFinalize contentType V1Namespace accept
replaceNamespaceFinalize ContentType contentType
_ Accept accept
_ V1Namespace
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespaceFinalize contentType V1Namespace accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/finalize"]
KubernetesRequest
ReplaceNamespaceFinalize contentType V1Namespace accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespaceFinalize contentType V1Namespace 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
ReplaceNamespaceFinalize contentType V1Namespace accept
-> V1Namespace
-> KubernetesRequest
ReplaceNamespaceFinalize contentType V1Namespace 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` V1Namespace
body
data ReplaceNamespaceFinalize
instance HasBodyParam ReplaceNamespaceFinalize V1Namespace
instance HasOptionalParam ReplaceNamespaceFinalize DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespaceFinalize contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespaceFinalize contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespaceFinalize contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespaceFinalize contentType res accept
req KubernetesRequest ReplaceNamespaceFinalize contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespaceFinalize contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespaceFinalize FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespaceFinalize contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespaceFinalize contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespaceFinalize contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespaceFinalize contentType res accept
req KubernetesRequest ReplaceNamespaceFinalize contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespaceFinalize contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespaceFinalize Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespaceFinalize contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespaceFinalize contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespaceFinalize contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespaceFinalize contentType res accept
req KubernetesRequest ReplaceNamespaceFinalize contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespaceFinalize contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
instance MimeType mtype => Consumes ReplaceNamespaceFinalize mtype
instance Produces ReplaceNamespaceFinalize MimeJSON
instance Produces ReplaceNamespaceFinalize MimeVndKubernetesProtobuf
instance Produces ReplaceNamespaceFinalize MimeYaml
replaceNamespaceStatus
:: (Consumes ReplaceNamespaceStatus contentType, MimeRender contentType V1Namespace)
=> ContentType contentType
-> Accept accept
-> V1Namespace
-> Name
-> KubernetesRequest ReplaceNamespaceStatus contentType V1Namespace accept
replaceNamespaceStatus :: ContentType contentType
-> Accept accept
-> V1Namespace
-> Name
-> KubernetesRequest
ReplaceNamespaceStatus contentType V1Namespace accept
replaceNamespaceStatus ContentType contentType
_ Accept accept
_ V1Namespace
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespaceStatus contentType V1Namespace accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespaceStatus contentType V1Namespace accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespaceStatus contentType V1Namespace 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
ReplaceNamespaceStatus contentType V1Namespace accept
-> V1Namespace
-> KubernetesRequest
ReplaceNamespaceStatus contentType V1Namespace 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` V1Namespace
body
data ReplaceNamespaceStatus
instance HasBodyParam ReplaceNamespaceStatus V1Namespace
instance HasOptionalParam ReplaceNamespaceStatus Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespaceStatus contentType res accept
-> Pretty
-> KubernetesRequest ReplaceNamespaceStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespaceStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespaceStatus contentType res accept
req KubernetesRequest ReplaceNamespaceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespaceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespaceStatus DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespaceStatus contentType res accept
-> DryRun
-> KubernetesRequest ReplaceNamespaceStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespaceStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespaceStatus contentType res accept
req KubernetesRequest ReplaceNamespaceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespaceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespaceStatus FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespaceStatus contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceNamespaceStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespaceStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespaceStatus contentType res accept
req KubernetesRequest ReplaceNamespaceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespaceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespaceStatus mtype
instance Produces ReplaceNamespaceStatus MimeJSON
instance Produces ReplaceNamespaceStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespaceStatus MimeYaml
replaceNamespacedConfigMap
:: (Consumes ReplaceNamespacedConfigMap contentType, MimeRender contentType V1ConfigMap)
=> ContentType contentType
-> Accept accept
-> V1ConfigMap
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedConfigMap contentType V1ConfigMap accept
replaceNamespacedConfigMap :: ContentType contentType
-> Accept accept
-> V1ConfigMap
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType V1ConfigMap accept
replaceNamespacedConfigMap ContentType contentType
_ Accept accept
_ V1ConfigMap
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType V1ConfigMap accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/configmaps/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedConfigMap contentType V1ConfigMap accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType V1ConfigMap 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
ReplaceNamespacedConfigMap contentType V1ConfigMap accept
-> V1ConfigMap
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType V1ConfigMap 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` V1ConfigMap
body
data ReplaceNamespacedConfigMap
instance HasBodyParam ReplaceNamespacedConfigMap V1ConfigMap
instance HasOptionalParam ReplaceNamespacedConfigMap Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
req KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedConfigMap DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
req KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedConfigMap FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
req KubernetesRequest ReplaceNamespacedConfigMap contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedConfigMap contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedConfigMap mtype
instance Produces ReplaceNamespacedConfigMap MimeJSON
instance Produces ReplaceNamespacedConfigMap MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedConfigMap MimeYaml
replaceNamespacedEndpoints
:: (Consumes ReplaceNamespacedEndpoints contentType, MimeRender contentType V1Endpoints)
=> ContentType contentType
-> Accept accept
-> V1Endpoints
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedEndpoints contentType V1Endpoints accept
replaceNamespacedEndpoints :: ContentType contentType
-> Accept accept
-> V1Endpoints
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType V1Endpoints accept
replaceNamespacedEndpoints ContentType contentType
_ Accept accept
_ V1Endpoints
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType V1Endpoints accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/endpoints/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedEndpoints contentType V1Endpoints accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType V1Endpoints 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
ReplaceNamespacedEndpoints contentType V1Endpoints accept
-> V1Endpoints
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType V1Endpoints 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` V1Endpoints
body
data ReplaceNamespacedEndpoints
instance HasBodyParam ReplaceNamespacedEndpoints V1Endpoints
instance HasOptionalParam ReplaceNamespacedEndpoints Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
req KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedEndpoints DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
req KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedEndpoints FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
req KubernetesRequest ReplaceNamespacedEndpoints contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedEndpoints contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedEndpoints mtype
instance Produces ReplaceNamespacedEndpoints MimeJSON
instance Produces ReplaceNamespacedEndpoints MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedEndpoints MimeYaml
replaceNamespacedEvent
:: (Consumes ReplaceNamespacedEvent contentType, MimeRender contentType V1Event)
=> ContentType contentType
-> Accept accept
-> V1Event
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedEvent contentType V1Event accept
replaceNamespacedEvent :: ContentType contentType
-> Accept accept
-> V1Event
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedEvent contentType V1Event accept
replaceNamespacedEvent ContentType contentType
_ Accept accept
_ V1Event
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedEvent contentType V1Event accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/events/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest ReplaceNamespacedEvent contentType V1Event accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedEvent contentType V1Event 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 ReplaceNamespacedEvent contentType V1Event accept
-> V1Event
-> KubernetesRequest
ReplaceNamespacedEvent contentType V1Event 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` V1Event
body
data ReplaceNamespacedEvent
instance HasBodyParam ReplaceNamespacedEvent V1Event
instance HasOptionalParam ReplaceNamespacedEvent Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedEvent contentType res accept
-> Pretty
-> KubernetesRequest ReplaceNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedEvent contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedEvent contentType res accept
req KubernetesRequest ReplaceNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedEvent DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedEvent contentType res accept
-> DryRun
-> KubernetesRequest ReplaceNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedEvent contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedEvent contentType res accept
req KubernetesRequest ReplaceNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedEvent FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedEvent contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceNamespacedEvent contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedEvent contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedEvent contentType res accept
req KubernetesRequest ReplaceNamespacedEvent contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedEvent contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedEvent mtype
instance Produces ReplaceNamespacedEvent MimeJSON
instance Produces ReplaceNamespacedEvent MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedEvent MimeYaml
replaceNamespacedLimitRange
:: (Consumes ReplaceNamespacedLimitRange contentType, MimeRender contentType V1LimitRange)
=> ContentType contentType
-> Accept accept
-> V1LimitRange
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedLimitRange contentType V1LimitRange accept
replaceNamespacedLimitRange :: ContentType contentType
-> Accept accept
-> V1LimitRange
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType V1LimitRange accept
replaceNamespacedLimitRange ContentType contentType
_ Accept accept
_ V1LimitRange
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType V1LimitRange accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/limitranges/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedLimitRange contentType V1LimitRange accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType V1LimitRange 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
ReplaceNamespacedLimitRange contentType V1LimitRange accept
-> V1LimitRange
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType V1LimitRange 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` V1LimitRange
body
data ReplaceNamespacedLimitRange
instance HasBodyParam ReplaceNamespacedLimitRange V1LimitRange
instance HasOptionalParam ReplaceNamespacedLimitRange Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
req KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedLimitRange DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
req KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedLimitRange FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
req KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedLimitRange contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedLimitRange mtype
instance Produces ReplaceNamespacedLimitRange MimeJSON
instance Produces ReplaceNamespacedLimitRange MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedLimitRange MimeYaml
replaceNamespacedPersistentVolumeClaim
:: (Consumes ReplaceNamespacedPersistentVolumeClaim contentType, MimeRender contentType V1PersistentVolumeClaim)
=> ContentType contentType
-> Accept accept
-> V1PersistentVolumeClaim
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedPersistentVolumeClaim contentType V1PersistentVolumeClaim accept
replaceNamespacedPersistentVolumeClaim :: ContentType contentType
-> Accept accept
-> V1PersistentVolumeClaim
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
replaceNamespacedPersistentVolumeClaim ContentType contentType
_ Accept accept
_ V1PersistentVolumeClaim
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
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
ReplaceNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
accept
-> V1PersistentVolumeClaim
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim
contentType
V1PersistentVolumeClaim
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` V1PersistentVolumeClaim
body
data ReplaceNamespacedPersistentVolumeClaim
instance HasBodyParam ReplaceNamespacedPersistentVolumeClaim V1PersistentVolumeClaim
instance HasOptionalParam ReplaceNamespacedPersistentVolumeClaim Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPersistentVolumeClaim DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPersistentVolumeClaim FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
req KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaim contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPersistentVolumeClaim mtype
instance Produces ReplaceNamespacedPersistentVolumeClaim MimeJSON
instance Produces ReplaceNamespacedPersistentVolumeClaim MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedPersistentVolumeClaim MimeYaml
replaceNamespacedPersistentVolumeClaimStatus
:: (Consumes ReplaceNamespacedPersistentVolumeClaimStatus contentType, MimeRender contentType V1PersistentVolumeClaim)
=> ContentType contentType
-> Accept accept
-> V1PersistentVolumeClaim
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedPersistentVolumeClaimStatus contentType V1PersistentVolumeClaim accept
replaceNamespacedPersistentVolumeClaimStatus :: ContentType contentType
-> Accept accept
-> V1PersistentVolumeClaim
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
accept
replaceNamespacedPersistentVolumeClaimStatus ContentType contentType
_ Accept accept
_ V1PersistentVolumeClaim
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/persistentvolumeclaims/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
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
ReplaceNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
accept
-> V1PersistentVolumeClaim
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus
contentType
V1PersistentVolumeClaim
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` V1PersistentVolumeClaim
body
data ReplaceNamespacedPersistentVolumeClaimStatus
instance HasBodyParam ReplaceNamespacedPersistentVolumeClaimStatus V1PersistentVolumeClaim
instance HasOptionalParam ReplaceNamespacedPersistentVolumeClaimStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPersistentVolumeClaimStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPersistentVolumeClaimStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPersistentVolumeClaimStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPersistentVolumeClaimStatus mtype
instance Produces ReplaceNamespacedPersistentVolumeClaimStatus MimeJSON
instance Produces ReplaceNamespacedPersistentVolumeClaimStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedPersistentVolumeClaimStatus MimeYaml
replaceNamespacedPod
:: (Consumes ReplaceNamespacedPod contentType, MimeRender contentType V1Pod)
=> ContentType contentType
-> Accept accept
-> V1Pod
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedPod contentType V1Pod accept
replaceNamespacedPod :: ContentType contentType
-> Accept accept
-> V1Pod
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedPod contentType V1Pod accept
replaceNamespacedPod ContentType contentType
_ Accept accept
_ V1Pod
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest ReplaceNamespacedPod contentType V1Pod accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest ReplaceNamespacedPod contentType V1Pod accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ReplaceNamespacedPod contentType V1Pod 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 ReplaceNamespacedPod contentType V1Pod accept
-> V1Pod
-> KubernetesRequest ReplaceNamespacedPod contentType V1Pod 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` V1Pod
body
data ReplaceNamespacedPod
instance HasBodyParam ReplaceNamespacedPod V1Pod
instance HasOptionalParam ReplaceNamespacedPod Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedPod contentType res accept
-> Pretty
-> KubernetesRequest ReplaceNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedPod contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedPod contentType res accept
req KubernetesRequest ReplaceNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPod DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedPod contentType res accept
-> DryRun
-> KubernetesRequest ReplaceNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedPod contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedPod contentType res accept
req KubernetesRequest ReplaceNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPod FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedPod contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceNamespacedPod contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedPod contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedPod contentType res accept
req KubernetesRequest ReplaceNamespacedPod contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedPod contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPod mtype
instance Produces ReplaceNamespacedPod MimeJSON
instance Produces ReplaceNamespacedPod MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedPod MimeYaml
replaceNamespacedPodStatus
:: (Consumes ReplaceNamespacedPodStatus contentType, MimeRender contentType V1Pod)
=> ContentType contentType
-> Accept accept
-> V1Pod
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedPodStatus contentType V1Pod accept
replaceNamespacedPodStatus :: ContentType contentType
-> Accept accept
-> V1Pod
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType V1Pod accept
replaceNamespacedPodStatus ContentType contentType
_ Accept accept
_ V1Pod
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType V1Pod accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/pods/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespacedPodStatus contentType V1Pod accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType V1Pod 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
ReplaceNamespacedPodStatus contentType V1Pod accept
-> V1Pod
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType V1Pod 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` V1Pod
body
data ReplaceNamespacedPodStatus
instance HasBodyParam ReplaceNamespacedPodStatus V1Pod
instance HasOptionalParam ReplaceNamespacedPodStatus Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
req KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodStatus DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
req KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodStatus FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
req KubernetesRequest ReplaceNamespacedPodStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodStatus mtype
instance Produces ReplaceNamespacedPodStatus MimeJSON
instance Produces ReplaceNamespacedPodStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedPodStatus MimeYaml
replaceNamespacedPodTemplate
:: (Consumes ReplaceNamespacedPodTemplate contentType, MimeRender contentType V1PodTemplate)
=> ContentType contentType
-> Accept accept
-> V1PodTemplate
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedPodTemplate contentType V1PodTemplate accept
replaceNamespacedPodTemplate :: ContentType contentType
-> Accept accept
-> V1PodTemplate
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType V1PodTemplate accept
replaceNamespacedPodTemplate ContentType contentType
_ Accept accept
_ V1PodTemplate
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType V1PodTemplate accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/podtemplates/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedPodTemplate contentType V1PodTemplate accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType V1PodTemplate 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
ReplaceNamespacedPodTemplate contentType V1PodTemplate accept
-> V1PodTemplate
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType V1PodTemplate 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` V1PodTemplate
body
data ReplaceNamespacedPodTemplate
instance HasBodyParam ReplaceNamespacedPodTemplate V1PodTemplate
instance HasOptionalParam ReplaceNamespacedPodTemplate Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
req KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodTemplate DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
req KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodTemplate FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
req KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedPodTemplate contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedPodTemplate mtype
instance Produces ReplaceNamespacedPodTemplate MimeJSON
instance Produces ReplaceNamespacedPodTemplate MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedPodTemplate MimeYaml
replaceNamespacedReplicationController
:: (Consumes ReplaceNamespacedReplicationController contentType, MimeRender contentType V1ReplicationController)
=> ContentType contentType
-> Accept accept
-> V1ReplicationController
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedReplicationController contentType V1ReplicationController accept
replaceNamespacedReplicationController :: ContentType contentType
-> Accept accept
-> V1ReplicationController
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedReplicationController
contentType
V1ReplicationController
accept
replaceNamespacedReplicationController ContentType contentType
_ Accept accept
_ V1ReplicationController
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedReplicationController
contentType
V1ReplicationController
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedReplicationController
contentType
V1ReplicationController
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedReplicationController
contentType
V1ReplicationController
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
ReplaceNamespacedReplicationController
contentType
V1ReplicationController
accept
-> V1ReplicationController
-> KubernetesRequest
ReplaceNamespacedReplicationController
contentType
V1ReplicationController
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` V1ReplicationController
body
data ReplaceNamespacedReplicationController
instance HasBodyParam ReplaceNamespacedReplicationController V1ReplicationController
instance HasOptionalParam ReplaceNamespacedReplicationController Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationController DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationController FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationController contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationController mtype
instance Produces ReplaceNamespacedReplicationController MimeJSON
instance Produces ReplaceNamespacedReplicationController MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedReplicationController MimeYaml
replaceNamespacedReplicationControllerScale
:: (Consumes ReplaceNamespacedReplicationControllerScale contentType, MimeRender contentType V1Scale)
=> ContentType contentType
-> Accept accept
-> V1Scale
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedReplicationControllerScale contentType V1Scale accept
replaceNamespacedReplicationControllerScale :: ContentType contentType
-> Accept accept
-> V1Scale
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale
contentType
V1Scale
accept
replaceNamespacedReplicationControllerScale ContentType contentType
_ Accept accept
_ V1Scale
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale
contentType
V1Scale
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
KubernetesRequest
ReplaceNamespacedReplicationControllerScale
contentType
V1Scale
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale
contentType
V1Scale
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
ReplaceNamespacedReplicationControllerScale
contentType
V1Scale
accept
-> V1Scale
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale
contentType
V1Scale
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` V1Scale
body
data ReplaceNamespacedReplicationControllerScale
instance HasBodyParam ReplaceNamespacedReplicationControllerScale V1Scale
instance HasOptionalParam ReplaceNamespacedReplicationControllerScale Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationControllerScale DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationControllerScale FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationControllerScale contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationControllerScale mtype
instance Produces ReplaceNamespacedReplicationControllerScale MimeJSON
instance Produces ReplaceNamespacedReplicationControllerScale MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedReplicationControllerScale MimeYaml
replaceNamespacedReplicationControllerStatus
:: (Consumes ReplaceNamespacedReplicationControllerStatus contentType, MimeRender contentType V1ReplicationController)
=> ContentType contentType
-> Accept accept
-> V1ReplicationController
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedReplicationControllerStatus contentType V1ReplicationController accept
replaceNamespacedReplicationControllerStatus :: ContentType contentType
-> Accept accept
-> V1ReplicationController
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus
contentType
V1ReplicationController
accept
replaceNamespacedReplicationControllerStatus ContentType contentType
_ Accept accept
_ V1ReplicationController
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus
contentType
V1ReplicationController
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/replicationcontrollers/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespacedReplicationControllerStatus
contentType
V1ReplicationController
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus
contentType
V1ReplicationController
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
ReplaceNamespacedReplicationControllerStatus
contentType
V1ReplicationController
accept
-> V1ReplicationController
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus
contentType
V1ReplicationController
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` V1ReplicationController
body
data ReplaceNamespacedReplicationControllerStatus
instance HasBodyParam ReplaceNamespacedReplicationControllerStatus V1ReplicationController
instance HasOptionalParam ReplaceNamespacedReplicationControllerStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationControllerStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationControllerStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedReplicationControllerStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedReplicationControllerStatus mtype
instance Produces ReplaceNamespacedReplicationControllerStatus MimeJSON
instance Produces ReplaceNamespacedReplicationControllerStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedReplicationControllerStatus MimeYaml
replaceNamespacedResourceQuota
:: (Consumes ReplaceNamespacedResourceQuota contentType, MimeRender contentType V1ResourceQuota)
=> ContentType contentType
-> Accept accept
-> V1ResourceQuota
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedResourceQuota contentType V1ResourceQuota accept
replaceNamespacedResourceQuota :: ContentType contentType
-> Accept accept
-> V1ResourceQuota
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType V1ResourceQuota accept
replaceNamespacedResourceQuota ContentType contentType
_ Accept accept
_ V1ResourceQuota
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType V1ResourceQuota accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedResourceQuota contentType V1ResourceQuota accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType V1ResourceQuota 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
ReplaceNamespacedResourceQuota contentType V1ResourceQuota accept
-> V1ResourceQuota
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType V1ResourceQuota 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` V1ResourceQuota
body
data ReplaceNamespacedResourceQuota
instance HasBodyParam ReplaceNamespacedResourceQuota V1ResourceQuota
instance HasOptionalParam ReplaceNamespacedResourceQuota Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
req KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedResourceQuota DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
req KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedResourceQuota FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
req KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedResourceQuota contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedResourceQuota mtype
instance Produces ReplaceNamespacedResourceQuota MimeJSON
instance Produces ReplaceNamespacedResourceQuota MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedResourceQuota MimeYaml
replaceNamespacedResourceQuotaStatus
:: (Consumes ReplaceNamespacedResourceQuotaStatus contentType, MimeRender contentType V1ResourceQuota)
=> ContentType contentType
-> Accept accept
-> V1ResourceQuota
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedResourceQuotaStatus contentType V1ResourceQuota accept
replaceNamespacedResourceQuotaStatus :: ContentType contentType
-> Accept accept
-> V1ResourceQuota
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
accept
replaceNamespacedResourceQuotaStatus ContentType contentType
_ Accept accept
_ V1ResourceQuota
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/resourcequotas/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
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
ReplaceNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
accept
-> V1ResourceQuota
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus
contentType
V1ResourceQuota
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` V1ResourceQuota
body
data ReplaceNamespacedResourceQuotaStatus
instance HasBodyParam ReplaceNamespacedResourceQuotaStatus V1ResourceQuota
instance HasOptionalParam ReplaceNamespacedResourceQuotaStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedResourceQuotaStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedResourceQuotaStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedResourceQuotaStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedResourceQuotaStatus mtype
instance Produces ReplaceNamespacedResourceQuotaStatus MimeJSON
instance Produces ReplaceNamespacedResourceQuotaStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedResourceQuotaStatus MimeYaml
replaceNamespacedSecret
:: (Consumes ReplaceNamespacedSecret contentType, MimeRender contentType V1Secret)
=> ContentType contentType
-> Accept accept
-> V1Secret
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedSecret contentType V1Secret accept
replaceNamespacedSecret :: ContentType contentType
-> Accept accept
-> V1Secret
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedSecret contentType V1Secret accept
replaceNamespacedSecret ContentType contentType
_ Accept accept
_ V1Secret
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedSecret contentType V1Secret accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/secrets/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedSecret contentType V1Secret accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedSecret contentType V1Secret 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
ReplaceNamespacedSecret contentType V1Secret accept
-> V1Secret
-> KubernetesRequest
ReplaceNamespacedSecret contentType V1Secret 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` V1Secret
body
data ReplaceNamespacedSecret
instance HasBodyParam ReplaceNamespacedSecret V1Secret
instance HasOptionalParam ReplaceNamespacedSecret Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedSecret contentType res accept
-> Pretty
-> KubernetesRequest ReplaceNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedSecret contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedSecret contentType res accept
req KubernetesRequest ReplaceNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedSecret DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedSecret contentType res accept
-> DryRun
-> KubernetesRequest ReplaceNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedSecret contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedSecret contentType res accept
req KubernetesRequest ReplaceNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedSecret FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedSecret contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceNamespacedSecret contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedSecret contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedSecret contentType res accept
req KubernetesRequest ReplaceNamespacedSecret contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNamespacedSecret contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedSecret mtype
instance Produces ReplaceNamespacedSecret MimeJSON
instance Produces ReplaceNamespacedSecret MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedSecret MimeYaml
replaceNamespacedService
:: (Consumes ReplaceNamespacedService contentType, MimeRender contentType V1Service)
=> ContentType contentType
-> Accept accept
-> V1Service
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedService contentType V1Service accept
replaceNamespacedService :: ContentType contentType
-> Accept accept
-> V1Service
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedService contentType V1Service accept
replaceNamespacedService ContentType contentType
_ Accept accept
_ V1Service
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedService contentType V1Service accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedService contentType V1Service accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedService contentType V1Service 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
ReplaceNamespacedService contentType V1Service accept
-> V1Service
-> KubernetesRequest
ReplaceNamespacedService contentType V1Service 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` V1Service
body
data ReplaceNamespacedService
instance HasBodyParam ReplaceNamespacedService V1Service
instance HasOptionalParam ReplaceNamespacedService Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedService contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedService contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedService contentType res accept
req KubernetesRequest ReplaceNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedService DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedService contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedService contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedService contentType res accept
req KubernetesRequest ReplaceNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedService FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedService contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedService contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedService contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedService contentType res accept
req KubernetesRequest ReplaceNamespacedService contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedService contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedService mtype
instance Produces ReplaceNamespacedService MimeJSON
instance Produces ReplaceNamespacedService MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedService MimeYaml
replaceNamespacedServiceAccount
:: (Consumes ReplaceNamespacedServiceAccount contentType, MimeRender contentType V1ServiceAccount)
=> ContentType contentType
-> Accept accept
-> V1ServiceAccount
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedServiceAccount contentType V1ServiceAccount accept
replaceNamespacedServiceAccount :: ContentType contentType
-> Accept accept
-> V1ServiceAccount
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType V1ServiceAccount accept
replaceNamespacedServiceAccount ContentType contentType
_ Accept accept
_ V1ServiceAccount
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType V1ServiceAccount accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/serviceaccounts/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedServiceAccount contentType V1ServiceAccount accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType V1ServiceAccount 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
ReplaceNamespacedServiceAccount contentType V1ServiceAccount accept
-> V1ServiceAccount
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType V1ServiceAccount 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` V1ServiceAccount
body
data ReplaceNamespacedServiceAccount
instance HasBodyParam ReplaceNamespacedServiceAccount V1ServiceAccount
instance HasOptionalParam ReplaceNamespacedServiceAccount Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
req KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedServiceAccount DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
req KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedServiceAccount FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
req KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedServiceAccount contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedServiceAccount mtype
instance Produces ReplaceNamespacedServiceAccount MimeJSON
instance Produces ReplaceNamespacedServiceAccount MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedServiceAccount MimeYaml
replaceNamespacedServiceStatus
:: (Consumes ReplaceNamespacedServiceStatus contentType, MimeRender contentType V1Service)
=> ContentType contentType
-> Accept accept
-> V1Service
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedServiceStatus contentType V1Service accept
replaceNamespacedServiceStatus :: ContentType contentType
-> Accept accept
-> V1Service
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType V1Service accept
replaceNamespacedServiceStatus ContentType contentType
_ Accept accept
_ V1Service
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType V1Service accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/services/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespacedServiceStatus contentType V1Service accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType V1Service 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
ReplaceNamespacedServiceStatus contentType V1Service accept
-> V1Service
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType V1Service 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` V1Service
body
data ReplaceNamespacedServiceStatus
instance HasBodyParam ReplaceNamespacedServiceStatus V1Service
instance HasOptionalParam ReplaceNamespacedServiceStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedServiceStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedServiceStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedServiceStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedServiceStatus mtype
instance Produces ReplaceNamespacedServiceStatus MimeJSON
instance Produces ReplaceNamespacedServiceStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedServiceStatus MimeYaml
replaceNode
:: (Consumes ReplaceNode contentType, MimeRender contentType V1Node)
=> ContentType contentType
-> Accept accept
-> V1Node
-> Name
-> KubernetesRequest ReplaceNode contentType V1Node accept
replaceNode :: ContentType contentType
-> Accept accept
-> V1Node
-> Name
-> KubernetesRequest ReplaceNode contentType V1Node accept
replaceNode ContentType contentType
_ Accept accept
_ V1Node
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ReplaceNode contentType V1Node accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest ReplaceNode contentType V1Node accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ReplaceNode contentType V1Node 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 ReplaceNode contentType V1Node accept
-> V1Node
-> KubernetesRequest ReplaceNode contentType V1Node 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` V1Node
body
data ReplaceNode
instance HasBodyParam ReplaceNode V1Node
instance HasOptionalParam ReplaceNode Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNode contentType res accept
-> Pretty -> KubernetesRequest ReplaceNode contentType res accept
applyOptionalParam KubernetesRequest ReplaceNode contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNode contentType res accept
req KubernetesRequest ReplaceNode contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNode DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNode contentType res accept
-> DryRun -> KubernetesRequest ReplaceNode contentType res accept
applyOptionalParam KubernetesRequest ReplaceNode contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNode contentType res accept
req KubernetesRequest ReplaceNode contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNode FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNode contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceNode contentType res accept
applyOptionalParam KubernetesRequest ReplaceNode contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNode contentType res accept
req KubernetesRequest ReplaceNode contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNode contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNode mtype
instance Produces ReplaceNode MimeJSON
instance Produces ReplaceNode MimeVndKubernetesProtobuf
instance Produces ReplaceNode MimeYaml
replaceNodeStatus
:: (Consumes ReplaceNodeStatus contentType, MimeRender contentType V1Node)
=> ContentType contentType
-> Accept accept
-> V1Node
-> Name
-> KubernetesRequest ReplaceNodeStatus contentType V1Node accept
replaceNodeStatus :: ContentType contentType
-> Accept accept
-> V1Node
-> Name
-> KubernetesRequest ReplaceNodeStatus contentType V1Node accept
replaceNodeStatus ContentType contentType
_ Accept accept
_ V1Node
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest ReplaceNodeStatus contentType V1Node accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/nodes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest ReplaceNodeStatus contentType V1Node accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest ReplaceNodeStatus contentType V1Node 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 ReplaceNodeStatus contentType V1Node accept
-> V1Node
-> KubernetesRequest ReplaceNodeStatus contentType V1Node 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` V1Node
body
data ReplaceNodeStatus
instance HasBodyParam ReplaceNodeStatus V1Node
instance HasOptionalParam ReplaceNodeStatus Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNodeStatus contentType res accept
-> Pretty
-> KubernetesRequest ReplaceNodeStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNodeStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNodeStatus contentType res accept
req KubernetesRequest ReplaceNodeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNodeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNodeStatus DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNodeStatus contentType res accept
-> DryRun
-> KubernetesRequest ReplaceNodeStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNodeStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNodeStatus contentType res accept
req KubernetesRequest ReplaceNodeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNodeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNodeStatus FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNodeStatus contentType res accept
-> FieldManager
-> KubernetesRequest ReplaceNodeStatus contentType res accept
applyOptionalParam KubernetesRequest ReplaceNodeStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNodeStatus contentType res accept
req KubernetesRequest ReplaceNodeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplaceNodeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNodeStatus mtype
instance Produces ReplaceNodeStatus MimeJSON
instance Produces ReplaceNodeStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNodeStatus MimeYaml
replacePersistentVolume
:: (Consumes ReplacePersistentVolume contentType, MimeRender contentType V1PersistentVolume)
=> ContentType contentType
-> Accept accept
-> V1PersistentVolume
-> Name
-> KubernetesRequest ReplacePersistentVolume contentType V1PersistentVolume accept
replacePersistentVolume :: ContentType contentType
-> Accept accept
-> V1PersistentVolume
-> Name
-> KubernetesRequest
ReplacePersistentVolume contentType V1PersistentVolume accept
replacePersistentVolume ContentType contentType
_ Accept accept
_ V1PersistentVolume
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplacePersistentVolume contentType V1PersistentVolume accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/persistentvolumes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplacePersistentVolume contentType V1PersistentVolume accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplacePersistentVolume contentType V1PersistentVolume 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
ReplacePersistentVolume contentType V1PersistentVolume accept
-> V1PersistentVolume
-> KubernetesRequest
ReplacePersistentVolume contentType V1PersistentVolume 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` V1PersistentVolume
body
data ReplacePersistentVolume
instance HasBodyParam ReplacePersistentVolume V1PersistentVolume
instance HasOptionalParam ReplacePersistentVolume Pretty where
applyOptionalParam :: KubernetesRequest ReplacePersistentVolume contentType res accept
-> Pretty
-> KubernetesRequest ReplacePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ReplacePersistentVolume contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplacePersistentVolume contentType res accept
req KubernetesRequest ReplacePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplacePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplacePersistentVolume DryRun where
applyOptionalParam :: KubernetesRequest ReplacePersistentVolume contentType res accept
-> DryRun
-> KubernetesRequest ReplacePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ReplacePersistentVolume contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplacePersistentVolume contentType res accept
req KubernetesRequest ReplacePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplacePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplacePersistentVolume FieldManager where
applyOptionalParam :: KubernetesRequest ReplacePersistentVolume contentType res accept
-> FieldManager
-> KubernetesRequest ReplacePersistentVolume contentType res accept
applyOptionalParam KubernetesRequest ReplacePersistentVolume contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplacePersistentVolume contentType res accept
req KubernetesRequest ReplacePersistentVolume contentType res accept
-> [QueryItem]
-> KubernetesRequest ReplacePersistentVolume contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplacePersistentVolume mtype
instance Produces ReplacePersistentVolume MimeJSON
instance Produces ReplacePersistentVolume MimeVndKubernetesProtobuf
instance Produces ReplacePersistentVolume MimeYaml
replacePersistentVolumeStatus
:: (Consumes ReplacePersistentVolumeStatus contentType, MimeRender contentType V1PersistentVolume)
=> ContentType contentType
-> Accept accept
-> V1PersistentVolume
-> Name
-> KubernetesRequest ReplacePersistentVolumeStatus contentType V1PersistentVolume accept
replacePersistentVolumeStatus :: ContentType contentType
-> Accept accept
-> V1PersistentVolume
-> Name
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType V1PersistentVolume accept
replacePersistentVolumeStatus ContentType contentType
_ Accept accept
_ V1PersistentVolume
body (Name Text
name) =
Method
-> [ByteString]
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType V1PersistentVolume accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/api/v1/persistentvolumes/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplacePersistentVolumeStatus contentType V1PersistentVolume accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType V1PersistentVolume 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
ReplacePersistentVolumeStatus contentType V1PersistentVolume accept
-> V1PersistentVolume
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType V1PersistentVolume 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` V1PersistentVolume
body
data ReplacePersistentVolumeStatus
instance HasBodyParam ReplacePersistentVolumeStatus V1PersistentVolume
instance HasOptionalParam ReplacePersistentVolumeStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
req KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplacePersistentVolumeStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
req KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplacePersistentVolumeStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
req KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplacePersistentVolumeStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplacePersistentVolumeStatus mtype
instance Produces ReplacePersistentVolumeStatus MimeJSON
instance Produces ReplacePersistentVolumeStatus MimeVndKubernetesProtobuf
instance Produces ReplacePersistentVolumeStatus MimeYaml