Files

1383 lines
92 KiB
Haskell
Raw Permalink Normal View History

2019-01-30 13:04:51 -08:00
{-
Kubernetes
2019-03-11 22:43:41 -07:00
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
2019-01-30 13:04:51 -08:00
2019-03-11 22:43:41 -07:00
OpenAPI Version: 3.0.1
Kubernetes API version: release-1.28
2019-03-11 22:43:41 -07:00
Generated by OpenAPI Generator (https://openapi-generator.tech)
2019-01-30 13:04:51 -08:00
-}
{-|
Module : Kubernetes.OpenAPI.API.CustomObjects
-}
{-# 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.CustomObjects 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
-- ** CustomObjects
-- *** createClusterCustomObject
-- | @POST \/apis\/{group}\/{version}\/{plural}@
--
-- Creates a cluster scoped Custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
createClusterCustomObject
2019-03-11 22:43:41 -07:00
:: (Consumes CreateClusterCustomObject contentType, MimeRender contentType Body)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body" - The JSON schema of the Resource to create.
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind.
-> KubernetesRequest CreateClusterCustomObject contentType A.Value MimeJSON
2019-03-11 22:43:41 -07:00
createClusterCustomObject _ body (Group group) (Version version) (Plural plural) =
2019-01-30 13:04:51 -08:00
_mkRequest "POST" ["/apis/",toPath group,"/",toPath version,"/",toPath plural]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data CreateClusterCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to create.
2019-03-11 22:43:41 -07:00
instance HasBodyParam CreateClusterCustomObject Body
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `addQuery` toQuery ("pretty", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 CreateClusterCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 CreateClusterCustomObject 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. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam CreateClusterCustomObject FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2019-03-11 22:43:41 -07:00
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterCustomObject mtype
2019-01-30 13:04:51 -08:00
-- | @application/json@
instance Produces CreateClusterCustomObject MimeJSON
-- *** createNamespacedCustomObject
-- | @POST \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@
--
-- Creates a namespace scoped Custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
createNamespacedCustomObject
2019-03-11 22:43:41 -07:00
:: (Consumes CreateNamespacedCustomObject contentType, MimeRender contentType Body)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body" - The JSON schema of the Resource to create.
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind.
-> KubernetesRequest CreateNamespacedCustomObject contentType A.Value MimeJSON
2019-03-11 22:43:41 -07:00
createNamespacedCustomObject _ body (Group group) (Version version) (Namespace namespace) (Plural plural) =
2019-01-30 13:04:51 -08:00
_mkRequest "POST" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data CreateNamespacedCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to create.
2019-03-11 22:43:41 -07:00
instance HasBodyParam CreateNamespacedCustomObject Body
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `addQuery` toQuery ("pretty", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 CreateNamespacedCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 CreateNamespacedCustomObject 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. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam CreateNamespacedCustomObject FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2019-03-11 22:43:41 -07:00
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedCustomObject mtype
2019-01-30 13:04:51 -08:00
-- | @application/json@
instance Produces CreateNamespacedCustomObject MimeJSON
-- *** deleteClusterCustomObject
-- | @DELETE \/apis\/{group}\/{version}\/{plural}\/{name}@
--
-- Deletes the specified cluster scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteClusterCustomObject
2020-08-23 22:59:07 -05:00
:: (Consumes DeleteClusterCustomObject contentType)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest DeleteClusterCustomObject contentType A.Value MimeJSON
2020-08-23 22:59:07 -05:00
deleteClusterCustomObject _ (Group group) (Version version) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteClusterCustomObject
instance HasBodyParam DeleteClusterCustomObject V1DeleteOptions
-- | /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 DeleteClusterCustomObject GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
req `addQuery` toQuery ("gracePeriodSeconds", Just xs)
2019-01-30 13:04:51 -08:00
-- | /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 DeleteClusterCustomObject OrphanDependents where
applyOptionalParam req (OrphanDependents xs) =
req `addQuery` toQuery ("orphanDependents", Just xs)
2019-01-30 13:04:51 -08:00
-- | /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.
instance HasOptionalParam DeleteClusterCustomObject PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `addQuery` toQuery ("propagationPolicy", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 DeleteClusterCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2019-01-30 13:04:51 -08:00
-- | @*/*@
instance MimeType mtype => Consumes DeleteClusterCustomObject mtype
-- | @application/json@
instance Produces DeleteClusterCustomObject MimeJSON
2020-08-23 22:59:07 -05:00
-- *** deleteCollectionClusterCustomObject
-- | @DELETE \/apis\/{group}\/{version}\/{plural}@
--
-- Delete collection of cluster scoped custom objects
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteCollectionClusterCustomObject
2020-08-23 22:59:07 -05:00
:: (Consumes DeleteCollectionClusterCustomObject contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind.
-> KubernetesRequest DeleteCollectionClusterCustomObject contentType A.Value MimeJSON
deleteCollectionClusterCustomObject _ (Group group) (Version version) (Plural plural) =
_mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/",toPath plural]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteCollectionClusterCustomObject
instance HasBodyParam DeleteCollectionClusterCustomObject V1DeleteOptions
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionClusterCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `addQuery` toQuery ("pretty", Just xs)
2020-08-23 22:59:07 -05:00
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionClusterCustomObject LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `addQuery` toQuery ("labelSelector", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 DeleteCollectionClusterCustomObject GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
req `addQuery` toQuery ("gracePeriodSeconds", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 DeleteCollectionClusterCustomObject OrphanDependents where
applyOptionalParam req (OrphanDependents xs) =
req `addQuery` toQuery ("orphanDependents", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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.
instance HasOptionalParam DeleteCollectionClusterCustomObject PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `addQuery` toQuery ("propagationPolicy", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 DeleteCollectionClusterCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | @*/*@
instance MimeType mtype => Consumes DeleteCollectionClusterCustomObject mtype
-- | @application/json@
instance Produces DeleteCollectionClusterCustomObject MimeJSON
-- *** deleteCollectionNamespacedCustomObject
-- | @DELETE \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@
--
-- Delete collection of namespace scoped custom objects
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteCollectionNamespacedCustomObject
2020-08-23 22:59:07 -05:00
:: (Consumes DeleteCollectionNamespacedCustomObject contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind.
-> KubernetesRequest DeleteCollectionNamespacedCustomObject contentType A.Value MimeJSON
deleteCollectionNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) =
_mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteCollectionNamespacedCustomObject
instance HasBodyParam DeleteCollectionNamespacedCustomObject V1DeleteOptions
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `addQuery` toQuery ("pretty", Just xs)
2020-08-23 22:59:07 -05:00
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedCustomObject LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `addQuery` toQuery ("labelSelector", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 DeleteCollectionNamespacedCustomObject GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
req `addQuery` toQuery ("gracePeriodSeconds", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 DeleteCollectionNamespacedCustomObject OrphanDependents where
applyOptionalParam req (OrphanDependents xs) =
req `addQuery` toQuery ("orphanDependents", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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.
instance HasOptionalParam DeleteCollectionNamespacedCustomObject PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `addQuery` toQuery ("propagationPolicy", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 DeleteCollectionNamespacedCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | @*/*@
instance MimeType mtype => Consumes DeleteCollectionNamespacedCustomObject mtype
-- | @application/json@
instance Produces DeleteCollectionNamespacedCustomObject MimeJSON
2019-01-30 13:04:51 -08:00
-- *** deleteNamespacedCustomObject
-- | @DELETE \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@
--
-- Deletes the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedCustomObject
2020-08-23 22:59:07 -05:00
:: (Consumes DeleteNamespacedCustomObject contentType)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest DeleteNamespacedCustomObject contentType A.Value MimeJSON
2020-08-23 22:59:07 -05:00
deleteNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteNamespacedCustomObject
instance HasBodyParam DeleteNamespacedCustomObject V1DeleteOptions
-- | /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 DeleteNamespacedCustomObject GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
req `addQuery` toQuery ("gracePeriodSeconds", Just xs)
2019-01-30 13:04:51 -08:00
-- | /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 DeleteNamespacedCustomObject OrphanDependents where
applyOptionalParam req (OrphanDependents xs) =
req `addQuery` toQuery ("orphanDependents", Just xs)
2019-01-30 13:04:51 -08:00
-- | /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.
instance HasOptionalParam DeleteNamespacedCustomObject PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `addQuery` toQuery ("propagationPolicy", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 DeleteNamespacedCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2019-01-30 13:04:51 -08:00
-- | @*/*@
instance MimeType mtype => Consumes DeleteNamespacedCustomObject mtype
-- | @application/json@
instance Produces DeleteNamespacedCustomObject MimeJSON
-- *** getAPIResources
-- | @GET \/apis\/{group}\/{version}@
--
-- get available resources
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
getAPIResources
:: Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> KubernetesRequest GetAPIResources MimeNoContent V1APIResourceList MimeJSON
getAPIResources (Group group) (Version version) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetAPIResources
-- | @application/json@
instance Produces GetAPIResources MimeJSON
2019-01-30 13:04:51 -08:00
-- *** getClusterCustomObject
-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}@
--
-- Returns a cluster scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
getClusterCustomObject
2019-01-30 13:04:51 -08:00
:: Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest GetClusterCustomObject MimeNoContent A.Value MimeJSON
getClusterCustomObject (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetClusterCustomObject
-- | @application/json@
instance Produces GetClusterCustomObject MimeJSON
-- *** getClusterCustomObjectScale
-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@
--
-- read scale of the specified custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
getClusterCustomObjectScale
2019-01-30 13:04:51 -08:00
:: Accept accept -- ^ request accept ('MimeType')
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest GetClusterCustomObjectScale MimeNoContent A.Value accept
getClusterCustomObjectScale _ (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetClusterCustomObjectScale
-- | @application/json@
instance Produces GetClusterCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetClusterCustomObjectScale MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces GetClusterCustomObjectScale MimeYaml
2019-01-30 13:04:51 -08:00
-- *** getClusterCustomObjectStatus
-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}\/status@
--
-- read status of the specified cluster scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
getClusterCustomObjectStatus
2019-01-30 13:04:51 -08:00
:: Accept accept -- ^ request accept ('MimeType')
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest GetClusterCustomObjectStatus MimeNoContent A.Value accept
getClusterCustomObjectStatus _ (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetClusterCustomObjectStatus
-- | @application/json@
instance Produces GetClusterCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetClusterCustomObjectStatus MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces GetClusterCustomObjectStatus MimeYaml
2019-01-30 13:04:51 -08:00
-- *** getNamespacedCustomObject
-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@
--
-- Returns a namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
getNamespacedCustomObject
2019-01-30 13:04:51 -08:00
:: Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest GetNamespacedCustomObject MimeNoContent A.Value MimeJSON
getNamespacedCustomObject (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetNamespacedCustomObject
-- | @application/json@
instance Produces GetNamespacedCustomObject MimeJSON
-- *** getNamespacedCustomObjectScale
-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@
--
-- read scale of the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
getNamespacedCustomObjectScale
2019-01-30 13:04:51 -08:00
:: Accept accept -- ^ request accept ('MimeType')
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest GetNamespacedCustomObjectScale MimeNoContent A.Value accept
getNamespacedCustomObjectScale _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetNamespacedCustomObjectScale
-- | @application/json@
instance Produces GetNamespacedCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetNamespacedCustomObjectScale MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces GetNamespacedCustomObjectScale MimeYaml
2019-01-30 13:04:51 -08:00
-- *** getNamespacedCustomObjectStatus
-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@
--
-- read status of the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
getNamespacedCustomObjectStatus
2019-01-30 13:04:51 -08:00
:: Accept accept -- ^ request accept ('MimeType')
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest GetNamespacedCustomObjectStatus MimeNoContent A.Value accept
getNamespacedCustomObjectStatus _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetNamespacedCustomObjectStatus
-- | @application/json@
instance Produces GetNamespacedCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces GetNamespacedCustomObjectStatus MimeYaml
2019-01-30 13:04:51 -08:00
-- *** listClusterCustomObject
-- | @GET \/apis\/{group}\/{version}\/{plural}@
--
-- list or watch cluster scoped custom objects
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
listClusterCustomObject
2019-01-30 13:04:51 -08:00
:: Accept accept -- ^ request accept ('MimeType')
-> Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind.
-> KubernetesRequest ListClusterCustomObject MimeNoContent A.Value accept
listClusterCustomObject _ (Group group) (Version version) (Plural plural) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/",toPath plural]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ListClusterCustomObject
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListClusterCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `addQuery` toQuery ("pretty", Just xs)
2019-01-30 13:04:51 -08:00
-- | /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. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.
instance HasOptionalParam ListClusterCustomObject AllowWatchBookmarks where
applyOptionalParam req (AllowWatchBookmarks xs) =
req `addQuery` toQuery ("allowWatchBookmarks", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 ListClusterCustomObject Continue where
applyOptionalParam req (Continue xs) =
req `addQuery` toQuery ("continue", Just xs)
2020-08-23 22:59:07 -05:00
2019-03-11 22:43:41 -07:00
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListClusterCustomObject FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `addQuery` toQuery ("fieldSelector", Just xs)
2019-03-11 22:43:41 -07:00
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListClusterCustomObject LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `addQuery` toQuery ("labelSelector", Just xs)
2019-01-30 13:04:51 -08:00
2020-08-23 22:59:07 -05:00
-- | /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 ListClusterCustomObject Limit where
applyOptionalParam req (Limit xs) =
req `addQuery` toQuery ("limit", Just xs)
2020-08-23 22:59:07 -05:00
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam ListClusterCustomObject ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `addQuery` toQuery ("resourceVersion", Just xs)
2019-01-30 13:04:51 -08:00
-- | /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 ListClusterCustomObject ResourceVersionMatch where
applyOptionalParam req (ResourceVersionMatch xs) =
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListClusterCustomObject TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `addQuery` toQuery ("timeoutSeconds", Just xs)
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
instance HasOptionalParam ListClusterCustomObject Watch where
applyOptionalParam req (Watch xs) =
req `addQuery` toQuery ("watch", Just xs)
2019-01-30 13:04:51 -08:00
-- | @application/json@
instance Produces ListClusterCustomObject MimeJSON
-- | @application/json;stream=watch@
instance Produces ListClusterCustomObject MimeJsonstreamwatch
-- *** listNamespacedCustomObject
-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@
--
-- list or watch namespace scoped custom objects
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
listNamespacedCustomObject
2019-01-30 13:04:51 -08:00
:: Accept accept -- ^ request accept ('MimeType')
-> Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind.
-> KubernetesRequest ListNamespacedCustomObject MimeNoContent A.Value accept
listNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) =
_mkRequest "GET" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ListNamespacedCustomObject
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `addQuery` toQuery ("pretty", Just xs)
2019-01-30 13:04:51 -08:00
-- | /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. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.
instance HasOptionalParam ListNamespacedCustomObject AllowWatchBookmarks where
applyOptionalParam req (AllowWatchBookmarks xs) =
req `addQuery` toQuery ("allowWatchBookmarks", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 ListNamespacedCustomObject Continue where
applyOptionalParam req (Continue xs) =
req `addQuery` toQuery ("continue", Just xs)
2020-08-23 22:59:07 -05:00
2019-03-11 22:43:41 -07:00
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListNamespacedCustomObject FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `addQuery` toQuery ("fieldSelector", Just xs)
2019-03-11 22:43:41 -07:00
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedCustomObject LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `addQuery` toQuery ("labelSelector", Just xs)
2019-01-30 13:04:51 -08:00
2020-08-23 22:59:07 -05:00
-- | /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 ListNamespacedCustomObject Limit where
applyOptionalParam req (Limit xs) =
req `addQuery` toQuery ("limit", Just xs)
2020-08-23 22:59:07 -05:00
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam ListNamespacedCustomObject ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `addQuery` toQuery ("resourceVersion", Just xs)
2019-01-30 13:04:51 -08:00
-- | /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 ListNamespacedCustomObject ResourceVersionMatch where
applyOptionalParam req (ResourceVersionMatch xs) =
req `addQuery` toQuery ("resourceVersionMatch", Just xs)
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedCustomObject TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `addQuery` toQuery ("timeoutSeconds", Just xs)
2019-01-30 13:04:51 -08:00
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
instance HasOptionalParam ListNamespacedCustomObject Watch where
applyOptionalParam req (Watch xs) =
req `addQuery` toQuery ("watch", Just xs)
2019-01-30 13:04:51 -08:00
-- | @application/json@
instance Produces ListNamespacedCustomObject MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedCustomObject MimeJsonstreamwatch
-- *** patchClusterCustomObject
-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}@
--
-- patch the specified cluster scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchClusterCustomObject
2019-10-02 23:45:17 -05:00
:: (Consumes PatchClusterCustomObject contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Body -- ^ "body" - The JSON schema of the Resource to patch.
2019-03-11 22:43:41 -07:00
-> Group -- ^ "group" - the custom resource's group
2019-01-30 13:04:51 -08:00
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
2019-10-02 23:45:17 -05:00
-> KubernetesRequest PatchClusterCustomObject contentType A.Value MimeJSON
patchClusterCustomObject _ body (Group group) (Version version) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchClusterCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to patch.
2019-03-11 22:43:41 -07:00
instance HasBodyParam PatchClusterCustomObject Body
2019-01-30 13:04:51 -08:00
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObject FieldManager where
applyOptionalParam req (FieldManager xs) =
req `addQuery` toQuery ("fieldManager", Just xs)
2020-08-23 22:59:07 -05:00
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam PatchClusterCustomObject FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObject Force where
applyOptionalParam req (Force xs) =
req `addQuery` toQuery ("force", Just xs)
2020-08-23 22:59:07 -05:00
2019-10-02 23:45:17 -05:00
-- | @application/json-patch+json@
instance Consumes PatchClusterCustomObject MimeJsonPatchjson
2019-01-30 13:04:51 -08:00
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObject MimeMergePatchjson
-- | @application/json@
instance Produces PatchClusterCustomObject MimeJSON
-- *** patchClusterCustomObjectScale
-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@
--
-- partially update scale of the specified cluster scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchClusterCustomObjectScale
2019-10-02 23:45:17 -05:00
:: (Consumes PatchClusterCustomObjectScale contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body"
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
2019-10-02 23:45:17 -05:00
-> KubernetesRequest PatchClusterCustomObjectScale contentType A.Value accept
patchClusterCustomObjectScale _ _ body (Group group) (Version version) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchClusterCustomObjectScale
2019-03-11 22:43:41 -07:00
instance HasBodyParam PatchClusterCustomObjectScale Body
2019-01-30 13:04:51 -08:00
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObjectScale DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObjectScale FieldManager where
applyOptionalParam req (FieldManager xs) =
req `addQuery` toQuery ("fieldManager", Just xs)
2020-08-23 22:59:07 -05:00
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam PatchClusterCustomObjectScale FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObjectScale Force where
applyOptionalParam req (Force xs) =
req `addQuery` toQuery ("force", Just xs)
2020-08-23 22:59:07 -05:00
2019-10-02 23:45:17 -05:00
-- | @application/json-patch+json@
instance Consumes PatchClusterCustomObjectScale MimeJsonPatchjson
2019-01-30 13:04:51 -08:00
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObjectScale MimeMergePatchjson
-- | @application/json@
instance Produces PatchClusterCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchClusterCustomObjectScale MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces PatchClusterCustomObjectScale MimeYaml
2019-01-30 13:04:51 -08:00
-- *** patchClusterCustomObjectStatus
-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}\/status@
--
-- partially update status of the specified cluster scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchClusterCustomObjectStatus
2019-10-02 23:45:17 -05:00
:: (Consumes PatchClusterCustomObjectStatus contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body"
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
2019-10-02 23:45:17 -05:00
-> KubernetesRequest PatchClusterCustomObjectStatus contentType A.Value accept
patchClusterCustomObjectStatus _ _ body (Group group) (Version version) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchClusterCustomObjectStatus
2019-03-11 22:43:41 -07:00
instance HasBodyParam PatchClusterCustomObjectStatus Body
2019-01-30 13:04:51 -08:00
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObjectStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObjectStatus FieldManager where
applyOptionalParam req (FieldManager xs) =
req `addQuery` toQuery ("fieldManager", Just xs)
2020-08-23 22:59:07 -05:00
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam PatchClusterCustomObjectStatus FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchClusterCustomObjectStatus Force where
applyOptionalParam req (Force xs) =
req `addQuery` toQuery ("force", Just xs)
2020-08-23 22:59:07 -05:00
2019-10-02 23:45:17 -05:00
-- | @application/json-patch+json@
instance Consumes PatchClusterCustomObjectStatus MimeJsonPatchjson
2019-01-30 13:04:51 -08:00
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObjectStatus MimeMergePatchjson
-- | @application/json@
instance Produces PatchClusterCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchClusterCustomObjectStatus MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces PatchClusterCustomObjectStatus MimeYaml
2019-01-30 13:04:51 -08:00
-- *** patchNamespacedCustomObject
-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@
--
-- patch the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchNamespacedCustomObject
2019-10-02 23:45:17 -05:00
:: (Consumes PatchNamespacedCustomObject contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Body -- ^ "body" - The JSON schema of the Resource to patch.
2019-03-11 22:43:41 -07:00
-> Group -- ^ "group" - the custom resource's group
2019-01-30 13:04:51 -08:00
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
2019-10-02 23:45:17 -05:00
-> KubernetesRequest PatchNamespacedCustomObject contentType A.Value MimeJSON
patchNamespacedCustomObject _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchNamespacedCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to patch.
2019-03-11 22:43:41 -07:00
instance HasBodyParam PatchNamespacedCustomObject Body
2019-01-30 13:04:51 -08:00
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObject FieldManager where
applyOptionalParam req (FieldManager xs) =
req `addQuery` toQuery ("fieldManager", Just xs)
2020-08-23 22:59:07 -05:00
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam PatchNamespacedCustomObject FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObject Force where
applyOptionalParam req (Force xs) =
req `addQuery` toQuery ("force", Just xs)
2020-08-23 22:59:07 -05:00
2019-10-02 23:45:17 -05:00
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCustomObject MimeJsonPatchjson
2019-01-30 13:04:51 -08:00
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObject MimeMergePatchjson
-- | @application/json@
instance Produces PatchNamespacedCustomObject MimeJSON
-- *** patchNamespacedCustomObjectScale
-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@
--
-- partially update scale of the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchNamespacedCustomObjectScale
2019-10-02 23:45:17 -05:00
:: (Consumes PatchNamespacedCustomObjectScale contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body"
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
2019-10-02 23:45:17 -05:00
-> KubernetesRequest PatchNamespacedCustomObjectScale contentType A.Value accept
patchNamespacedCustomObjectScale _ _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchNamespacedCustomObjectScale
2019-03-11 22:43:41 -07:00
instance HasBodyParam PatchNamespacedCustomObjectScale Body
2019-01-30 13:04:51 -08:00
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObjectScale DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObjectScale FieldManager where
applyOptionalParam req (FieldManager xs) =
req `addQuery` toQuery ("fieldManager", Just xs)
2020-08-23 22:59:07 -05:00
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam PatchNamespacedCustomObjectScale FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObjectScale Force where
applyOptionalParam req (Force xs) =
req `addQuery` toQuery ("force", Just xs)
2020-08-23 22:59:07 -05:00
-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedCustomObjectScale MimeApplyPatchyaml
2019-10-02 23:45:17 -05:00
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCustomObjectScale MimeJsonPatchjson
2019-01-30 13:04:51 -08:00
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObjectScale MimeMergePatchjson
-- | @application/json@
instance Produces PatchNamespacedCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedCustomObjectScale MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces PatchNamespacedCustomObjectScale MimeYaml
2019-01-30 13:04:51 -08:00
-- *** patchNamespacedCustomObjectStatus
-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@
--
-- partially update status of the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchNamespacedCustomObjectStatus
2019-10-02 23:45:17 -05:00
:: (Consumes PatchNamespacedCustomObjectStatus contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body"
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
2019-10-02 23:45:17 -05:00
-> KubernetesRequest PatchNamespacedCustomObjectStatus contentType A.Value accept
patchNamespacedCustomObjectStatus _ _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchNamespacedCustomObjectStatus
2019-03-11 22:43:41 -07:00
instance HasBodyParam PatchNamespacedCustomObjectStatus Body
2019-01-30 13:04:51 -08:00
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObjectStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObjectStatus FieldManager where
applyOptionalParam req (FieldManager xs) =
req `addQuery` toQuery ("fieldManager", Just xs)
2020-08-23 22:59:07 -05:00
-- | /Optional Param/ "fieldValidation" - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam PatchNamespacedCustomObjectStatus FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 PatchNamespacedCustomObjectStatus Force where
applyOptionalParam req (Force xs) =
req `addQuery` toQuery ("force", Just xs)
2020-08-23 22:59:07 -05:00
-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedCustomObjectStatus MimeApplyPatchyaml
2019-10-02 23:45:17 -05:00
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCustomObjectStatus MimeJsonPatchjson
2019-01-30 13:04:51 -08:00
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObjectStatus MimeMergePatchjson
-- | @application/json@
instance Produces PatchNamespacedCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces PatchNamespacedCustomObjectStatus MimeYaml
2019-01-30 13:04:51 -08:00
-- *** replaceClusterCustomObject
-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}@
--
-- replace the specified cluster scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceClusterCustomObject
2019-03-11 22:43:41 -07:00
:: (Consumes ReplaceClusterCustomObject contentType, MimeRender contentType Body)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body" - The JSON schema of the Resource to replace.
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest ReplaceClusterCustomObject contentType A.Value MimeJSON
2019-03-11 22:43:41 -07:00
replaceClusterCustomObject _ body (Group group) (Version version) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceClusterCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to replace.
2019-03-11 22:43:41 -07:00
instance HasBodyParam ReplaceClusterCustomObject Body
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceClusterCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceClusterCustomObject 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. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam ReplaceClusterCustomObject FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2019-01-30 13:04:51 -08:00
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObject mtype
-- | @application/json@
instance Produces ReplaceClusterCustomObject MimeJSON
-- *** replaceClusterCustomObjectScale
-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@
--
-- replace scale of the specified cluster scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceClusterCustomObjectScale
2019-03-11 22:43:41 -07:00
:: (Consumes ReplaceClusterCustomObjectScale contentType, MimeRender contentType Body)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body"
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest ReplaceClusterCustomObjectScale contentType A.Value accept
2019-03-11 22:43:41 -07:00
replaceClusterCustomObjectScale _ _ body (Group group) (Version version) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceClusterCustomObjectScale
2019-03-11 22:43:41 -07:00
instance HasBodyParam ReplaceClusterCustomObjectScale Body
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceClusterCustomObjectScale DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceClusterCustomObjectScale 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. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam ReplaceClusterCustomObjectScale FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2019-01-30 13:04:51 -08:00
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObjectScale mtype
-- | @application/json@
instance Produces ReplaceClusterCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceClusterCustomObjectScale MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces ReplaceClusterCustomObjectScale MimeYaml
2019-01-30 13:04:51 -08:00
-- *** replaceClusterCustomObjectStatus
-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}\/status@
--
-- replace status of the cluster scoped specified custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceClusterCustomObjectStatus
2019-03-11 22:43:41 -07:00
:: (Consumes ReplaceClusterCustomObjectStatus contentType, MimeRender contentType Body)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body"
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest ReplaceClusterCustomObjectStatus contentType A.Value accept
2019-03-11 22:43:41 -07:00
replaceClusterCustomObjectStatus _ _ body (Group group) (Version version) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceClusterCustomObjectStatus
2019-03-11 22:43:41 -07:00
instance HasBodyParam ReplaceClusterCustomObjectStatus Body
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceClusterCustomObjectStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceClusterCustomObjectStatus 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. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam ReplaceClusterCustomObjectStatus FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2019-01-30 13:04:51 -08:00
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObjectStatus mtype
-- | @application/json@
instance Produces ReplaceClusterCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceClusterCustomObjectStatus MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces ReplaceClusterCustomObjectStatus MimeYaml
2019-01-30 13:04:51 -08:00
-- *** replaceNamespacedCustomObject
-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@
--
-- replace the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceNamespacedCustomObject
2019-03-11 22:43:41 -07:00
:: (Consumes ReplaceNamespacedCustomObject contentType, MimeRender contentType Body)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body" - The JSON schema of the Resource to replace.
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest ReplaceNamespacedCustomObject contentType A.Value MimeJSON
2019-03-11 22:43:41 -07:00
replaceNamespacedCustomObject _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceNamespacedCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to replace.
2019-03-11 22:43:41 -07:00
instance HasBodyParam ReplaceNamespacedCustomObject Body
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceNamespacedCustomObject DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceNamespacedCustomObject 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. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam ReplaceNamespacedCustomObject FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2019-01-30 13:04:51 -08:00
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObject mtype
-- | @application/json@
instance Produces ReplaceNamespacedCustomObject MimeJSON
-- *** replaceNamespacedCustomObjectScale
-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@
--
-- replace scale of the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceNamespacedCustomObjectScale
2019-03-11 22:43:41 -07:00
:: (Consumes ReplaceNamespacedCustomObjectScale contentType, MimeRender contentType Body)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body"
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest ReplaceNamespacedCustomObjectScale contentType A.Value accept
2019-03-11 22:43:41 -07:00
replaceNamespacedCustomObjectScale _ _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceNamespacedCustomObjectScale
2019-03-11 22:43:41 -07:00
instance HasBodyParam ReplaceNamespacedCustomObjectScale Body
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceNamespacedCustomObjectScale DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceNamespacedCustomObjectScale 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. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam ReplaceNamespacedCustomObjectScale FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2019-01-30 13:04:51 -08:00
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObjectScale mtype
-- | @application/json@
instance Produces ReplaceNamespacedCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedCustomObjectScale MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces ReplaceNamespacedCustomObjectScale MimeYaml
2019-01-30 13:04:51 -08:00
-- *** replaceNamespacedCustomObjectStatus
-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@
--
-- replace status of the specified namespace scoped custom object
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceNamespacedCustomObjectStatus
2019-03-11 22:43:41 -07:00
:: (Consumes ReplaceNamespacedCustomObjectStatus contentType, MimeRender contentType Body)
2019-01-30 13:04:51 -08:00
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
2019-03-11 22:43:41 -07:00
-> Body -- ^ "body"
2019-01-30 13:04:51 -08:00
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> KubernetesRequest ReplaceNamespacedCustomObjectStatus contentType A.Value accept
2019-03-11 22:43:41 -07:00
replaceNamespacedCustomObjectStatus _ _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
2019-01-30 13:04:51 -08:00
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceNamespacedCustomObjectStatus
2019-03-11 22:43:41 -07:00
instance HasBodyParam ReplaceNamespacedCustomObjectStatus Body
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceNamespacedCustomObjectStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `addQuery` toQuery ("dryRun", Just xs)
2020-08-23 22:59:07 -05:00
-- | /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 ReplaceNamespacedCustomObjectStatus 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. 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. - 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 in v1.23+ - 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. (optional)
instance HasOptionalParam ReplaceNamespacedCustomObjectStatus FieldValidation where
applyOptionalParam req (FieldValidation xs) =
req `addQuery` toQuery ("fieldValidation", Just xs)
2019-01-30 13:04:51 -08:00
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObjectStatus mtype
-- | @application/json@
instance Produces ReplaceNamespacedCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
2019-03-11 22:43:41 -07:00
-- | @application/yaml@
instance Produces ReplaceNamespacedCustomObjectStatus MimeYaml
2019-01-30 13:04:51 -08:00