{-# 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.NetworkingV1beta1 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
createNamespacedIngress
:: (Consumes CreateNamespacedIngress contentType, MimeRender contentType NetworkingV1beta1Ingress)
=> ContentType contentType
-> Accept accept
-> NetworkingV1beta1Ingress
-> Namespace
-> KubernetesRequest CreateNamespacedIngress contentType NetworkingV1beta1Ingress accept
createNamespacedIngress :: ContentType contentType
-> Accept accept
-> NetworkingV1beta1Ingress
-> Namespace
-> KubernetesRequest
CreateNamespacedIngress contentType NetworkingV1beta1Ingress accept
createNamespacedIngress ContentType contentType
_ Accept accept
_ NetworkingV1beta1Ingress
body (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
CreateNamespacedIngress contentType NetworkingV1beta1Ingress accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses"]
KubernetesRequest
CreateNamespacedIngress contentType NetworkingV1beta1Ingress accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
CreateNamespacedIngress contentType NetworkingV1beta1Ingress accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
CreateNamespacedIngress contentType NetworkingV1beta1Ingress accept
-> NetworkingV1beta1Ingress
-> KubernetesRequest
CreateNamespacedIngress contentType NetworkingV1beta1Ingress 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` NetworkingV1beta1Ingress
body
data CreateNamespacedIngress
instance HasBodyParam CreateNamespacedIngress NetworkingV1beta1Ingress
instance HasOptionalParam CreateNamespacedIngress Pretty where
applyOptionalParam :: KubernetesRequest CreateNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest CreateNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedIngress contentType res accept
req (Pretty Text
xs) =
KubernetesRequest CreateNamespacedIngress contentType res accept
req KubernetesRequest CreateNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedIngress DryRun where
applyOptionalParam :: KubernetesRequest CreateNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest CreateNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedIngress contentType res accept
req (DryRun Text
xs) =
KubernetesRequest CreateNamespacedIngress contentType res accept
req KubernetesRequest CreateNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedIngress FieldManager where
applyOptionalParam :: KubernetesRequest CreateNamespacedIngress contentType res accept
-> FieldManager
-> KubernetesRequest CreateNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest CreateNamespacedIngress contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest CreateNamespacedIngress contentType res accept
req KubernetesRequest CreateNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest CreateNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 CreateNamespacedIngress mtype
instance Produces CreateNamespacedIngress MimeJSON
instance Produces CreateNamespacedIngress MimeVndKubernetesProtobuf
instance Produces CreateNamespacedIngress MimeYaml
deleteCollectionNamespacedIngress
:: (Consumes DeleteCollectionNamespacedIngress contentType)
=> ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest DeleteCollectionNamespacedIngress contentType V1Status accept
deleteCollectionNamespacedIngress :: ContentType contentType
-> Accept accept
-> Namespace
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType V1Status accept
deleteCollectionNamespacedIngress ContentType contentType
_ Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses"]
KubernetesRequest
DeleteCollectionNamespacedIngress contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress
instance HasBodyParam DeleteCollectionNamespacedIngress V1DeleteOptions
instance HasOptionalParam DeleteCollectionNamespacedIngress Pretty where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedIngress Continue where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> Continue
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (Continue Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedIngress DryRun where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedIngress FieldSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> FieldSelector
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedIngress GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress LabelSelector where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> LabelSelector
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedIngress Limit where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> Limit
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (Limit Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress OrphanDependents where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> OrphanDependents
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress PropagationPolicy where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> PropagationPolicy
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedIngress ResourceVersion where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> ResourceVersion
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteCollectionNamespacedIngress TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
req KubernetesRequest
DeleteCollectionNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
DeleteCollectionNamespacedIngress 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 DeleteCollectionNamespacedIngress mtype
instance Produces DeleteCollectionNamespacedIngress MimeJSON
instance Produces DeleteCollectionNamespacedIngress MimeVndKubernetesProtobuf
instance Produces DeleteCollectionNamespacedIngress MimeYaml
deleteNamespacedIngress
:: (Consumes DeleteNamespacedIngress contentType)
=> ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest DeleteNamespacedIngress contentType V1Status accept
deleteNamespacedIngress :: ContentType contentType
-> Accept accept
-> Name
-> Namespace
-> KubernetesRequest
DeleteNamespacedIngress contentType V1Status accept
deleteNamespacedIngress ContentType contentType
_ Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
DeleteNamespacedIngress contentType V1Status accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
DeleteNamespacedIngress contentType V1Status accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
DeleteNamespacedIngress 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 DeleteNamespacedIngress
instance HasBodyParam DeleteNamespacedIngress V1DeleteOptions
instance HasOptionalParam DeleteNamespacedIngress Pretty where
applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (Pretty Text
xs) =
KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedIngress DryRun where
applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (DryRun Text
xs) =
KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedIngress GracePeriodSeconds where
applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (GracePeriodSeconds Int
xs) =
KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress 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 DeleteNamespacedIngress OrphanDependents where
applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> OrphanDependents
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (OrphanDependents Bool
xs) =
KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress 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 DeleteNamespacedIngress PropagationPolicy where
applyOptionalParam :: KubernetesRequest DeleteNamespacedIngress contentType res accept
-> PropagationPolicy
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest DeleteNamespacedIngress contentType res accept
req (PropagationPolicy Text
xs) =
KubernetesRequest DeleteNamespacedIngress contentType res accept
req KubernetesRequest DeleteNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest DeleteNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 DeleteNamespacedIngress mtype
instance Produces DeleteNamespacedIngress MimeJSON
instance Produces DeleteNamespacedIngress MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedIngress 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/networking.k8s.io/v1beta1/"]
KubernetesRequest
GetAPIResources MimeNoContent V1APIResourceList accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
GetAPIResources MimeNoContent V1APIResourceList accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetAPIResources
instance Produces GetAPIResources MimeJSON
instance Produces GetAPIResources MimeVndKubernetesProtobuf
instance Produces GetAPIResources MimeYaml
listIngressForAllNamespaces
:: Accept accept
-> KubernetesRequest ListIngressForAllNamespaces MimeNoContent NetworkingV1beta1IngressList accept
listIngressForAllNamespaces :: Accept accept
-> KubernetesRequest
ListIngressForAllNamespaces
MimeNoContent
NetworkingV1beta1IngressList
accept
listIngressForAllNamespaces Accept accept
_ =
Method
-> [ByteString]
-> KubernetesRequest
ListIngressForAllNamespaces
MimeNoContent
NetworkingV1beta1IngressList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/networking.k8s.io/v1beta1/ingresses"]
KubernetesRequest
ListIngressForAllNamespaces
MimeNoContent
NetworkingV1beta1IngressList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListIngressForAllNamespaces
MimeNoContent
NetworkingV1beta1IngressList
accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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 ListIngressForAllNamespaces
instance HasOptionalParam ListIngressForAllNamespaces AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces 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 ListIngressForAllNamespaces Continue where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> Continue
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (Continue Text
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListIngressForAllNamespaces FieldSelector where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> FieldSelector
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListIngressForAllNamespaces LabelSelector where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> LabelSelector
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListIngressForAllNamespaces Limit where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> Limit
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (Limit Int
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces 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 ListIngressForAllNamespaces Pretty where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> Pretty
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListIngressForAllNamespaces ResourceVersion where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> ResourceVersion
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListIngressForAllNamespaces TimeoutSeconds where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces 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 ListIngressForAllNamespaces Watch where
applyOptionalParam :: KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> Watch
-> KubernetesRequest
ListIngressForAllNamespaces contentType res accept
applyOptionalParam KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req (Watch Bool
xs) =
KubernetesRequest
ListIngressForAllNamespaces contentType res accept
req KubernetesRequest
ListIngressForAllNamespaces contentType res accept
-> [QueryItem]
-> KubernetesRequest
ListIngressForAllNamespaces 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 ListIngressForAllNamespaces MimeJSON
instance Produces ListIngressForAllNamespaces MimeJsonstreamwatch
instance Produces ListIngressForAllNamespaces MimeVndKubernetesProtobuf
instance Produces ListIngressForAllNamespaces MimeVndKubernetesProtobufstreamwatch
instance Produces ListIngressForAllNamespaces MimeYaml
listNamespacedIngress
:: Accept accept
-> Namespace
-> KubernetesRequest ListNamespacedIngress MimeNoContent NetworkingV1beta1IngressList accept
listNamespacedIngress :: Accept accept
-> Namespace
-> KubernetesRequest
ListNamespacedIngress
MimeNoContent
NetworkingV1beta1IngressList
accept
listNamespacedIngress Accept accept
_ (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ListNamespacedIngress
MimeNoContent
NetworkingV1beta1IngressList
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses"]
KubernetesRequest
ListNamespacedIngress
MimeNoContent
NetworkingV1beta1IngressList
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ListNamespacedIngress
MimeNoContent
NetworkingV1beta1IngressList
accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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 ListNamespacedIngress
instance HasOptionalParam ListNamespacedIngress Pretty where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedIngress AllowWatchBookmarks where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> AllowWatchBookmarks
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (AllowWatchBookmarks Bool
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress Continue where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> Continue
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (Continue Text
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedIngress FieldSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> FieldSelector
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (FieldSelector Text
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedIngress LabelSelector where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> LabelSelector
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (LabelSelector Text
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedIngress Limit where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> Limit
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (Limit Int
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress ResourceVersion where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> ResourceVersion
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (ResourceVersion Text
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ListNamespacedIngress TimeoutSeconds where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (TimeoutSeconds Int
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress Watch where
applyOptionalParam :: KubernetesRequest ListNamespacedIngress contentType res accept
-> Watch
-> KubernetesRequest ListNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedIngress contentType res accept
req (Watch Bool
xs) =
KubernetesRequest ListNamespacedIngress contentType res accept
req KubernetesRequest ListNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ListNamespacedIngress 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 ListNamespacedIngress MimeJSON
instance Produces ListNamespacedIngress MimeJsonstreamwatch
instance Produces ListNamespacedIngress MimeVndKubernetesProtobuf
instance Produces ListNamespacedIngress MimeVndKubernetesProtobufstreamwatch
instance Produces ListNamespacedIngress MimeYaml
patchNamespacedIngress
:: (Consumes PatchNamespacedIngress contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedIngress contentType NetworkingV1beta1Ingress accept
patchNamespacedIngress :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedIngress contentType NetworkingV1beta1Ingress accept
patchNamespacedIngress ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedIngress contentType NetworkingV1beta1Ingress accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
PatchNamespacedIngress contentType NetworkingV1beta1Ingress accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedIngress contentType NetworkingV1beta1Ingress accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
PatchNamespacedIngress contentType NetworkingV1beta1Ingress accept
-> Body
-> KubernetesRequest
PatchNamespacedIngress contentType NetworkingV1beta1Ingress 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 PatchNamespacedIngress
instance HasBodyParam PatchNamespacedIngress Body
instance HasOptionalParam PatchNamespacedIngress Pretty where
applyOptionalParam :: KubernetesRequest PatchNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest PatchNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedIngress contentType res accept
req (Pretty Text
xs) =
KubernetesRequest PatchNamespacedIngress contentType res accept
req KubernetesRequest PatchNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedIngress DryRun where
applyOptionalParam :: KubernetesRequest PatchNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest PatchNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedIngress contentType res accept
req (DryRun Text
xs) =
KubernetesRequest PatchNamespacedIngress contentType res accept
req KubernetesRequest PatchNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedIngress FieldManager where
applyOptionalParam :: KubernetesRequest PatchNamespacedIngress contentType res accept
-> FieldManager
-> KubernetesRequest PatchNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedIngress contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest PatchNamespacedIngress contentType res accept
req KubernetesRequest PatchNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedIngress Force where
applyOptionalParam :: KubernetesRequest PatchNamespacedIngress contentType res accept
-> Force
-> KubernetesRequest PatchNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest PatchNamespacedIngress contentType res accept
req (Force Bool
xs) =
KubernetesRequest PatchNamespacedIngress contentType res accept
req KubernetesRequest PatchNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest PatchNamespacedIngress 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 PatchNamespacedIngress MimeApplyPatchyaml
instance Consumes PatchNamespacedIngress MimeJsonPatchjson
instance Consumes PatchNamespacedIngress MimeMergePatchjson
instance Consumes PatchNamespacedIngress MimeStrategicMergePatchjson
instance Produces PatchNamespacedIngress MimeJSON
instance Produces PatchNamespacedIngress MimeVndKubernetesProtobuf
instance Produces PatchNamespacedIngress MimeYaml
patchNamespacedIngressStatus
:: (Consumes PatchNamespacedIngressStatus contentType, MimeRender contentType Body)
=> ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest PatchNamespacedIngressStatus contentType NetworkingV1beta1Ingress accept
patchNamespacedIngressStatus :: ContentType contentType
-> Accept accept
-> Body
-> Name
-> Namespace
-> KubernetesRequest
PatchNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
patchNamespacedIngressStatus ContentType contentType
_ Accept accept
_ Body
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
PatchNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
PatchNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
PatchNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
PatchNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
-> Body
-> KubernetesRequest
PatchNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
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 PatchNamespacedIngressStatus
instance HasBodyParam PatchNamespacedIngressStatus Body
instance HasOptionalParam PatchNamespacedIngressStatus Pretty where
applyOptionalParam :: KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
-> Pretty
-> KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
req KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedIngressStatus DryRun where
applyOptionalParam :: KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
-> DryRun
-> KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
req KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedIngressStatus FieldManager where
applyOptionalParam :: KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
-> FieldManager
-> KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
req KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 PatchNamespacedIngressStatus Force where
applyOptionalParam :: KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
-> Force
-> KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
req (Force Bool
xs) =
KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
req KubernetesRequest
PatchNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
PatchNamespacedIngressStatus 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 PatchNamespacedIngressStatus MimeApplyPatchyaml
instance Consumes PatchNamespacedIngressStatus MimeJsonPatchjson
instance Consumes PatchNamespacedIngressStatus MimeMergePatchjson
instance Consumes PatchNamespacedIngressStatus MimeStrategicMergePatchjson
instance Produces PatchNamespacedIngressStatus MimeJSON
instance Produces PatchNamespacedIngressStatus MimeVndKubernetesProtobuf
instance Produces PatchNamespacedIngressStatus MimeYaml
readNamespacedIngress
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedIngress MimeNoContent NetworkingV1beta1Ingress accept
readNamespacedIngress :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedIngress MimeNoContent NetworkingV1beta1Ingress accept
readNamespacedIngress Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedIngress MimeNoContent NetworkingV1beta1Ingress accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReadNamespacedIngress MimeNoContent NetworkingV1beta1Ingress accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedIngress MimeNoContent NetworkingV1beta1Ingress accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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 ReadNamespacedIngress
instance HasOptionalParam ReadNamespacedIngress Pretty where
applyOptionalParam :: KubernetesRequest ReadNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest ReadNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedIngress contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReadNamespacedIngress contentType res accept
req KubernetesRequest ReadNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedIngress Exact where
applyOptionalParam :: KubernetesRequest ReadNamespacedIngress contentType res accept
-> Exact
-> KubernetesRequest ReadNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedIngress contentType res accept
req (Exact Bool
xs) =
KubernetesRequest ReadNamespacedIngress contentType res accept
req KubernetesRequest ReadNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedIngress 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 ReadNamespacedIngress Export where
applyOptionalParam :: KubernetesRequest ReadNamespacedIngress contentType res accept
-> Export
-> KubernetesRequest ReadNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReadNamespacedIngress contentType res accept
req (Export Bool
xs) =
KubernetesRequest ReadNamespacedIngress contentType res accept
req KubernetesRequest ReadNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest ReadNamespacedIngress 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 ReadNamespacedIngress MimeJSON
instance Produces ReadNamespacedIngress MimeVndKubernetesProtobuf
instance Produces ReadNamespacedIngress MimeYaml
readNamespacedIngressStatus
:: Accept accept
-> Name
-> Namespace
-> KubernetesRequest ReadNamespacedIngressStatus MimeNoContent NetworkingV1beta1Ingress accept
readNamespacedIngressStatus :: Accept accept
-> Name
-> Namespace
-> KubernetesRequest
ReadNamespacedIngressStatus
MimeNoContent
NetworkingV1beta1Ingress
accept
readNamespacedIngressStatus Accept accept
_ (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReadNamespacedIngressStatus
MimeNoContent
NetworkingV1beta1Ingress
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReadNamespacedIngressStatus
MimeNoContent
NetworkingV1beta1Ingress
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReadNamespacedIngressStatus
MimeNoContent
NetworkingV1beta1Ingress
accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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 ReadNamespacedIngressStatus
instance HasOptionalParam ReadNamespacedIngressStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReadNamespacedIngressStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReadNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
ReadNamespacedIngressStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReadNamespacedIngressStatus contentType res accept
req KubernetesRequest
ReadNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReadNamespacedIngressStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReadNamespacedIngressStatus MimeJSON
instance Produces ReadNamespacedIngressStatus MimeVndKubernetesProtobuf
instance Produces ReadNamespacedIngressStatus MimeYaml
replaceNamespacedIngress
:: (Consumes ReplaceNamespacedIngress contentType, MimeRender contentType NetworkingV1beta1Ingress)
=> ContentType contentType
-> Accept accept
-> NetworkingV1beta1Ingress
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedIngress contentType NetworkingV1beta1Ingress accept
replaceNamespacedIngress :: ContentType contentType
-> Accept accept
-> NetworkingV1beta1Ingress
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedIngress
contentType
NetworkingV1beta1Ingress
accept
replaceNamespacedIngress ContentType contentType
_ Accept accept
_ NetworkingV1beta1Ingress
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedIngress
contentType
NetworkingV1beta1Ingress
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
KubernetesRequest
ReplaceNamespacedIngress
contentType
NetworkingV1beta1Ingress
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedIngress
contentType
NetworkingV1beta1Ingress
accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
ReplaceNamespacedIngress
contentType
NetworkingV1beta1Ingress
accept
-> NetworkingV1beta1Ingress
-> KubernetesRequest
ReplaceNamespacedIngress
contentType
NetworkingV1beta1Ingress
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` NetworkingV1beta1Ingress
body
data ReplaceNamespacedIngress
instance HasBodyParam ReplaceNamespacedIngress NetworkingV1beta1Ingress
instance HasOptionalParam ReplaceNamespacedIngress Pretty where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedIngress contentType res accept
req (Pretty Text
xs) =
KubernetesRequest ReplaceNamespacedIngress contentType res accept
req KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedIngress DryRun where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedIngress contentType res accept
req (DryRun Text
xs) =
KubernetesRequest ReplaceNamespacedIngress contentType res accept
req KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedIngress FieldManager where
applyOptionalParam :: KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedIngress contentType res accept
applyOptionalParam KubernetesRequest ReplaceNamespacedIngress contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest ReplaceNamespacedIngress contentType res accept
req KubernetesRequest ReplaceNamespacedIngress contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedIngress contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedIngress mtype
instance Produces ReplaceNamespacedIngress MimeJSON
instance Produces ReplaceNamespacedIngress MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedIngress MimeYaml
replaceNamespacedIngressStatus
:: (Consumes ReplaceNamespacedIngressStatus contentType, MimeRender contentType NetworkingV1beta1Ingress)
=> ContentType contentType
-> Accept accept
-> NetworkingV1beta1Ingress
-> Name
-> Namespace
-> KubernetesRequest ReplaceNamespacedIngressStatus contentType NetworkingV1beta1Ingress accept
replaceNamespacedIngressStatus :: ContentType contentType
-> Accept accept
-> NetworkingV1beta1Ingress
-> Name
-> Namespace
-> KubernetesRequest
ReplaceNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
replaceNamespacedIngressStatus ContentType contentType
_ Accept accept
_ NetworkingV1beta1Ingress
body (Name Text
name) (Namespace Text
namespace) =
Method
-> [ByteString]
-> KubernetesRequest
ReplaceNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/networking.k8s.io/v1beta1/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/ingresses/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
KubernetesRequest
ReplaceNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
ReplaceNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req 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
ReplaceNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
accept
-> NetworkingV1beta1Ingress
-> KubernetesRequest
ReplaceNamespacedIngressStatus
contentType
NetworkingV1beta1Ingress
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` NetworkingV1beta1Ingress
body
data ReplaceNamespacedIngressStatus
instance HasBodyParam ReplaceNamespacedIngressStatus NetworkingV1beta1Ingress
instance HasOptionalParam ReplaceNamespacedIngressStatus Pretty where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
-> Pretty
-> KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
req (Pretty Text
xs) =
KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedIngressStatus DryRun where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
-> DryRun
-> KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
req (DryRun Text
xs) =
KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedIngressStatus FieldManager where
applyOptionalParam :: KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
-> FieldManager
-> KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
applyOptionalParam KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
req (FieldManager Text
xs) =
KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
req KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
ReplaceNamespacedIngressStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req 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 ReplaceNamespacedIngressStatus mtype
instance Produces ReplaceNamespacedIngressStatus MimeJSON
instance Produces ReplaceNamespacedIngressStatus MimeVndKubernetesProtobuf
instance Produces ReplaceNamespacedIngressStatus MimeYaml