1963 lines
110 KiB
Haskell
1963 lines
110 KiB
Haskell
{-
|
|
Kubernetes
|
|
|
|
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
|
|
OpenAPI spec version: 2.0
|
|
Kubernetes API version: v1.9.12
|
|
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
-}
|
|
|
|
{-|
|
|
Module : Kubernetes.OpenAPI.API.AppsV1beta1
|
|
-}
|
|
|
|
{-# 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.AppsV1beta1 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
|
|
|
|
-- * Operations
|
|
|
|
|
|
-- ** AppsV1beta1
|
|
|
|
-- *** createNamespacedControllerRevision
|
|
|
|
-- | @POST \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions@
|
|
--
|
|
-- create a ControllerRevision
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
createNamespacedControllerRevision
|
|
:: (Consumes CreateNamespacedControllerRevision contentType, MimeRender contentType V1beta1ControllerRevision)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> V1beta1ControllerRevision -- ^ "body"
|
|
-> KubernetesRequest CreateNamespacedControllerRevision contentType V1beta1ControllerRevision accept
|
|
createNamespacedControllerRevision _ _ (Namespace namespace) body =
|
|
_mkRequest "POST" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/controllerrevisions"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data CreateNamespacedControllerRevision
|
|
instance HasBodyParam CreateNamespacedControllerRevision V1beta1ControllerRevision
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam CreateNamespacedControllerRevision Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes CreateNamespacedControllerRevision mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces CreateNamespacedControllerRevision MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces CreateNamespacedControllerRevision MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces CreateNamespacedControllerRevision MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** createNamespacedDeployment
|
|
|
|
-- | @POST \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments@
|
|
--
|
|
-- create a Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
createNamespacedDeployment
|
|
:: (Consumes CreateNamespacedDeployment contentType, MimeRender contentType AppsV1beta1Deployment)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> AppsV1beta1Deployment -- ^ "body"
|
|
-> KubernetesRequest CreateNamespacedDeployment contentType AppsV1beta1Deployment accept
|
|
createNamespacedDeployment _ _ (Namespace namespace) body =
|
|
_mkRequest "POST" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data CreateNamespacedDeployment
|
|
instance HasBodyParam CreateNamespacedDeployment AppsV1beta1Deployment
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam CreateNamespacedDeployment Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes CreateNamespacedDeployment mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces CreateNamespacedDeployment MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces CreateNamespacedDeployment MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces CreateNamespacedDeployment MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** createNamespacedDeploymentRollback
|
|
|
|
-- | @POST \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/rollback@
|
|
--
|
|
-- create rollback of a Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
createNamespacedDeploymentRollback
|
|
:: (Consumes CreateNamespacedDeploymentRollback contentType, MimeRender contentType AppsV1beta1DeploymentRollback)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the DeploymentRollback
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> AppsV1beta1DeploymentRollback -- ^ "body"
|
|
-> KubernetesRequest CreateNamespacedDeploymentRollback contentType AppsV1beta1DeploymentRollback accept
|
|
createNamespacedDeploymentRollback _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "POST" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name,"/rollback"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data CreateNamespacedDeploymentRollback
|
|
instance HasBodyParam CreateNamespacedDeploymentRollback AppsV1beta1DeploymentRollback
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam CreateNamespacedDeploymentRollback Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes CreateNamespacedDeploymentRollback mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces CreateNamespacedDeploymentRollback MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces CreateNamespacedDeploymentRollback MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces CreateNamespacedDeploymentRollback MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** createNamespacedStatefulSet
|
|
|
|
-- | @POST \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets@
|
|
--
|
|
-- create a StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
createNamespacedStatefulSet
|
|
:: (Consumes CreateNamespacedStatefulSet contentType, MimeRender contentType V1beta1StatefulSet)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> V1beta1StatefulSet -- ^ "body"
|
|
-> KubernetesRequest CreateNamespacedStatefulSet contentType V1beta1StatefulSet accept
|
|
createNamespacedStatefulSet _ _ (Namespace namespace) body =
|
|
_mkRequest "POST" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data CreateNamespacedStatefulSet
|
|
instance HasBodyParam CreateNamespacedStatefulSet V1beta1StatefulSet
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam CreateNamespacedStatefulSet Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes CreateNamespacedStatefulSet mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces CreateNamespacedStatefulSet MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces CreateNamespacedStatefulSet MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces CreateNamespacedStatefulSet MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** deleteCollectionNamespacedControllerRevision
|
|
|
|
-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions@
|
|
--
|
|
-- delete collection of ControllerRevision
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteCollectionNamespacedControllerRevision
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteCollectionNamespacedControllerRevision MimeNoContent V1Status accept
|
|
deleteCollectionNamespacedControllerRevision _ (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/controllerrevisions"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteCollectionNamespacedControllerRevision
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteCollectionNamespacedControllerRevision mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteCollectionNamespacedControllerRevision MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces DeleteCollectionNamespacedControllerRevision MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteCollectionNamespacedControllerRevision MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** deleteCollectionNamespacedDeployment
|
|
|
|
-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments@
|
|
--
|
|
-- delete collection of Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteCollectionNamespacedDeployment
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteCollectionNamespacedDeployment MimeNoContent V1Status accept
|
|
deleteCollectionNamespacedDeployment _ (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteCollectionNamespacedDeployment
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam DeleteCollectionNamespacedDeployment Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteCollectionNamespacedDeployment mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteCollectionNamespacedDeployment MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces DeleteCollectionNamespacedDeployment MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteCollectionNamespacedDeployment MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** deleteCollectionNamespacedStatefulSet
|
|
|
|
-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets@
|
|
--
|
|
-- delete collection of StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteCollectionNamespacedStatefulSet
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteCollectionNamespacedStatefulSet MimeNoContent V1Status accept
|
|
deleteCollectionNamespacedStatefulSet _ (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteCollectionNamespacedStatefulSet
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteCollectionNamespacedStatefulSet mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteCollectionNamespacedStatefulSet MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces DeleteCollectionNamespacedStatefulSet MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteCollectionNamespacedStatefulSet MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** deleteNamespacedControllerRevision
|
|
|
|
-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions\/{name}@
|
|
--
|
|
-- delete a ControllerRevision
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteNamespacedControllerRevision
|
|
:: (Consumes DeleteNamespacedControllerRevision contentType, MimeRender contentType V1DeleteOptions)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ControllerRevision
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> V1DeleteOptions -- ^ "body"
|
|
-> KubernetesRequest DeleteNamespacedControllerRevision contentType V1Status accept
|
|
deleteNamespacedControllerRevision _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/controllerrevisions/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data DeleteNamespacedControllerRevision
|
|
instance HasBodyParam DeleteNamespacedControllerRevision V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteNamespacedControllerRevision Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
|
instance HasOptionalParam DeleteNamespacedControllerRevision GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `setQuery` toQuery ("gracePeriodSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
|
instance HasOptionalParam DeleteNamespacedControllerRevision OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `setQuery` toQuery ("orphanDependents", Just xs)
|
|
|
|
-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
|
instance HasOptionalParam DeleteNamespacedControllerRevision PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `setQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteNamespacedControllerRevision mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteNamespacedControllerRevision MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces DeleteNamespacedControllerRevision MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteNamespacedControllerRevision MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** deleteNamespacedDeployment
|
|
|
|
-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
|
|
--
|
|
-- delete a Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteNamespacedDeployment
|
|
:: (Consumes DeleteNamespacedDeployment contentType, MimeRender contentType V1DeleteOptions)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Deployment
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> V1DeleteOptions -- ^ "body"
|
|
-> KubernetesRequest DeleteNamespacedDeployment contentType V1Status accept
|
|
deleteNamespacedDeployment _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data DeleteNamespacedDeployment
|
|
instance HasBodyParam DeleteNamespacedDeployment V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteNamespacedDeployment Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
|
instance HasOptionalParam DeleteNamespacedDeployment GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `setQuery` toQuery ("gracePeriodSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
|
instance HasOptionalParam DeleteNamespacedDeployment OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `setQuery` toQuery ("orphanDependents", Just xs)
|
|
|
|
-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
|
instance HasOptionalParam DeleteNamespacedDeployment PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `setQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteNamespacedDeployment mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteNamespacedDeployment MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces DeleteNamespacedDeployment MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteNamespacedDeployment MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** deleteNamespacedStatefulSet
|
|
|
|
-- | @DELETE \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}@
|
|
--
|
|
-- delete a StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteNamespacedStatefulSet
|
|
:: (Consumes DeleteNamespacedStatefulSet contentType, MimeRender contentType V1DeleteOptions)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the StatefulSet
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> V1DeleteOptions -- ^ "body"
|
|
-> KubernetesRequest DeleteNamespacedStatefulSet contentType V1Status accept
|
|
deleteNamespacedStatefulSet _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data DeleteNamespacedStatefulSet
|
|
instance HasBodyParam DeleteNamespacedStatefulSet V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteNamespacedStatefulSet Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
|
instance HasOptionalParam DeleteNamespacedStatefulSet GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `setQuery` toQuery ("gracePeriodSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
|
instance HasOptionalParam DeleteNamespacedStatefulSet OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `setQuery` toQuery ("orphanDependents", Just xs)
|
|
|
|
-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
|
instance HasOptionalParam DeleteNamespacedStatefulSet PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `setQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteNamespacedStatefulSet mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteNamespacedStatefulSet MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces DeleteNamespacedStatefulSet MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteNamespacedStatefulSet MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** getAPIResources
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/@
|
|
--
|
|
-- get available resources
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
getAPIResources
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept
|
|
getAPIResources _ =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data GetAPIResources
|
|
|
|
-- | @application/json@
|
|
instance Consumes GetAPIResources MimeJSON
|
|
-- | @application/yaml@
|
|
instance Consumes GetAPIResources MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Consumes GetAPIResources MimeVndKubernetesProtobuf
|
|
|
|
-- | @application/json@
|
|
instance Produces GetAPIResources MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces GetAPIResources MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces GetAPIResources MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** listControllerRevisionForAllNamespaces
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/controllerrevisions@
|
|
--
|
|
-- list or watch objects of kind ControllerRevision
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listControllerRevisionForAllNamespaces
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest ListControllerRevisionForAllNamespaces MimeNoContent V1beta1ControllerRevisionList accept
|
|
listControllerRevisionForAllNamespaces _ =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/controllerrevisions"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListControllerRevisionForAllNamespaces
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam ListControllerRevisionForAllNamespaces Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ListControllerRevisionForAllNamespaces mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ListControllerRevisionForAllNamespaces MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ListControllerRevisionForAllNamespaces MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListControllerRevisionForAllNamespaces MimeVndKubernetesProtobuf
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListControllerRevisionForAllNamespaces MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListControllerRevisionForAllNamespaces MimeVndKubernetesProtobufstreamwatch
|
|
|
|
|
|
-- *** listDeploymentForAllNamespaces
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/deployments@
|
|
--
|
|
-- list or watch objects of kind Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listDeploymentForAllNamespaces
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest ListDeploymentForAllNamespaces MimeNoContent AppsV1beta1DeploymentList accept
|
|
listDeploymentForAllNamespaces _ =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/deployments"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListDeploymentForAllNamespaces
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam ListDeploymentForAllNamespaces Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ListDeploymentForAllNamespaces mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ListDeploymentForAllNamespaces MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ListDeploymentForAllNamespaces MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListDeploymentForAllNamespaces MimeVndKubernetesProtobuf
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListDeploymentForAllNamespaces MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListDeploymentForAllNamespaces MimeVndKubernetesProtobufstreamwatch
|
|
|
|
|
|
-- *** listNamespacedControllerRevision
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions@
|
|
--
|
|
-- list or watch objects of kind ControllerRevision
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listNamespacedControllerRevision
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ListNamespacedControllerRevision MimeNoContent V1beta1ControllerRevisionList accept
|
|
listNamespacedControllerRevision _ (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/controllerrevisions"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListNamespacedControllerRevision
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListNamespacedControllerRevision Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam ListNamespacedControllerRevision Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedControllerRevision FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam ListNamespacedControllerRevision IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedControllerRevision LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam ListNamespacedControllerRevision Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam ListNamespacedControllerRevision ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam ListNamespacedControllerRevision TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam ListNamespacedControllerRevision Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ListNamespacedControllerRevision mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ListNamespacedControllerRevision MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ListNamespacedControllerRevision MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListNamespacedControllerRevision MimeVndKubernetesProtobuf
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListNamespacedControllerRevision MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListNamespacedControllerRevision MimeVndKubernetesProtobufstreamwatch
|
|
|
|
|
|
-- *** listNamespacedDeployment
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments@
|
|
--
|
|
-- list or watch objects of kind Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listNamespacedDeployment
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ListNamespacedDeployment MimeNoContent AppsV1beta1DeploymentList accept
|
|
listNamespacedDeployment _ (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListNamespacedDeployment
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListNamespacedDeployment Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam ListNamespacedDeployment Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedDeployment FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam ListNamespacedDeployment IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedDeployment LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam ListNamespacedDeployment Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam ListNamespacedDeployment ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam ListNamespacedDeployment TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam ListNamespacedDeployment Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ListNamespacedDeployment mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ListNamespacedDeployment MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ListNamespacedDeployment MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListNamespacedDeployment MimeVndKubernetesProtobuf
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListNamespacedDeployment MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListNamespacedDeployment MimeVndKubernetesProtobufstreamwatch
|
|
|
|
|
|
-- *** listNamespacedStatefulSet
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets@
|
|
--
|
|
-- list or watch objects of kind StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listNamespacedStatefulSet
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ListNamespacedStatefulSet MimeNoContent V1beta1StatefulSetList accept
|
|
listNamespacedStatefulSet _ (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListNamespacedStatefulSet
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListNamespacedStatefulSet Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam ListNamespacedStatefulSet Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedStatefulSet FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam ListNamespacedStatefulSet IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedStatefulSet LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam ListNamespacedStatefulSet Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam ListNamespacedStatefulSet ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam ListNamespacedStatefulSet TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam ListNamespacedStatefulSet Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ListNamespacedStatefulSet mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ListNamespacedStatefulSet MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ListNamespacedStatefulSet MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListNamespacedStatefulSet MimeVndKubernetesProtobuf
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListNamespacedStatefulSet MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListNamespacedStatefulSet MimeVndKubernetesProtobufstreamwatch
|
|
|
|
|
|
-- *** listStatefulSetForAllNamespaces
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/statefulsets@
|
|
--
|
|
-- list or watch objects of kind StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listStatefulSetForAllNamespaces
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest ListStatefulSetForAllNamespaces MimeNoContent V1beta1StatefulSetList accept
|
|
listStatefulSetForAllNamespaces _ =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/statefulsets"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListStatefulSetForAllNamespaces
|
|
|
|
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `setQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `setQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces IncludeUninitialized where
|
|
applyOptionalParam req (IncludeUninitialized xs) =
|
|
req `setQuery` toQuery ("includeUninitialized", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `setQuery` toQuery ("labelSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `setQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `setQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `setQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
instance HasOptionalParam ListStatefulSetForAllNamespaces Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `setQuery` toQuery ("watch", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ListStatefulSetForAllNamespaces mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ListStatefulSetForAllNamespaces MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ListStatefulSetForAllNamespaces MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListStatefulSetForAllNamespaces MimeVndKubernetesProtobuf
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListStatefulSetForAllNamespaces MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListStatefulSetForAllNamespaces MimeVndKubernetesProtobufstreamwatch
|
|
|
|
|
|
-- *** patchNamespacedControllerRevision
|
|
|
|
-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions\/{name}@
|
|
--
|
|
-- partially update the specified ControllerRevision
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedControllerRevision
|
|
:: (Consumes PatchNamespacedControllerRevision contentType, MimeRender contentType A.Value)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ControllerRevision
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> A.Value -- ^ "body"
|
|
-> KubernetesRequest PatchNamespacedControllerRevision contentType V1beta1ControllerRevision accept
|
|
patchNamespacedControllerRevision _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PATCH" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/controllerrevisions/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedControllerRevision
|
|
instance HasBodyParam PatchNamespacedControllerRevision A.Value
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedControllerRevision Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedControllerRevision MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedControllerRevision MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedControllerRevision MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedControllerRevision MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedControllerRevision MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedControllerRevision MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** patchNamespacedDeployment
|
|
|
|
-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
|
|
--
|
|
-- partially update the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedDeployment
|
|
:: (Consumes PatchNamespacedDeployment contentType, MimeRender contentType A.Value)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Deployment
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> A.Value -- ^ "body"
|
|
-> KubernetesRequest PatchNamespacedDeployment contentType AppsV1beta1Deployment accept
|
|
patchNamespacedDeployment _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PATCH" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedDeployment
|
|
instance HasBodyParam PatchNamespacedDeployment A.Value
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedDeployment Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedDeployment MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedDeployment MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedDeployment MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedDeployment MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedDeployment MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedDeployment MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** patchNamespacedDeploymentScale
|
|
|
|
-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/scale@
|
|
--
|
|
-- partially update scale of the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedDeploymentScale
|
|
:: (Consumes PatchNamespacedDeploymentScale contentType, MimeRender contentType A.Value)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Scale
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> A.Value -- ^ "body"
|
|
-> KubernetesRequest PatchNamespacedDeploymentScale contentType AppsV1beta1Scale accept
|
|
patchNamespacedDeploymentScale _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PATCH" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name,"/scale"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedDeploymentScale
|
|
instance HasBodyParam PatchNamespacedDeploymentScale A.Value
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedDeploymentScale Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedDeploymentScale MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedDeploymentScale MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedDeploymentScale MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedDeploymentScale MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedDeploymentScale MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedDeploymentScale MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** patchNamespacedDeploymentStatus
|
|
|
|
-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/status@
|
|
--
|
|
-- partially update status of the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedDeploymentStatus
|
|
:: (Consumes PatchNamespacedDeploymentStatus contentType, MimeRender contentType A.Value)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Deployment
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> A.Value -- ^ "body"
|
|
-> KubernetesRequest PatchNamespacedDeploymentStatus contentType AppsV1beta1Deployment accept
|
|
patchNamespacedDeploymentStatus _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PATCH" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedDeploymentStatus
|
|
instance HasBodyParam PatchNamespacedDeploymentStatus A.Value
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedDeploymentStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedDeploymentStatus MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedDeploymentStatus MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedDeploymentStatus MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedDeploymentStatus MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedDeploymentStatus MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedDeploymentStatus MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** patchNamespacedStatefulSet
|
|
|
|
-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}@
|
|
--
|
|
-- partially update the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedStatefulSet
|
|
:: (Consumes PatchNamespacedStatefulSet contentType, MimeRender contentType A.Value)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the StatefulSet
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> A.Value -- ^ "body"
|
|
-> KubernetesRequest PatchNamespacedStatefulSet contentType V1beta1StatefulSet accept
|
|
patchNamespacedStatefulSet _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PATCH" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedStatefulSet
|
|
instance HasBodyParam PatchNamespacedStatefulSet A.Value
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedStatefulSet Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSet MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSet MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSet MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedStatefulSet MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedStatefulSet MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedStatefulSet MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** patchNamespacedStatefulSetScale
|
|
|
|
-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/scale@
|
|
--
|
|
-- partially update scale of the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedStatefulSetScale
|
|
:: (Consumes PatchNamespacedStatefulSetScale contentType, MimeRender contentType A.Value)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Scale
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> A.Value -- ^ "body"
|
|
-> KubernetesRequest PatchNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
|
|
patchNamespacedStatefulSetScale _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PATCH" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name,"/scale"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedStatefulSetScale
|
|
instance HasBodyParam PatchNamespacedStatefulSetScale A.Value
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedStatefulSetScale Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSetScale MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSetScale MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSetScale MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedStatefulSetScale MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedStatefulSetScale MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedStatefulSetScale MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** patchNamespacedStatefulSetStatus
|
|
|
|
-- | @PATCH \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/status@
|
|
--
|
|
-- partially update status of the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedStatefulSetStatus
|
|
:: (Consumes PatchNamespacedStatefulSetStatus contentType, MimeRender contentType A.Value)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the StatefulSet
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> A.Value -- ^ "body"
|
|
-> KubernetesRequest PatchNamespacedStatefulSetStatus contentType V1beta1StatefulSet accept
|
|
patchNamespacedStatefulSetStatus _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PATCH" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedStatefulSetStatus
|
|
instance HasBodyParam PatchNamespacedStatefulSetStatus A.Value
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedStatefulSetStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSetStatus MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSetStatus MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedStatefulSetStatus MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedStatefulSetStatus MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedStatefulSetStatus MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedStatefulSetStatus MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** readNamespacedControllerRevision
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions\/{name}@
|
|
--
|
|
-- read the specified ControllerRevision
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedControllerRevision
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ControllerRevision
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedControllerRevision MimeNoContent V1beta1ControllerRevision accept
|
|
readNamespacedControllerRevision _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/controllerrevisions/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedControllerRevision
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedControllerRevision Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "exact" - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
instance HasOptionalParam ReadNamespacedControllerRevision Exact where
|
|
applyOptionalParam req (Exact xs) =
|
|
req `setQuery` toQuery ("exact", Just xs)
|
|
|
|
-- | /Optional Param/ "export" - Should this value be exported. Export strips fields that a user can not specify.
|
|
instance HasOptionalParam ReadNamespacedControllerRevision Export where
|
|
applyOptionalParam req (Export xs) =
|
|
req `setQuery` toQuery ("export", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReadNamespacedControllerRevision mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedControllerRevision MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedControllerRevision MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedControllerRevision MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** readNamespacedDeployment
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
|
|
--
|
|
-- read the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedDeployment
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Deployment
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedDeployment MimeNoContent AppsV1beta1Deployment accept
|
|
readNamespacedDeployment _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedDeployment
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedDeployment Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "exact" - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
instance HasOptionalParam ReadNamespacedDeployment Exact where
|
|
applyOptionalParam req (Exact xs) =
|
|
req `setQuery` toQuery ("exact", Just xs)
|
|
|
|
-- | /Optional Param/ "export" - Should this value be exported. Export strips fields that a user can not specify.
|
|
instance HasOptionalParam ReadNamespacedDeployment Export where
|
|
applyOptionalParam req (Export xs) =
|
|
req `setQuery` toQuery ("export", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReadNamespacedDeployment mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedDeployment MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedDeployment MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedDeployment MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** readNamespacedDeploymentScale
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/scale@
|
|
--
|
|
-- read scale of the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedDeploymentScale
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Scale
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedDeploymentScale MimeNoContent AppsV1beta1Scale accept
|
|
readNamespacedDeploymentScale _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name,"/scale"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedDeploymentScale
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedDeploymentScale Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReadNamespacedDeploymentScale mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedDeploymentScale MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedDeploymentScale MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedDeploymentScale MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** readNamespacedDeploymentStatus
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/status@
|
|
--
|
|
-- read status of the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedDeploymentStatus
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Deployment
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedDeploymentStatus MimeNoContent AppsV1beta1Deployment accept
|
|
readNamespacedDeploymentStatus _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedDeploymentStatus
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedDeploymentStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReadNamespacedDeploymentStatus mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedDeploymentStatus MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedDeploymentStatus MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedDeploymentStatus MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** readNamespacedStatefulSet
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}@
|
|
--
|
|
-- read the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedStatefulSet
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the StatefulSet
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedStatefulSet MimeNoContent V1beta1StatefulSet accept
|
|
readNamespacedStatefulSet _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedStatefulSet
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedStatefulSet Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "exact" - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
instance HasOptionalParam ReadNamespacedStatefulSet Exact where
|
|
applyOptionalParam req (Exact xs) =
|
|
req `setQuery` toQuery ("exact", Just xs)
|
|
|
|
-- | /Optional Param/ "export" - Should this value be exported. Export strips fields that a user can not specify.
|
|
instance HasOptionalParam ReadNamespacedStatefulSet Export where
|
|
applyOptionalParam req (Export xs) =
|
|
req `setQuery` toQuery ("export", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReadNamespacedStatefulSet mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedStatefulSet MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedStatefulSet MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedStatefulSet MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** readNamespacedStatefulSetScale
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/scale@
|
|
--
|
|
-- read scale of the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedStatefulSetScale
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Scale
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedStatefulSetScale MimeNoContent AppsV1beta1Scale accept
|
|
readNamespacedStatefulSetScale _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name,"/scale"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedStatefulSetScale
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedStatefulSetScale Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReadNamespacedStatefulSetScale mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedStatefulSetScale MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedStatefulSetScale MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedStatefulSetScale MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** readNamespacedStatefulSetStatus
|
|
|
|
-- | @GET \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/status@
|
|
--
|
|
-- read status of the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedStatefulSetStatus
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the StatefulSet
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedStatefulSetStatus MimeNoContent V1beta1StatefulSet accept
|
|
readNamespacedStatefulSetStatus _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedStatefulSetStatus
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedStatefulSetStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReadNamespacedStatefulSetStatus mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedStatefulSetStatus MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedStatefulSetStatus MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedStatefulSetStatus MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** replaceNamespacedControllerRevision
|
|
|
|
-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/controllerrevisions\/{name}@
|
|
--
|
|
-- replace the specified ControllerRevision
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedControllerRevision
|
|
:: (Consumes ReplaceNamespacedControllerRevision contentType, MimeRender contentType V1beta1ControllerRevision)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ControllerRevision
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> V1beta1ControllerRevision -- ^ "body"
|
|
-> KubernetesRequest ReplaceNamespacedControllerRevision contentType V1beta1ControllerRevision accept
|
|
replaceNamespacedControllerRevision _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PUT" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/controllerrevisions/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedControllerRevision
|
|
instance HasBodyParam ReplaceNamespacedControllerRevision V1beta1ControllerRevision
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedControllerRevision Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedControllerRevision mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedControllerRevision MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedControllerRevision MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedControllerRevision MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** replaceNamespacedDeployment
|
|
|
|
-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}@
|
|
--
|
|
-- replace the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedDeployment
|
|
:: (Consumes ReplaceNamespacedDeployment contentType, MimeRender contentType AppsV1beta1Deployment)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Deployment
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> AppsV1beta1Deployment -- ^ "body"
|
|
-> KubernetesRequest ReplaceNamespacedDeployment contentType AppsV1beta1Deployment accept
|
|
replaceNamespacedDeployment _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PUT" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedDeployment
|
|
instance HasBodyParam ReplaceNamespacedDeployment AppsV1beta1Deployment
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedDeployment Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedDeployment mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedDeployment MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedDeployment MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedDeployment MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** replaceNamespacedDeploymentScale
|
|
|
|
-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/scale@
|
|
--
|
|
-- replace scale of the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedDeploymentScale
|
|
:: (Consumes ReplaceNamespacedDeploymentScale contentType, MimeRender contentType AppsV1beta1Scale)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Scale
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> AppsV1beta1Scale -- ^ "body"
|
|
-> KubernetesRequest ReplaceNamespacedDeploymentScale contentType AppsV1beta1Scale accept
|
|
replaceNamespacedDeploymentScale _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PUT" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name,"/scale"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedDeploymentScale
|
|
instance HasBodyParam ReplaceNamespacedDeploymentScale AppsV1beta1Scale
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedDeploymentScale Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentScale mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedDeploymentScale MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedDeploymentScale MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedDeploymentScale MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** replaceNamespacedDeploymentStatus
|
|
|
|
-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/deployments\/{name}\/status@
|
|
--
|
|
-- replace status of the specified Deployment
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedDeploymentStatus
|
|
:: (Consumes ReplaceNamespacedDeploymentStatus contentType, MimeRender contentType AppsV1beta1Deployment)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Deployment
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> AppsV1beta1Deployment -- ^ "body"
|
|
-> KubernetesRequest ReplaceNamespacedDeploymentStatus contentType AppsV1beta1Deployment accept
|
|
replaceNamespacedDeploymentStatus _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PUT" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedDeploymentStatus
|
|
instance HasBodyParam ReplaceNamespacedDeploymentStatus AppsV1beta1Deployment
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedDeploymentStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentStatus mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedDeploymentStatus MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedDeploymentStatus MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedDeploymentStatus MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** replaceNamespacedStatefulSet
|
|
|
|
-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}@
|
|
--
|
|
-- replace the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedStatefulSet
|
|
:: (Consumes ReplaceNamespacedStatefulSet contentType, MimeRender contentType V1beta1StatefulSet)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the StatefulSet
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> V1beta1StatefulSet -- ^ "body"
|
|
-> KubernetesRequest ReplaceNamespacedStatefulSet contentType V1beta1StatefulSet accept
|
|
replaceNamespacedStatefulSet _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PUT" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedStatefulSet
|
|
instance HasBodyParam ReplaceNamespacedStatefulSet V1beta1StatefulSet
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedStatefulSet Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSet mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedStatefulSet MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedStatefulSet MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedStatefulSet MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** replaceNamespacedStatefulSetScale
|
|
|
|
-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/scale@
|
|
--
|
|
-- replace scale of the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedStatefulSetScale
|
|
:: (Consumes ReplaceNamespacedStatefulSetScale contentType, MimeRender contentType AppsV1beta1Scale)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the Scale
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> AppsV1beta1Scale -- ^ "body"
|
|
-> KubernetesRequest ReplaceNamespacedStatefulSetScale contentType AppsV1beta1Scale accept
|
|
replaceNamespacedStatefulSetScale _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PUT" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name,"/scale"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedStatefulSetScale
|
|
instance HasBodyParam ReplaceNamespacedStatefulSetScale AppsV1beta1Scale
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedStatefulSetScale Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetScale mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedStatefulSetScale MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedStatefulSetScale MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedStatefulSetScale MimeVndKubernetesProtobuf
|
|
|
|
|
|
-- *** replaceNamespacedStatefulSetStatus
|
|
|
|
-- | @PUT \/apis\/apps\/v1beta1\/namespaces\/{namespace}\/statefulsets\/{name}\/status@
|
|
--
|
|
-- replace status of the specified StatefulSet
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedStatefulSetStatus
|
|
:: (Consumes ReplaceNamespacedStatefulSetStatus contentType, MimeRender contentType V1beta1StatefulSet)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the StatefulSet
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> V1beta1StatefulSet -- ^ "body"
|
|
-> KubernetesRequest ReplaceNamespacedStatefulSetStatus contentType V1beta1StatefulSet accept
|
|
replaceNamespacedStatefulSetStatus _ _ (Name name) (Namespace namespace) body =
|
|
_mkRequest "PUT" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedStatefulSetStatus
|
|
instance HasBodyParam ReplaceNamespacedStatefulSetStatus V1beta1StatefulSet
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `setQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetStatus mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedStatefulSetStatus MimeJSON
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedStatefulSetStatus MimeYaml
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedStatefulSetStatus MimeVndKubernetesProtobuf
|
|
|