2354 lines
176 KiB
Haskell
2354 lines
176 KiB
Haskell
{-
|
|
Kubernetes
|
|
|
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
|
|
OpenAPI Version: 3.0.1
|
|
Kubernetes API version: release-1.26
|
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
-}
|
|
|
|
{-|
|
|
Module : Kubernetes.OpenAPI.API.ResourceV1alpha1
|
|
-}
|
|
|
|
{-# 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.ResourceV1alpha1 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
|
|
|
|
|
|
-- ** ResourceV1alpha1
|
|
|
|
-- *** createNamespacedPodScheduling
|
|
|
|
-- | @POST \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings@
|
|
--
|
|
-- create a PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
createNamespacedPodScheduling
|
|
:: (Consumes CreateNamespacedPodScheduling contentType, MimeRender contentType V1alpha1PodScheduling)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1PodScheduling -- ^ "body"
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest CreateNamespacedPodScheduling contentType V1alpha1PodScheduling accept
|
|
createNamespacedPodScheduling _ _ body (Namespace namespace) =
|
|
_mkRequest "POST" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data CreateNamespacedPodScheduling
|
|
instance HasBodyParam CreateNamespacedPodScheduling V1alpha1PodScheduling
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam CreateNamespacedPodScheduling Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam CreateNamespacedPodScheduling DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam CreateNamespacedPodScheduling FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam CreateNamespacedPodScheduling FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes CreateNamespacedPodScheduling mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces CreateNamespacedPodScheduling MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces CreateNamespacedPodScheduling MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces CreateNamespacedPodScheduling MimeYaml
|
|
|
|
|
|
-- *** createNamespacedResourceClaim
|
|
|
|
-- | @POST \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims@
|
|
--
|
|
-- create a ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
createNamespacedResourceClaim
|
|
:: (Consumes CreateNamespacedResourceClaim contentType, MimeRender contentType V1alpha1ResourceClaim)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1ResourceClaim -- ^ "body"
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest CreateNamespacedResourceClaim contentType V1alpha1ResourceClaim accept
|
|
createNamespacedResourceClaim _ _ body (Namespace namespace) =
|
|
_mkRequest "POST" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data CreateNamespacedResourceClaim
|
|
instance HasBodyParam CreateNamespacedResourceClaim V1alpha1ResourceClaim
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam CreateNamespacedResourceClaim Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam CreateNamespacedResourceClaim DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam CreateNamespacedResourceClaim FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam CreateNamespacedResourceClaim FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes CreateNamespacedResourceClaim mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces CreateNamespacedResourceClaim MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces CreateNamespacedResourceClaim MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces CreateNamespacedResourceClaim MimeYaml
|
|
|
|
|
|
-- *** createNamespacedResourceClaimTemplate
|
|
|
|
-- | @POST \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaimtemplates@
|
|
--
|
|
-- create a ResourceClaimTemplate
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
createNamespacedResourceClaimTemplate
|
|
:: (Consumes CreateNamespacedResourceClaimTemplate contentType, MimeRender contentType V1alpha1ResourceClaimTemplate)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1ResourceClaimTemplate -- ^ "body"
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest CreateNamespacedResourceClaimTemplate contentType V1alpha1ResourceClaimTemplate accept
|
|
createNamespacedResourceClaimTemplate _ _ body (Namespace namespace) =
|
|
_mkRequest "POST" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaimtemplates"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data CreateNamespacedResourceClaimTemplate
|
|
instance HasBodyParam CreateNamespacedResourceClaimTemplate V1alpha1ResourceClaimTemplate
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam CreateNamespacedResourceClaimTemplate Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam CreateNamespacedResourceClaimTemplate DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam CreateNamespacedResourceClaimTemplate FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam CreateNamespacedResourceClaimTemplate FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes CreateNamespacedResourceClaimTemplate mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces CreateNamespacedResourceClaimTemplate MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces CreateNamespacedResourceClaimTemplate MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces CreateNamespacedResourceClaimTemplate MimeYaml
|
|
|
|
|
|
-- *** createResourceClass
|
|
|
|
-- | @POST \/apis\/resource.k8s.io\/v1alpha1\/resourceclasses@
|
|
--
|
|
-- create a ResourceClass
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
createResourceClass
|
|
:: (Consumes CreateResourceClass contentType, MimeRender contentType V1alpha1ResourceClass)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1ResourceClass -- ^ "body"
|
|
-> KubernetesRequest CreateResourceClass contentType V1alpha1ResourceClass accept
|
|
createResourceClass _ _ body =
|
|
_mkRequest "POST" ["/apis/resource.k8s.io/v1alpha1/resourceclasses"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data CreateResourceClass
|
|
instance HasBodyParam CreateResourceClass V1alpha1ResourceClass
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam CreateResourceClass Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam CreateResourceClass DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam CreateResourceClass FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam CreateResourceClass FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes CreateResourceClass mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces CreateResourceClass MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces CreateResourceClass MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces CreateResourceClass MimeYaml
|
|
|
|
|
|
-- *** deleteCollectionNamespacedPodScheduling
|
|
|
|
-- | @DELETE \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings@
|
|
--
|
|
-- delete collection of PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteCollectionNamespacedPodScheduling
|
|
:: (Consumes DeleteCollectionNamespacedPodScheduling contentType)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteCollectionNamespacedPodScheduling contentType V1Status accept
|
|
deleteCollectionNamespacedPodScheduling _ _ (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteCollectionNamespacedPodScheduling
|
|
instance HasBodyParam DeleteCollectionNamespacedPodScheduling V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteCollectionNamespacedPodScheduling Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 DeleteCollectionNamespacedPodScheduling Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam DeleteCollectionNamespacedPodScheduling DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedPodScheduling FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", 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 DeleteCollectionNamespacedPodScheduling GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `addQuery` toQuery ("gracePeriodSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedPodScheduling LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 DeleteCollectionNamespacedPodScheduling Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", 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 DeleteCollectionNamespacedPodScheduling OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `addQuery` 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 DeleteCollectionNamespacedPodScheduling PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `addQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam DeleteCollectionNamespacedPodScheduling ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam DeleteCollectionNamespacedPodScheduling ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam DeleteCollectionNamespacedPodScheduling TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteCollectionNamespacedPodScheduling mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteCollectionNamespacedPodScheduling MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteCollectionNamespacedPodScheduling MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces DeleteCollectionNamespacedPodScheduling MimeYaml
|
|
|
|
|
|
-- *** deleteCollectionNamespacedResourceClaim
|
|
|
|
-- | @DELETE \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims@
|
|
--
|
|
-- delete collection of ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteCollectionNamespacedResourceClaim
|
|
:: (Consumes DeleteCollectionNamespacedResourceClaim contentType)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteCollectionNamespacedResourceClaim contentType V1Status accept
|
|
deleteCollectionNamespacedResourceClaim _ _ (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteCollectionNamespacedResourceClaim
|
|
instance HasBodyParam DeleteCollectionNamespacedResourceClaim V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaim Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 DeleteCollectionNamespacedResourceClaim Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaim DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaim FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", 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 DeleteCollectionNamespacedResourceClaim GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `addQuery` toQuery ("gracePeriodSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaim LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 DeleteCollectionNamespacedResourceClaim Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", 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 DeleteCollectionNamespacedResourceClaim OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `addQuery` 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 DeleteCollectionNamespacedResourceClaim PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `addQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaim ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaim ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaim TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteCollectionNamespacedResourceClaim mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteCollectionNamespacedResourceClaim MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteCollectionNamespacedResourceClaim MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces DeleteCollectionNamespacedResourceClaim MimeYaml
|
|
|
|
|
|
-- *** deleteCollectionNamespacedResourceClaimTemplate
|
|
|
|
-- | @DELETE \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaimtemplates@
|
|
--
|
|
-- delete collection of ResourceClaimTemplate
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteCollectionNamespacedResourceClaimTemplate
|
|
:: (Consumes DeleteCollectionNamespacedResourceClaimTemplate contentType)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteCollectionNamespacedResourceClaimTemplate contentType V1Status accept
|
|
deleteCollectionNamespacedResourceClaimTemplate _ _ (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaimtemplates"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteCollectionNamespacedResourceClaimTemplate
|
|
instance HasBodyParam DeleteCollectionNamespacedResourceClaimTemplate V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaimTemplate Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 DeleteCollectionNamespacedResourceClaimTemplate Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaimTemplate DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaimTemplate FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", 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 DeleteCollectionNamespacedResourceClaimTemplate GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `addQuery` toQuery ("gracePeriodSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaimTemplate LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 DeleteCollectionNamespacedResourceClaimTemplate Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", 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 DeleteCollectionNamespacedResourceClaimTemplate OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `addQuery` 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 DeleteCollectionNamespacedResourceClaimTemplate PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `addQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaimTemplate ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaimTemplate ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam DeleteCollectionNamespacedResourceClaimTemplate TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteCollectionNamespacedResourceClaimTemplate mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteCollectionNamespacedResourceClaimTemplate MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteCollectionNamespacedResourceClaimTemplate MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces DeleteCollectionNamespacedResourceClaimTemplate MimeYaml
|
|
|
|
|
|
-- *** deleteCollectionResourceClass
|
|
|
|
-- | @DELETE \/apis\/resource.k8s.io\/v1alpha1\/resourceclasses@
|
|
--
|
|
-- delete collection of ResourceClass
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteCollectionResourceClass
|
|
:: (Consumes DeleteCollectionResourceClass contentType)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest DeleteCollectionResourceClass contentType V1Status accept
|
|
deleteCollectionResourceClass _ _ =
|
|
_mkRequest "DELETE" ["/apis/resource.k8s.io/v1alpha1/resourceclasses"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteCollectionResourceClass
|
|
instance HasBodyParam DeleteCollectionResourceClass V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteCollectionResourceClass Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 DeleteCollectionResourceClass Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam DeleteCollectionResourceClass DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionResourceClass FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", 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 DeleteCollectionResourceClass GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `addQuery` toQuery ("gracePeriodSeconds", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam DeleteCollectionResourceClass LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 DeleteCollectionResourceClass Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", 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 DeleteCollectionResourceClass OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `addQuery` 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 DeleteCollectionResourceClass PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `addQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam DeleteCollectionResourceClass ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam DeleteCollectionResourceClass ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam DeleteCollectionResourceClass TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` toQuery ("timeoutSeconds", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteCollectionResourceClass mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteCollectionResourceClass MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteCollectionResourceClass MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces DeleteCollectionResourceClass MimeYaml
|
|
|
|
|
|
-- *** deleteNamespacedPodScheduling
|
|
|
|
-- | @DELETE \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings\/{name}@
|
|
--
|
|
-- delete a PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteNamespacedPodScheduling
|
|
:: (Consumes DeleteNamespacedPodScheduling contentType)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the PodScheduling
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteNamespacedPodScheduling contentType V1alpha1PodScheduling accept
|
|
deleteNamespacedPodScheduling _ _ (Name name) (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteNamespacedPodScheduling
|
|
instance HasBodyParam DeleteNamespacedPodScheduling V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteNamespacedPodScheduling Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam DeleteNamespacedPodScheduling DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", 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 DeleteNamespacedPodScheduling GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `addQuery` 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 DeleteNamespacedPodScheduling OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `addQuery` 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 DeleteNamespacedPodScheduling PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `addQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteNamespacedPodScheduling mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteNamespacedPodScheduling MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteNamespacedPodScheduling MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces DeleteNamespacedPodScheduling MimeYaml
|
|
|
|
|
|
-- *** deleteNamespacedResourceClaim
|
|
|
|
-- | @DELETE \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims\/{name}@
|
|
--
|
|
-- delete a ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteNamespacedResourceClaim
|
|
:: (Consumes DeleteNamespacedResourceClaim contentType)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ResourceClaim
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteNamespacedResourceClaim contentType V1alpha1ResourceClaim accept
|
|
deleteNamespacedResourceClaim _ _ (Name name) (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteNamespacedResourceClaim
|
|
instance HasBodyParam DeleteNamespacedResourceClaim V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteNamespacedResourceClaim Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam DeleteNamespacedResourceClaim DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", 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 DeleteNamespacedResourceClaim GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `addQuery` 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 DeleteNamespacedResourceClaim OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `addQuery` 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 DeleteNamespacedResourceClaim PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `addQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteNamespacedResourceClaim mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteNamespacedResourceClaim MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteNamespacedResourceClaim MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces DeleteNamespacedResourceClaim MimeYaml
|
|
|
|
|
|
-- *** deleteNamespacedResourceClaimTemplate
|
|
|
|
-- | @DELETE \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaimtemplates\/{name}@
|
|
--
|
|
-- delete a ResourceClaimTemplate
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteNamespacedResourceClaimTemplate
|
|
:: (Consumes DeleteNamespacedResourceClaimTemplate contentType)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ResourceClaimTemplate
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest DeleteNamespacedResourceClaimTemplate contentType V1alpha1ResourceClaimTemplate accept
|
|
deleteNamespacedResourceClaimTemplate _ _ (Name name) (Namespace namespace) =
|
|
_mkRequest "DELETE" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaimtemplates/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteNamespacedResourceClaimTemplate
|
|
instance HasBodyParam DeleteNamespacedResourceClaimTemplate V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteNamespacedResourceClaimTemplate Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam DeleteNamespacedResourceClaimTemplate DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", 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 DeleteNamespacedResourceClaimTemplate GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `addQuery` 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 DeleteNamespacedResourceClaimTemplate OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `addQuery` 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 DeleteNamespacedResourceClaimTemplate PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `addQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteNamespacedResourceClaimTemplate mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteNamespacedResourceClaimTemplate MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteNamespacedResourceClaimTemplate MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces DeleteNamespacedResourceClaimTemplate MimeYaml
|
|
|
|
|
|
-- *** deleteResourceClass
|
|
|
|
-- | @DELETE \/apis\/resource.k8s.io\/v1alpha1\/resourceclasses\/{name}@
|
|
--
|
|
-- delete a ResourceClass
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
deleteResourceClass
|
|
:: (Consumes DeleteResourceClass contentType)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ResourceClass
|
|
-> KubernetesRequest DeleteResourceClass contentType V1alpha1ResourceClass accept
|
|
deleteResourceClass _ _ (Name name) =
|
|
_mkRequest "DELETE" ["/apis/resource.k8s.io/v1alpha1/resourceclasses/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data DeleteResourceClass
|
|
instance HasBodyParam DeleteResourceClass V1DeleteOptions
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam DeleteResourceClass Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam DeleteResourceClass DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", 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 DeleteResourceClass GracePeriodSeconds where
|
|
applyOptionalParam req (GracePeriodSeconds xs) =
|
|
req `addQuery` 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 DeleteResourceClass OrphanDependents where
|
|
applyOptionalParam req (OrphanDependents xs) =
|
|
req `addQuery` 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 DeleteResourceClass PropagationPolicy where
|
|
applyOptionalParam req (PropagationPolicy xs) =
|
|
req `addQuery` toQuery ("propagationPolicy", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes DeleteResourceClass mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces DeleteResourceClass MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces DeleteResourceClass MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces DeleteResourceClass MimeYaml
|
|
|
|
|
|
-- *** getAPIResources
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/@
|
|
--
|
|
-- get available resources
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
getAPIResources
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList accept
|
|
getAPIResources _ =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data GetAPIResources
|
|
-- | @application/json@
|
|
instance Produces GetAPIResources MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces GetAPIResources MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces GetAPIResources MimeYaml
|
|
|
|
|
|
-- *** listNamespacedPodScheduling
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings@
|
|
--
|
|
-- list or watch objects of kind PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listNamespacedPodScheduling
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ListNamespacedPodScheduling MimeNoContent V1alpha1PodSchedulingList accept
|
|
listNamespacedPodScheduling _ (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListNamespacedPodScheduling
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListNamespacedPodScheduling Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
|
|
instance HasOptionalParam ListNamespacedPodScheduling AllowWatchBookmarks where
|
|
applyOptionalParam req (AllowWatchBookmarks xs) =
|
|
req `addQuery` toQuery ("allowWatchBookmarks", 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 ListNamespacedPodScheduling Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedPodScheduling FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedPodScheduling LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 ListNamespacedPodScheduling Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListNamespacedPodScheduling ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListNamespacedPodScheduling ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam ListNamespacedPodScheduling TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` 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 ListNamespacedPodScheduling Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `addQuery` toQuery ("watch", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ListNamespacedPodScheduling MimeJSON
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListNamespacedPodScheduling MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListNamespacedPodScheduling MimeVndKubernetesProtobuf
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListNamespacedPodScheduling MimeVndKubernetesProtobufstreamwatch
|
|
-- | @application/yaml@
|
|
instance Produces ListNamespacedPodScheduling MimeYaml
|
|
|
|
|
|
-- *** listNamespacedResourceClaim
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims@
|
|
--
|
|
-- list or watch objects of kind ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listNamespacedResourceClaim
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ListNamespacedResourceClaim MimeNoContent V1alpha1ResourceClaimList accept
|
|
listNamespacedResourceClaim _ (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListNamespacedResourceClaim
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListNamespacedResourceClaim Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
|
|
instance HasOptionalParam ListNamespacedResourceClaim AllowWatchBookmarks where
|
|
applyOptionalParam req (AllowWatchBookmarks xs) =
|
|
req `addQuery` toQuery ("allowWatchBookmarks", 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 ListNamespacedResourceClaim Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedResourceClaim FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedResourceClaim LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 ListNamespacedResourceClaim Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListNamespacedResourceClaim ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListNamespacedResourceClaim ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam ListNamespacedResourceClaim TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` 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 ListNamespacedResourceClaim Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `addQuery` toQuery ("watch", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ListNamespacedResourceClaim MimeJSON
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListNamespacedResourceClaim MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListNamespacedResourceClaim MimeVndKubernetesProtobuf
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListNamespacedResourceClaim MimeVndKubernetesProtobufstreamwatch
|
|
-- | @application/yaml@
|
|
instance Produces ListNamespacedResourceClaim MimeYaml
|
|
|
|
|
|
-- *** listNamespacedResourceClaimTemplate
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaimtemplates@
|
|
--
|
|
-- list or watch objects of kind ResourceClaimTemplate
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listNamespacedResourceClaimTemplate
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ListNamespacedResourceClaimTemplate MimeNoContent V1alpha1ResourceClaimTemplateList accept
|
|
listNamespacedResourceClaimTemplate _ (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaimtemplates"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListNamespacedResourceClaimTemplate
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListNamespacedResourceClaimTemplate Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
|
|
instance HasOptionalParam ListNamespacedResourceClaimTemplate AllowWatchBookmarks where
|
|
applyOptionalParam req (AllowWatchBookmarks xs) =
|
|
req `addQuery` toQuery ("allowWatchBookmarks", 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 ListNamespacedResourceClaimTemplate Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedResourceClaimTemplate FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListNamespacedResourceClaimTemplate LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 ListNamespacedResourceClaimTemplate Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListNamespacedResourceClaimTemplate ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListNamespacedResourceClaimTemplate ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam ListNamespacedResourceClaimTemplate TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` 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 ListNamespacedResourceClaimTemplate Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `addQuery` toQuery ("watch", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ListNamespacedResourceClaimTemplate MimeJSON
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListNamespacedResourceClaimTemplate MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListNamespacedResourceClaimTemplate MimeVndKubernetesProtobuf
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListNamespacedResourceClaimTemplate MimeVndKubernetesProtobufstreamwatch
|
|
-- | @application/yaml@
|
|
instance Produces ListNamespacedResourceClaimTemplate MimeYaml
|
|
|
|
|
|
-- *** listPodSchedulingForAllNamespaces
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/podschedulings@
|
|
--
|
|
-- list or watch objects of kind PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listPodSchedulingForAllNamespaces
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest ListPodSchedulingForAllNamespaces MimeNoContent V1alpha1PodSchedulingList accept
|
|
listPodSchedulingForAllNamespaces _ =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/podschedulings"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListPodSchedulingForAllNamespaces
|
|
|
|
-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
|
|
instance HasOptionalParam ListPodSchedulingForAllNamespaces AllowWatchBookmarks where
|
|
applyOptionalParam req (AllowWatchBookmarks xs) =
|
|
req `addQuery` toQuery ("allowWatchBookmarks", 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 ListPodSchedulingForAllNamespaces Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListPodSchedulingForAllNamespaces FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListPodSchedulingForAllNamespaces LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 ListPodSchedulingForAllNamespaces Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListPodSchedulingForAllNamespaces Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListPodSchedulingForAllNamespaces ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListPodSchedulingForAllNamespaces ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam ListPodSchedulingForAllNamespaces TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` 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 ListPodSchedulingForAllNamespaces Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `addQuery` toQuery ("watch", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ListPodSchedulingForAllNamespaces MimeJSON
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListPodSchedulingForAllNamespaces MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListPodSchedulingForAllNamespaces MimeVndKubernetesProtobuf
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListPodSchedulingForAllNamespaces MimeVndKubernetesProtobufstreamwatch
|
|
-- | @application/yaml@
|
|
instance Produces ListPodSchedulingForAllNamespaces MimeYaml
|
|
|
|
|
|
-- *** listResourceClaimForAllNamespaces
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/resourceclaims@
|
|
--
|
|
-- list or watch objects of kind ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listResourceClaimForAllNamespaces
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest ListResourceClaimForAllNamespaces MimeNoContent V1alpha1ResourceClaimList accept
|
|
listResourceClaimForAllNamespaces _ =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/resourceclaims"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListResourceClaimForAllNamespaces
|
|
|
|
-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
|
|
instance HasOptionalParam ListResourceClaimForAllNamespaces AllowWatchBookmarks where
|
|
applyOptionalParam req (AllowWatchBookmarks xs) =
|
|
req `addQuery` toQuery ("allowWatchBookmarks", 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 ListResourceClaimForAllNamespaces Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListResourceClaimForAllNamespaces FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListResourceClaimForAllNamespaces LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 ListResourceClaimForAllNamespaces Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListResourceClaimForAllNamespaces Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListResourceClaimForAllNamespaces ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListResourceClaimForAllNamespaces ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam ListResourceClaimForAllNamespaces TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` 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 ListResourceClaimForAllNamespaces Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `addQuery` toQuery ("watch", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ListResourceClaimForAllNamespaces MimeJSON
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListResourceClaimForAllNamespaces MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListResourceClaimForAllNamespaces MimeVndKubernetesProtobuf
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListResourceClaimForAllNamespaces MimeVndKubernetesProtobufstreamwatch
|
|
-- | @application/yaml@
|
|
instance Produces ListResourceClaimForAllNamespaces MimeYaml
|
|
|
|
|
|
-- *** listResourceClaimTemplateForAllNamespaces
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/resourceclaimtemplates@
|
|
--
|
|
-- list or watch objects of kind ResourceClaimTemplate
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listResourceClaimTemplateForAllNamespaces
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest ListResourceClaimTemplateForAllNamespaces MimeNoContent V1alpha1ResourceClaimTemplateList accept
|
|
listResourceClaimTemplateForAllNamespaces _ =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/resourceclaimtemplates"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListResourceClaimTemplateForAllNamespaces
|
|
|
|
-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
|
|
instance HasOptionalParam ListResourceClaimTemplateForAllNamespaces AllowWatchBookmarks where
|
|
applyOptionalParam req (AllowWatchBookmarks xs) =
|
|
req `addQuery` toQuery ("allowWatchBookmarks", 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 ListResourceClaimTemplateForAllNamespaces Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListResourceClaimTemplateForAllNamespaces FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListResourceClaimTemplateForAllNamespaces LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 ListResourceClaimTemplateForAllNamespaces Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListResourceClaimTemplateForAllNamespaces Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListResourceClaimTemplateForAllNamespaces ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListResourceClaimTemplateForAllNamespaces ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam ListResourceClaimTemplateForAllNamespaces TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` 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 ListResourceClaimTemplateForAllNamespaces Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `addQuery` toQuery ("watch", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ListResourceClaimTemplateForAllNamespaces MimeJSON
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListResourceClaimTemplateForAllNamespaces MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListResourceClaimTemplateForAllNamespaces MimeVndKubernetesProtobuf
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListResourceClaimTemplateForAllNamespaces MimeVndKubernetesProtobufstreamwatch
|
|
-- | @application/yaml@
|
|
instance Produces ListResourceClaimTemplateForAllNamespaces MimeYaml
|
|
|
|
|
|
-- *** listResourceClass
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/resourceclasses@
|
|
--
|
|
-- list or watch objects of kind ResourceClass
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
listResourceClass
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> KubernetesRequest ListResourceClass MimeNoContent V1alpha1ResourceClassList accept
|
|
listResourceClass _ =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/resourceclasses"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ListResourceClass
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ListResourceClass Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "allowWatchBookmarks" - allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
|
|
instance HasOptionalParam ListResourceClass AllowWatchBookmarks where
|
|
applyOptionalParam req (AllowWatchBookmarks xs) =
|
|
req `addQuery` toQuery ("allowWatchBookmarks", 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". 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 ListResourceClass Continue where
|
|
applyOptionalParam req (Continue xs) =
|
|
req `addQuery` toQuery ("continue", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
instance HasOptionalParam ListResourceClass FieldSelector where
|
|
applyOptionalParam req (FieldSelector xs) =
|
|
req `addQuery` toQuery ("fieldSelector", Just xs)
|
|
|
|
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
|
|
instance HasOptionalParam ListResourceClass LabelSelector where
|
|
applyOptionalParam req (LabelSelector xs) =
|
|
req `addQuery` 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 ListResourceClass Limit where
|
|
applyOptionalParam req (Limit xs) =
|
|
req `addQuery` toQuery ("limit", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersion" - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListResourceClass ResourceVersion where
|
|
applyOptionalParam req (ResourceVersion xs) =
|
|
req `addQuery` toQuery ("resourceVersion", Just xs)
|
|
|
|
-- | /Optional Param/ "resourceVersionMatch" - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset
|
|
instance HasOptionalParam ListResourceClass ResourceVersionMatch where
|
|
applyOptionalParam req (ResourceVersionMatch xs) =
|
|
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
|
|
|
|
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
|
|
instance HasOptionalParam ListResourceClass TimeoutSeconds where
|
|
applyOptionalParam req (TimeoutSeconds xs) =
|
|
req `addQuery` 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 ListResourceClass Watch where
|
|
applyOptionalParam req (Watch xs) =
|
|
req `addQuery` toQuery ("watch", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ListResourceClass MimeJSON
|
|
-- | @application/json;stream=watch@
|
|
instance Produces ListResourceClass MimeJsonstreamwatch
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ListResourceClass MimeVndKubernetesProtobuf
|
|
-- | @application/vnd.kubernetes.protobuf;stream=watch@
|
|
instance Produces ListResourceClass MimeVndKubernetesProtobufstreamwatch
|
|
-- | @application/yaml@
|
|
instance Produces ListResourceClass MimeYaml
|
|
|
|
|
|
-- *** patchNamespacedPodScheduling
|
|
|
|
-- | @PATCH \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings\/{name}@
|
|
--
|
|
-- partially update the specified PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedPodScheduling
|
|
:: (Consumes PatchNamespacedPodScheduling contentType, MimeRender contentType Body)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Body -- ^ "body"
|
|
-> Name -- ^ "name" - name of the PodScheduling
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest PatchNamespacedPodScheduling contentType V1alpha1PodScheduling accept
|
|
patchNamespacedPodScheduling _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PATCH" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedPodScheduling
|
|
instance HasBodyParam PatchNamespacedPodScheduling Body
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedPodScheduling Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam PatchNamespacedPodScheduling DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
|
|
instance HasOptionalParam PatchNamespacedPodScheduling FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam PatchNamespacedPodScheduling FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
|
|
instance HasOptionalParam PatchNamespacedPodScheduling Force where
|
|
applyOptionalParam req (Force xs) =
|
|
req `addQuery` toQuery ("force", Just xs)
|
|
|
|
-- | @application/apply-patch+yaml@
|
|
instance Consumes PatchNamespacedPodScheduling MimeApplyPatchyaml
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedPodScheduling MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedPodScheduling MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedPodScheduling MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedPodScheduling MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedPodScheduling MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedPodScheduling MimeYaml
|
|
|
|
|
|
-- *** patchNamespacedPodSchedulingStatus
|
|
|
|
-- | @PATCH \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings\/{name}\/status@
|
|
--
|
|
-- partially update status of the specified PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedPodSchedulingStatus
|
|
:: (Consumes PatchNamespacedPodSchedulingStatus contentType, MimeRender contentType Body)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Body -- ^ "body"
|
|
-> Name -- ^ "name" - name of the PodScheduling
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest PatchNamespacedPodSchedulingStatus contentType V1alpha1PodScheduling accept
|
|
patchNamespacedPodSchedulingStatus _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PATCH" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedPodSchedulingStatus
|
|
instance HasBodyParam PatchNamespacedPodSchedulingStatus Body
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedPodSchedulingStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam PatchNamespacedPodSchedulingStatus DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
|
|
instance HasOptionalParam PatchNamespacedPodSchedulingStatus FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam PatchNamespacedPodSchedulingStatus FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
|
|
instance HasOptionalParam PatchNamespacedPodSchedulingStatus Force where
|
|
applyOptionalParam req (Force xs) =
|
|
req `addQuery` toQuery ("force", Just xs)
|
|
|
|
-- | @application/apply-patch+yaml@
|
|
instance Consumes PatchNamespacedPodSchedulingStatus MimeApplyPatchyaml
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedPodSchedulingStatus MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedPodSchedulingStatus MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedPodSchedulingStatus MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedPodSchedulingStatus MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedPodSchedulingStatus MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedPodSchedulingStatus MimeYaml
|
|
|
|
|
|
-- *** patchNamespacedResourceClaim
|
|
|
|
-- | @PATCH \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims\/{name}@
|
|
--
|
|
-- partially update the specified ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedResourceClaim
|
|
:: (Consumes PatchNamespacedResourceClaim contentType, MimeRender contentType Body)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Body -- ^ "body"
|
|
-> Name -- ^ "name" - name of the ResourceClaim
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest PatchNamespacedResourceClaim contentType V1alpha1ResourceClaim accept
|
|
patchNamespacedResourceClaim _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PATCH" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedResourceClaim
|
|
instance HasBodyParam PatchNamespacedResourceClaim Body
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedResourceClaim Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam PatchNamespacedResourceClaim DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
|
|
instance HasOptionalParam PatchNamespacedResourceClaim FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam PatchNamespacedResourceClaim FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
|
|
instance HasOptionalParam PatchNamespacedResourceClaim Force where
|
|
applyOptionalParam req (Force xs) =
|
|
req `addQuery` toQuery ("force", Just xs)
|
|
|
|
-- | @application/apply-patch+yaml@
|
|
instance Consumes PatchNamespacedResourceClaim MimeApplyPatchyaml
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaim MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaim MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaim MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedResourceClaim MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedResourceClaim MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedResourceClaim MimeYaml
|
|
|
|
|
|
-- *** patchNamespacedResourceClaimStatus
|
|
|
|
-- | @PATCH \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims\/{name}\/status@
|
|
--
|
|
-- partially update status of the specified ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedResourceClaimStatus
|
|
:: (Consumes PatchNamespacedResourceClaimStatus contentType, MimeRender contentType Body)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Body -- ^ "body"
|
|
-> Name -- ^ "name" - name of the ResourceClaim
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest PatchNamespacedResourceClaimStatus contentType V1alpha1ResourceClaim accept
|
|
patchNamespacedResourceClaimStatus _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PATCH" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedResourceClaimStatus
|
|
instance HasBodyParam PatchNamespacedResourceClaimStatus Body
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedResourceClaimStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam PatchNamespacedResourceClaimStatus DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
|
|
instance HasOptionalParam PatchNamespacedResourceClaimStatus FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam PatchNamespacedResourceClaimStatus FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
|
|
instance HasOptionalParam PatchNamespacedResourceClaimStatus Force where
|
|
applyOptionalParam req (Force xs) =
|
|
req `addQuery` toQuery ("force", Just xs)
|
|
|
|
-- | @application/apply-patch+yaml@
|
|
instance Consumes PatchNamespacedResourceClaimStatus MimeApplyPatchyaml
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaimStatus MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaimStatus MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaimStatus MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedResourceClaimStatus MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedResourceClaimStatus MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedResourceClaimStatus MimeYaml
|
|
|
|
|
|
-- *** patchNamespacedResourceClaimTemplate
|
|
|
|
-- | @PATCH \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaimtemplates\/{name}@
|
|
--
|
|
-- partially update the specified ResourceClaimTemplate
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchNamespacedResourceClaimTemplate
|
|
:: (Consumes PatchNamespacedResourceClaimTemplate contentType, MimeRender contentType Body)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Body -- ^ "body"
|
|
-> Name -- ^ "name" - name of the ResourceClaimTemplate
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest PatchNamespacedResourceClaimTemplate contentType V1alpha1ResourceClaimTemplate accept
|
|
patchNamespacedResourceClaimTemplate _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PATCH" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaimtemplates/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchNamespacedResourceClaimTemplate
|
|
instance HasBodyParam PatchNamespacedResourceClaimTemplate Body
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchNamespacedResourceClaimTemplate Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam PatchNamespacedResourceClaimTemplate DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
|
|
instance HasOptionalParam PatchNamespacedResourceClaimTemplate FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam PatchNamespacedResourceClaimTemplate FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
|
|
instance HasOptionalParam PatchNamespacedResourceClaimTemplate Force where
|
|
applyOptionalParam req (Force xs) =
|
|
req `addQuery` toQuery ("force", Just xs)
|
|
|
|
-- | @application/apply-patch+yaml@
|
|
instance Consumes PatchNamespacedResourceClaimTemplate MimeApplyPatchyaml
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaimTemplate MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaimTemplate MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchNamespacedResourceClaimTemplate MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchNamespacedResourceClaimTemplate MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchNamespacedResourceClaimTemplate MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces PatchNamespacedResourceClaimTemplate MimeYaml
|
|
|
|
|
|
-- *** patchResourceClass
|
|
|
|
-- | @PATCH \/apis\/resource.k8s.io\/v1alpha1\/resourceclasses\/{name}@
|
|
--
|
|
-- partially update the specified ResourceClass
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
patchResourceClass
|
|
:: (Consumes PatchResourceClass contentType, MimeRender contentType Body)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> Body -- ^ "body"
|
|
-> Name -- ^ "name" - name of the ResourceClass
|
|
-> KubernetesRequest PatchResourceClass contentType V1alpha1ResourceClass accept
|
|
patchResourceClass _ _ body (Name name) =
|
|
_mkRequest "PATCH" ["/apis/resource.k8s.io/v1alpha1/resourceclasses/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data PatchResourceClass
|
|
instance HasBodyParam PatchResourceClass Body
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam PatchResourceClass Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam PatchResourceClass DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
|
|
instance HasOptionalParam PatchResourceClass FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam PatchResourceClass FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
|
|
instance HasOptionalParam PatchResourceClass Force where
|
|
applyOptionalParam req (Force xs) =
|
|
req `addQuery` toQuery ("force", Just xs)
|
|
|
|
-- | @application/apply-patch+yaml@
|
|
instance Consumes PatchResourceClass MimeApplyPatchyaml
|
|
-- | @application/json-patch+json@
|
|
instance Consumes PatchResourceClass MimeJsonPatchjson
|
|
-- | @application/merge-patch+json@
|
|
instance Consumes PatchResourceClass MimeMergePatchjson
|
|
-- | @application/strategic-merge-patch+json@
|
|
instance Consumes PatchResourceClass MimeStrategicMergePatchjson
|
|
|
|
-- | @application/json@
|
|
instance Produces PatchResourceClass MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces PatchResourceClass MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces PatchResourceClass MimeYaml
|
|
|
|
|
|
-- *** readNamespacedPodScheduling
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings\/{name}@
|
|
--
|
|
-- read the specified PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedPodScheduling
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the PodScheduling
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedPodScheduling MimeNoContent V1alpha1PodScheduling accept
|
|
readNamespacedPodScheduling _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedPodScheduling
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedPodScheduling Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedPodScheduling MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedPodScheduling MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedPodScheduling MimeYaml
|
|
|
|
|
|
-- *** readNamespacedPodSchedulingStatus
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings\/{name}\/status@
|
|
--
|
|
-- read status of the specified PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedPodSchedulingStatus
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the PodScheduling
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedPodSchedulingStatus MimeNoContent V1alpha1PodScheduling accept
|
|
readNamespacedPodSchedulingStatus _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedPodSchedulingStatus
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedPodSchedulingStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedPodSchedulingStatus MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedPodSchedulingStatus MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedPodSchedulingStatus MimeYaml
|
|
|
|
|
|
-- *** readNamespacedResourceClaim
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims\/{name}@
|
|
--
|
|
-- read the specified ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedResourceClaim
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ResourceClaim
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedResourceClaim MimeNoContent V1alpha1ResourceClaim accept
|
|
readNamespacedResourceClaim _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedResourceClaim
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedResourceClaim Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedResourceClaim MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedResourceClaim MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedResourceClaim MimeYaml
|
|
|
|
|
|
-- *** readNamespacedResourceClaimStatus
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims\/{name}\/status@
|
|
--
|
|
-- read status of the specified ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedResourceClaimStatus
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ResourceClaim
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedResourceClaimStatus MimeNoContent V1alpha1ResourceClaim accept
|
|
readNamespacedResourceClaimStatus _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedResourceClaimStatus
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedResourceClaimStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedResourceClaimStatus MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedResourceClaimStatus MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedResourceClaimStatus MimeYaml
|
|
|
|
|
|
-- *** readNamespacedResourceClaimTemplate
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaimtemplates\/{name}@
|
|
--
|
|
-- read the specified ResourceClaimTemplate
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readNamespacedResourceClaimTemplate
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ResourceClaimTemplate
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReadNamespacedResourceClaimTemplate MimeNoContent V1alpha1ResourceClaimTemplate accept
|
|
readNamespacedResourceClaimTemplate _ (Name name) (Namespace namespace) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaimtemplates/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadNamespacedResourceClaimTemplate
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadNamespacedResourceClaimTemplate Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ReadNamespacedResourceClaimTemplate MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadNamespacedResourceClaimTemplate MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReadNamespacedResourceClaimTemplate MimeYaml
|
|
|
|
|
|
-- *** readResourceClass
|
|
|
|
-- | @GET \/apis\/resource.k8s.io\/v1alpha1\/resourceclasses\/{name}@
|
|
--
|
|
-- read the specified ResourceClass
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
readResourceClass
|
|
:: Accept accept -- ^ request accept ('MimeType')
|
|
-> Name -- ^ "name" - name of the ResourceClass
|
|
-> KubernetesRequest ReadResourceClass MimeNoContent V1alpha1ResourceClass accept
|
|
readResourceClass _ (Name name) =
|
|
_mkRequest "GET" ["/apis/resource.k8s.io/v1alpha1/resourceclasses/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
|
|
data ReadResourceClass
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReadResourceClass Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
-- | @application/json@
|
|
instance Produces ReadResourceClass MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReadResourceClass MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReadResourceClass MimeYaml
|
|
|
|
|
|
-- *** replaceNamespacedPodScheduling
|
|
|
|
-- | @PUT \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings\/{name}@
|
|
--
|
|
-- replace the specified PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedPodScheduling
|
|
:: (Consumes ReplaceNamespacedPodScheduling contentType, MimeRender contentType V1alpha1PodScheduling)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1PodScheduling -- ^ "body"
|
|
-> Name -- ^ "name" - name of the PodScheduling
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReplaceNamespacedPodScheduling contentType V1alpha1PodScheduling accept
|
|
replaceNamespacedPodScheduling _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PUT" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedPodScheduling
|
|
instance HasBodyParam ReplaceNamespacedPodScheduling V1alpha1PodScheduling
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedPodScheduling Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam ReplaceNamespacedPodScheduling DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam ReplaceNamespacedPodScheduling FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam ReplaceNamespacedPodScheduling FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedPodScheduling mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedPodScheduling MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedPodScheduling MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedPodScheduling MimeYaml
|
|
|
|
|
|
-- *** replaceNamespacedPodSchedulingStatus
|
|
|
|
-- | @PUT \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/podschedulings\/{name}\/status@
|
|
--
|
|
-- replace status of the specified PodScheduling
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedPodSchedulingStatus
|
|
:: (Consumes ReplaceNamespacedPodSchedulingStatus contentType, MimeRender contentType V1alpha1PodScheduling)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1PodScheduling -- ^ "body"
|
|
-> Name -- ^ "name" - name of the PodScheduling
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReplaceNamespacedPodSchedulingStatus contentType V1alpha1PodScheduling accept
|
|
replaceNamespacedPodSchedulingStatus _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PUT" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podschedulings/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedPodSchedulingStatus
|
|
instance HasBodyParam ReplaceNamespacedPodSchedulingStatus V1alpha1PodScheduling
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedPodSchedulingStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam ReplaceNamespacedPodSchedulingStatus DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam ReplaceNamespacedPodSchedulingStatus FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam ReplaceNamespacedPodSchedulingStatus FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedPodSchedulingStatus mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedPodSchedulingStatus MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedPodSchedulingStatus MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedPodSchedulingStatus MimeYaml
|
|
|
|
|
|
-- *** replaceNamespacedResourceClaim
|
|
|
|
-- | @PUT \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims\/{name}@
|
|
--
|
|
-- replace the specified ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedResourceClaim
|
|
:: (Consumes ReplaceNamespacedResourceClaim contentType, MimeRender contentType V1alpha1ResourceClaim)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1ResourceClaim -- ^ "body"
|
|
-> Name -- ^ "name" - name of the ResourceClaim
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReplaceNamespacedResourceClaim contentType V1alpha1ResourceClaim accept
|
|
replaceNamespacedResourceClaim _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PUT" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedResourceClaim
|
|
instance HasBodyParam ReplaceNamespacedResourceClaim V1alpha1ResourceClaim
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaim Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaim DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaim FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaim FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedResourceClaim mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedResourceClaim MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedResourceClaim MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedResourceClaim MimeYaml
|
|
|
|
|
|
-- *** replaceNamespacedResourceClaimStatus
|
|
|
|
-- | @PUT \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaims\/{name}\/status@
|
|
--
|
|
-- replace status of the specified ResourceClaim
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedResourceClaimStatus
|
|
:: (Consumes ReplaceNamespacedResourceClaimStatus contentType, MimeRender contentType V1alpha1ResourceClaim)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1ResourceClaim -- ^ "body"
|
|
-> Name -- ^ "name" - name of the ResourceClaim
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReplaceNamespacedResourceClaimStatus contentType V1alpha1ResourceClaim accept
|
|
replaceNamespacedResourceClaimStatus _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PUT" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaims/",toPath name,"/status"]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedResourceClaimStatus
|
|
instance HasBodyParam ReplaceNamespacedResourceClaimStatus V1alpha1ResourceClaim
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaimStatus Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaimStatus DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaimStatus FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaimStatus FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedResourceClaimStatus mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedResourceClaimStatus MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedResourceClaimStatus MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedResourceClaimStatus MimeYaml
|
|
|
|
|
|
-- *** replaceNamespacedResourceClaimTemplate
|
|
|
|
-- | @PUT \/apis\/resource.k8s.io\/v1alpha1\/namespaces\/{namespace}\/resourceclaimtemplates\/{name}@
|
|
--
|
|
-- replace the specified ResourceClaimTemplate
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceNamespacedResourceClaimTemplate
|
|
:: (Consumes ReplaceNamespacedResourceClaimTemplate contentType, MimeRender contentType V1alpha1ResourceClaimTemplate)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1ResourceClaimTemplate -- ^ "body"
|
|
-> Name -- ^ "name" - name of the ResourceClaimTemplate
|
|
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
|
|
-> KubernetesRequest ReplaceNamespacedResourceClaimTemplate contentType V1alpha1ResourceClaimTemplate accept
|
|
replaceNamespacedResourceClaimTemplate _ _ body (Name name) (Namespace namespace) =
|
|
_mkRequest "PUT" ["/apis/resource.k8s.io/v1alpha1/namespaces/",toPath namespace,"/resourceclaimtemplates/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceNamespacedResourceClaimTemplate
|
|
instance HasBodyParam ReplaceNamespacedResourceClaimTemplate V1alpha1ResourceClaimTemplate
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaimTemplate Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaimTemplate DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaimTemplate FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam ReplaceNamespacedResourceClaimTemplate FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceNamespacedResourceClaimTemplate mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceNamespacedResourceClaimTemplate MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceNamespacedResourceClaimTemplate MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceNamespacedResourceClaimTemplate MimeYaml
|
|
|
|
|
|
-- *** replaceResourceClass
|
|
|
|
-- | @PUT \/apis\/resource.k8s.io\/v1alpha1\/resourceclasses\/{name}@
|
|
--
|
|
-- replace the specified ResourceClass
|
|
--
|
|
-- AuthMethod: 'AuthApiKeyBearerToken'
|
|
--
|
|
replaceResourceClass
|
|
:: (Consumes ReplaceResourceClass contentType, MimeRender contentType V1alpha1ResourceClass)
|
|
=> ContentType contentType -- ^ request content-type ('MimeType')
|
|
-> Accept accept -- ^ request accept ('MimeType')
|
|
-> V1alpha1ResourceClass -- ^ "body"
|
|
-> Name -- ^ "name" - name of the ResourceClass
|
|
-> KubernetesRequest ReplaceResourceClass contentType V1alpha1ResourceClass accept
|
|
replaceResourceClass _ _ body (Name name) =
|
|
_mkRequest "PUT" ["/apis/resource.k8s.io/v1alpha1/resourceclasses/",toPath name]
|
|
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
|
|
`setBodyParam` body
|
|
|
|
data ReplaceResourceClass
|
|
instance HasBodyParam ReplaceResourceClass V1alpha1ResourceClass
|
|
|
|
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
|
|
instance HasOptionalParam ReplaceResourceClass Pretty where
|
|
applyOptionalParam req (Pretty xs) =
|
|
req `addQuery` toQuery ("pretty", Just xs)
|
|
|
|
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
instance HasOptionalParam ReplaceResourceClass DryRun where
|
|
applyOptionalParam req (DryRun xs) =
|
|
req `addQuery` toQuery ("dryRun", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
|
|
instance HasOptionalParam ReplaceResourceClass FieldManager where
|
|
applyOptionalParam req (FieldManager xs) =
|
|
req `addQuery` toQuery ("fieldManager", Just xs)
|
|
|
|
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
instance HasOptionalParam ReplaceResourceClass FieldValidation where
|
|
applyOptionalParam req (FieldValidation xs) =
|
|
req `addQuery` toQuery ("fieldValidation", Just xs)
|
|
|
|
-- | @*/*@
|
|
instance MimeType mtype => Consumes ReplaceResourceClass mtype
|
|
|
|
-- | @application/json@
|
|
instance Produces ReplaceResourceClass MimeJSON
|
|
-- | @application/vnd.kubernetes.protobuf@
|
|
instance Produces ReplaceResourceClass MimeVndKubernetesProtobuf
|
|
-- | @application/yaml@
|
|
instance Produces ReplaceResourceClass MimeYaml
|
|
|