{-# 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.BatchV1beta1 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
createNamespacedCronJob
:: (Consumes CreateNamespacedCronJob contentType, MimeRender contentType V1beta1CronJob)
=> ContentType contentType
-> Accept accept
-> V1beta1CronJob
-> Namespace
-> KubernetesRequest CreateNamespacedCronJob contentType V1beta1CronJob accept
createNamespacedCronJob :: ContentType contentType
-> Accept accept
-> V1beta1CronJob
-> Namespace
-> KubernetesRequest
CreateNamespacedCronJob contentType V1beta1CronJob accept
createNamespacedCronJob ContentType contentType
_ Accept accept
_ V1beta1CronJob
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedCronJob contentType V1beta1CronJob accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs"]
KubernetesRequest
CreateNamespacedCronJob contentType V1beta1CronJob accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedCronJob contentType V1beta1CronJob accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
CreateNamespacedCronJob contentType V1beta1CronJob accept
-> V1beta1CronJob
-> KubernetesRequest
CreateNamespacedCronJob contentType V1beta1CronJob 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` V1beta1CronJob
body
data CreateNamespacedCronJob
instance HasBodyParam CreateNamespacedCronJob V1beta1CronJob
instance HasOptionalParam CreateNamespacedCronJob Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedCronJob contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedCronJob contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedCronJob contentType res accept
req KubernetesRequest CreateNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedCronJob DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedCronJob contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedCronJob contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedCronJob contentType res accept
req KubernetesRequest CreateNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedCronJob FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedCronJob contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedCronJob contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedCronJob contentType res accept
req KubernetesRequest CreateNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedCronJob mtype
instance Produces CreateNamespacedCronJob MimeJSON
instance Produces CreateNamespacedCronJob MimeVndKubernetesProtobuf
instance Produces CreateNamespacedCronJob MimeYaml
deleteCollectionNamespacedCronJob
:: (Consumes DeleteCollectionNamespacedCronJob contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedCronJob contentType V1Status accept
deleteCollectionNamespacedCronJob :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType V1Status accept
deleteCollectionNamespacedCronJob ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs"]
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedCronJob 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 DeleteCollectionNamespacedCronJob
instance HasBodyParam DeleteCollectionNamespacedCronJob V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedCronJob Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedCronJob Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedCronJob DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedCronJob FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedCronJob GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob 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 DeleteCollectionNamespacedCronJob LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedCronJob Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob 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 DeleteCollectionNamespacedCronJob OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob 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 DeleteCollectionNamespacedCronJob PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedCronJob ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedCronJob TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedCronJob 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 DeleteCollectionNamespacedCronJob mtype
instance Produces DeleteCollectionNamespacedCronJob MimeJSON
instance Produces DeleteCollectionNamespacedCronJob MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedCronJob MimeYaml
deleteNamespacedCronJob
:: (Consumes DeleteNamespacedCronJob contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedCronJob contentType V1Status accept
deleteNamespacedCronJob :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedCronJob contentType V1Status accept
deleteNamespacedCronJob ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedCronJob contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedCronJob contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedCronJob 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 DeleteNamespacedCronJob
instance HasBodyParam DeleteNamespacedCronJob V1DeleteOptions
instance HasOptionalParam DeleteNamespacedCronJob Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedCronJob contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedCronJob contentType res accept
req KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedCronJob DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedCronJob contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedCronJob contentType res accept
req KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedCronJob GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedCronJob contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedCronJob contentType res accept
req KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedCronJob 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 DeleteNamespacedCronJob OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedCronJob contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedCronJob contentType res accept
req KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedCronJob 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 DeleteNamespacedCronJob PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedCronJob contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedCronJob contentType res accept
req KubernetesRequest DeleteNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedCronJob mtype
instance Produces DeleteNamespacedCronJob MimeJSON
instance Produces DeleteNamespacedCronJob MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedCronJob MimeYaml
getAPIResources
:: Accept accept
-> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept
getAPIResources :: Accept accept
-> KubernetesRequest
GetAPIResources MimeNoContent V1APIResourceList accept
getAPIResources Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
GetAPIResources MimeNoContent V1APIResourceList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/batch/v1beta1/"]
KubernetesRequest
GetAPIResources MimeNoContent V1APIResourceList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
GetAPIResources MimeNoContent V1APIResourceList accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetAPIResources
instance Produces GetAPIResources MimeJSON
instance Produces GetAPIResources MimeVndKubernetesProtobuf
instance Produces GetAPIResources MimeYaml
listCronJobForAllNamespaces
:: Accept accept
-> KubernetesRequest ListCronJobForAllNamespaces MimeNoContent V1beta1CronJobList accept
listCronJobForAllNamespaces :: Accept accept
-> KubernetesRequest
ListCronJobForAllNamespaces MimeNoContent V1beta1CronJobList accept
listCronJobForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListCronJobForAllNamespaces MimeNoContent V1beta1CronJobList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/batch/v1beta1/cronjobs"]
KubernetesRequest
ListCronJobForAllNamespaces MimeNoContent V1beta1CronJobList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListCronJobForAllNamespaces MimeNoContent V1beta1CronJobList accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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 ListCronJobForAllNamespaces
instance HasOptionalParam ListCronJobForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces 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 ListCronJobForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCronJobForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCronJobForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCronJobForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces 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 ListCronJobForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCronJobForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListCronJobForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces 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 ListCronJobForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
req KubernetesRequest
ListCronJobForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListCronJobForAllNamespaces 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 ListCronJobForAllNamespaces MimeJSON
instance Produces ListCronJobForAllNamespaces MimeJsonstreamwatch
instance Produces ListCronJobForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListCronJobForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListCronJobForAllNamespaces MimeYaml
listNamespacedCronJob
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedCronJob MimeNoContent V1beta1CronJobList accept
listNamespacedCronJob :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedCronJob MimeNoContent V1beta1CronJobList accept
listNamespacedCronJob Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedCronJob MimeNoContent V1beta1CronJobList accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs"]
KubernetesRequest
ListNamespacedCronJob MimeNoContent V1beta1CronJobList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedCronJob MimeNoContent V1beta1CronJobList accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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 ListNamespacedCronJob
instance HasOptionalParam ListNamespacedCronJob Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedCronJob AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob 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 ListNamespacedCronJob Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedCronJob FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedCronJob LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedCronJob Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob 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 ListNamespacedCronJob ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedCronJob TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob 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 ListNamespacedCronJob Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedCronJob contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCronJob contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedCronJob contentType res accept
req KubernetesRequest ListNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedCronJob 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 ListNamespacedCronJob MimeJSON
instance Produces ListNamespacedCronJob MimeJsonstreamwatch
instance Produces ListNamespacedCronJob MimeVndKubernetesProtobuf
instance Produces ListNamespacedCronJob MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedCronJob MimeYaml
patchNamespacedCronJob
:: (Consumes PatchNamespacedCronJob contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedCronJob contentType V1beta1CronJob accept
patchNamespacedCronJob :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedCronJob contentType V1beta1CronJob accept
patchNamespacedCronJob ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedCronJob contentType V1beta1CronJob accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedCronJob contentType V1beta1CronJob accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedCronJob contentType V1beta1CronJob accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
PatchNamespacedCronJob contentType V1beta1CronJob accept
-> Body
-> KubernetesRequest
PatchNamespacedCronJob contentType V1beta1CronJob 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 PatchNamespacedCronJob
instance HasBodyParam PatchNamespacedCronJob Body
instance HasOptionalParam PatchNamespacedCronJob Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedCronJob contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedCronJob contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedCronJob contentType res accept
req KubernetesRequest PatchNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedCronJob DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedCronJob contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedCronJob contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedCronJob contentType res accept
req KubernetesRequest PatchNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedCronJob FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedCronJob contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedCronJob contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedCronJob contentType res accept
req KubernetesRequest PatchNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedCronJob Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedCronJob contentType res accept
-> Force
-> KubernetesRequest PatchNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedCronJob contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedCronJob contentType res accept
req KubernetesRequest PatchNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedCronJob 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 PatchNamespacedCronJob MimeApplyPatchyaml
instance Consumes PatchNamespacedCronJob MimeJsonPatchjson
instance Consumes PatchNamespacedCronJob MimeMergePatchjson
instance Consumes PatchNamespacedCronJob MimeStrategicMergePatchjson
instance Produces PatchNamespacedCronJob MimeJSON
instance Produces PatchNamespacedCronJob MimeVndKubernetesProtobuf
instance Produces PatchNamespacedCronJob MimeYaml
patchNamespacedCronJobStatus
:: (Consumes PatchNamespacedCronJobStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedCronJobStatus contentType V1beta1CronJob accept
patchNamespacedCronJobStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType V1beta1CronJob accept
patchNamespacedCronJobStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType V1beta1CronJob accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchNamespacedCronJobStatus contentType V1beta1CronJob accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType V1beta1CronJob accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
PatchNamespacedCronJobStatus contentType V1beta1CronJob accept
-> Body
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType V1beta1CronJob 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 PatchNamespacedCronJobStatus
instance HasBodyParam PatchNamespacedCronJobStatus Body
instance HasOptionalParam PatchNamespacedCronJobStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
req KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedCronJobStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
req KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedCronJobStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
req KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedCronJobStatus Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
req KubernetesRequest
PatchNamespacedCronJobStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedCronJobStatus 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 PatchNamespacedCronJobStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedCronJobStatus MimeJsonPatchjson
instance Consumes PatchNamespacedCronJobStatus MimeMergePatchjson
instance Consumes PatchNamespacedCronJobStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedCronJobStatus MimeJSON
instance Produces PatchNamespacedCronJobStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedCronJobStatus MimeYaml
readNamespacedCronJob
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedCronJob MimeNoContent V1beta1CronJob accept
readNamespacedCronJob :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedCronJob MimeNoContent V1beta1CronJob accept
readNamespacedCronJob Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedCronJob MimeNoContent V1beta1CronJob accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedCronJob MimeNoContent V1beta1CronJob accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedCronJob MimeNoContent V1beta1CronJob accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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 ReadNamespacedCronJob
instance HasOptionalParam ReadNamespacedCronJob Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedCronJob contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedCronJob contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedCronJob contentType res accept
req KubernetesRequest ReadNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedCronJob Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedCronJob contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedCronJob contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedCronJob contentType res accept
req KubernetesRequest ReadNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedCronJob 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 ReadNamespacedCronJob Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedCronJob contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedCronJob contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedCronJob contentType res accept
req KubernetesRequest ReadNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedCronJob 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 ReadNamespacedCronJob MimeJSON
instance Produces ReadNamespacedCronJob MimeVndKubernetesProtobuf
instance Produces ReadNamespacedCronJob MimeYaml
readNamespacedCronJobStatus
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedCronJobStatus MimeNoContent V1beta1CronJob accept
readNamespacedCronJobStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedCronJobStatus MimeNoContent V1beta1CronJob accept
readNamespacedCronJobStatus Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedCronJobStatus MimeNoContent V1beta1CronJob accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespacedCronJobStatus MimeNoContent V1beta1CronJob accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedCronJobStatus MimeNoContent V1beta1CronJob accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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 ReadNamespacedCronJobStatus
instance HasOptionalParam ReadNamespacedCronJobStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedCronJobStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedCronJobStatus contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedCronJobStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedCronJobStatus contentType res accept
req KubernetesRequest
ReadNamespacedCronJobStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedCronJobStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedCronJobStatus MimeJSON
instance Produces ReadNamespacedCronJobStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedCronJobStatus MimeYaml
replaceNamespacedCronJob
:: (Consumes ReplaceNamespacedCronJob contentType, MimeRender contentType V1beta1CronJob)
=> ContentType contentType
-> Accept accept
-> V1beta1CronJob
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedCronJob contentType V1beta1CronJob accept
replaceNamespacedCronJob :: ContentType contentType
-> Accept accept
-> V1beta1CronJob
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedCronJob contentType V1beta1CronJob accept
replaceNamespacedCronJob ContentType contentType
_ Accept accept
_ V1beta1CronJob
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedCronJob contentType V1beta1CronJob accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedCronJob contentType V1beta1CronJob accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedCronJob contentType V1beta1CronJob accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
ReplaceNamespacedCronJob contentType V1beta1CronJob accept
-> V1beta1CronJob
-> KubernetesRequest
ReplaceNamespacedCronJob contentType V1beta1CronJob 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` V1beta1CronJob
body
data ReplaceNamespacedCronJob
instance HasBodyParam ReplaceNamespacedCronJob V1beta1CronJob
instance HasOptionalParam ReplaceNamespacedCronJob Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedCronJob contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedCronJob contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedCronJob contentType res accept
req KubernetesRequest ReplaceNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedCronJob DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedCronJob contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedCronJob contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedCronJob contentType res accept
req KubernetesRequest ReplaceNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedCronJob FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedCronJob contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedCronJob contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedCronJob contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedCronJob contentType res accept
req KubernetesRequest ReplaceNamespacedCronJob contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedCronJob contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedCronJob mtype
instance Produces ReplaceNamespacedCronJob MimeJSON
instance Produces ReplaceNamespacedCronJob MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedCronJob MimeYaml
replaceNamespacedCronJobStatus
:: (Consumes ReplaceNamespacedCronJobStatus contentType, MimeRender contentType V1beta1CronJob)
=> ContentType contentType
-> Accept accept
-> V1beta1CronJob
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedCronJobStatus contentType V1beta1CronJob accept
replaceNamespacedCronJobStatus :: ContentType contentType
-> Accept accept
-> V1beta1CronJob
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType V1beta1CronJob accept
replaceNamespacedCronJobStatus ContentType contentType
_ Accept accept
_ V1beta1CronJob
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType V1beta1CronJob accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/batch/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/cronjobs/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespacedCronJobStatus contentType V1beta1CronJob accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType V1beta1CronJob accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
ReplaceNamespacedCronJobStatus contentType V1beta1CronJob accept
-> V1beta1CronJob
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType V1beta1CronJob 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` V1beta1CronJob
body
data ReplaceNamespacedCronJobStatus
instance HasBodyParam ReplaceNamespacedCronJobStatus V1beta1CronJob
instance HasOptionalParam ReplaceNamespacedCronJobStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedCronJobStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedCronJobStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedCronJobStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedCronJobStatus mtype
instance Produces ReplaceNamespacedCronJobStatus MimeJSON
instance Produces ReplaceNamespacedCronJobStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedCronJobStatus MimeYaml