Generate from v1.13.4

This commit is contained in:
Shimin Guo
2019-03-13 07:46:12 -07:00
parent 6d0ee58ade
commit ec97160bc8
70 changed files with 90250 additions and 37016 deletions

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createInitializerConfiguration _ _ body =
data CreateInitializerConfiguration
instance HasBodyParam CreateInitializerConfiguration V1alpha1InitializerConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateInitializerConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateInitializerConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateInitializerConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateInitializerConfiguration mtype
@@ -112,12 +122,17 @@ deleteCollectionInitializerConfiguration _ =
data DeleteCollectionInitializerConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionInitializerConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionInitializerConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionInitializerConfiguration Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -127,11 +142,6 @@ instance HasOptionalParam DeleteCollectionInitializerConfiguration FieldSelector
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionInitializerConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionInitializerConfiguration LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -147,7 +157,7 @@ instance HasOptionalParam DeleteCollectionInitializerConfiguration ResourceVersi
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionInitializerConfiguration TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -173,16 +183,14 @@ instance Produces DeleteCollectionInitializerConfiguration MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteInitializerConfiguration
:: (Consumes DeleteInitializerConfiguration contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteInitializerConfiguration contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the InitializerConfiguration
-> KubernetesRequest DeleteInitializerConfiguration contentType V1Status accept
deleteInitializerConfiguration _ _ body (Name name) =
deleteInitializerConfiguration _ _ (Name name) =
_mkRequest "DELETE" ["/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteInitializerConfiguration
instance HasBodyParam DeleteInitializerConfiguration V1DeleteOptions
@@ -192,6 +200,11 @@ instance HasOptionalParam DeleteInitializerConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteInitializerConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteInitializerConfiguration GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -259,12 +272,17 @@ listInitializerConfiguration _ =
data ListInitializerConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListInitializerConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListInitializerConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListInitializerConfiguration Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +292,6 @@ instance HasOptionalParam ListInitializerConfiguration FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListInitializerConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListInitializerConfiguration LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +307,7 @@ instance HasOptionalParam ListInitializerConfiguration ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListInitializerConfiguration TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -343,6 +356,11 @@ instance HasOptionalParam PatchInitializerConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchInitializerConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchInitializerConfiguration MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -425,6 +443,11 @@ instance HasBodyParam ReplaceInitializerConfiguration V1alpha1InitializerConfigu
instance HasOptionalParam ReplaceInitializerConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceInitializerConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceInitializerConfiguration mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createMutatingWebhookConfiguration _ _ body =
data CreateMutatingWebhookConfiguration
instance HasBodyParam CreateMutatingWebhookConfiguration V1beta1MutatingWebhookConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateMutatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateMutatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateMutatingWebhookConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateMutatingWebhookConfiguration mtype
@@ -117,10 +127,20 @@ createValidatingWebhookConfiguration _ _ body =
data CreateValidatingWebhookConfiguration
instance HasBodyParam CreateValidatingWebhookConfiguration V1beta1ValidatingWebhookConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateValidatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateValidatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateValidatingWebhookConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateValidatingWebhookConfiguration mtype
@@ -150,12 +170,17 @@ deleteCollectionMutatingWebhookConfiguration _ =
data DeleteCollectionMutatingWebhookConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionMutatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionMutatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionMutatingWebhookConfiguration Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -165,11 +190,6 @@ instance HasOptionalParam DeleteCollectionMutatingWebhookConfiguration FieldSele
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionMutatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionMutatingWebhookConfiguration LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -185,7 +205,7 @@ instance HasOptionalParam DeleteCollectionMutatingWebhookConfiguration ResourceV
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionMutatingWebhookConfiguration TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -219,12 +239,17 @@ deleteCollectionValidatingWebhookConfiguration _ =
data DeleteCollectionValidatingWebhookConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionValidatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionValidatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionValidatingWebhookConfiguration Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -234,11 +259,6 @@ instance HasOptionalParam DeleteCollectionValidatingWebhookConfiguration FieldSe
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionValidatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionValidatingWebhookConfiguration LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -254,7 +274,7 @@ instance HasOptionalParam DeleteCollectionValidatingWebhookConfiguration Resourc
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionValidatingWebhookConfiguration TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -280,16 +300,14 @@ instance Produces DeleteCollectionValidatingWebhookConfiguration MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteMutatingWebhookConfiguration
:: (Consumes DeleteMutatingWebhookConfiguration contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteMutatingWebhookConfiguration contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the MutatingWebhookConfiguration
-> KubernetesRequest DeleteMutatingWebhookConfiguration contentType V1Status accept
deleteMutatingWebhookConfiguration _ _ body (Name name) =
deleteMutatingWebhookConfiguration _ _ (Name name) =
_mkRequest "DELETE" ["/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteMutatingWebhookConfiguration
instance HasBodyParam DeleteMutatingWebhookConfiguration V1DeleteOptions
@@ -299,6 +317,11 @@ instance HasOptionalParam DeleteMutatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteMutatingWebhookConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteMutatingWebhookConfiguration GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -334,16 +357,14 @@ instance Produces DeleteMutatingWebhookConfiguration MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteValidatingWebhookConfiguration
:: (Consumes DeleteValidatingWebhookConfiguration contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteValidatingWebhookConfiguration contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ValidatingWebhookConfiguration
-> KubernetesRequest DeleteValidatingWebhookConfiguration contentType V1Status accept
deleteValidatingWebhookConfiguration _ _ body (Name name) =
deleteValidatingWebhookConfiguration _ _ (Name name) =
_mkRequest "DELETE" ["/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteValidatingWebhookConfiguration
instance HasBodyParam DeleteValidatingWebhookConfiguration V1DeleteOptions
@@ -353,6 +374,11 @@ instance HasOptionalParam DeleteValidatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteValidatingWebhookConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteValidatingWebhookConfiguration GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -420,12 +446,17 @@ listMutatingWebhookConfiguration _ =
data ListMutatingWebhookConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListMutatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListMutatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListMutatingWebhookConfiguration Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -435,11 +466,6 @@ instance HasOptionalParam ListMutatingWebhookConfiguration FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListMutatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListMutatingWebhookConfiguration LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -455,7 +481,7 @@ instance HasOptionalParam ListMutatingWebhookConfiguration ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListMutatingWebhookConfiguration TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -493,12 +519,17 @@ listValidatingWebhookConfiguration _ =
data ListValidatingWebhookConfiguration
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListValidatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListValidatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListValidatingWebhookConfiguration Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -508,11 +539,6 @@ instance HasOptionalParam ListValidatingWebhookConfiguration FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListValidatingWebhookConfiguration IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListValidatingWebhookConfiguration LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -528,7 +554,7 @@ instance HasOptionalParam ListValidatingWebhookConfiguration ResourceVersion whe
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListValidatingWebhookConfiguration TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -577,6 +603,11 @@ instance HasOptionalParam PatchMutatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchMutatingWebhookConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchMutatingWebhookConfiguration MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -620,6 +651,11 @@ instance HasOptionalParam PatchValidatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchValidatingWebhookConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchValidatingWebhookConfiguration MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -742,6 +778,11 @@ instance HasBodyParam ReplaceMutatingWebhookConfiguration V1beta1MutatingWebhook
instance HasOptionalParam ReplaceMutatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceMutatingWebhookConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceMutatingWebhookConfiguration mtype
@@ -781,6 +822,11 @@ instance HasBodyParam ReplaceValidatingWebhookConfiguration V1beta1ValidatingWeb
instance HasOptionalParam ReplaceValidatingWebhookConfiguration Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceValidatingWebhookConfiguration DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceValidatingWebhookConfiguration mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createCustomResourceDefinition _ _ body =
data CreateCustomResourceDefinition
instance HasBodyParam CreateCustomResourceDefinition V1beta1CustomResourceDefinition
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateCustomResourceDefinition IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateCustomResourceDefinition Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateCustomResourceDefinition DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateCustomResourceDefinition mtype
@@ -112,12 +122,17 @@ deleteCollectionCustomResourceDefinition _ =
data DeleteCollectionCustomResourceDefinition
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionCustomResourceDefinition IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionCustomResourceDefinition Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionCustomResourceDefinition Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -127,11 +142,6 @@ instance HasOptionalParam DeleteCollectionCustomResourceDefinition FieldSelector
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionCustomResourceDefinition IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionCustomResourceDefinition LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -147,7 +157,7 @@ instance HasOptionalParam DeleteCollectionCustomResourceDefinition ResourceVersi
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionCustomResourceDefinition TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -173,16 +183,14 @@ instance Produces DeleteCollectionCustomResourceDefinition MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteCustomResourceDefinition
:: (Consumes DeleteCustomResourceDefinition contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteCustomResourceDefinition contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the CustomResourceDefinition
-> KubernetesRequest DeleteCustomResourceDefinition contentType V1Status accept
deleteCustomResourceDefinition _ _ body (Name name) =
deleteCustomResourceDefinition _ _ (Name name) =
_mkRequest "DELETE" ["/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteCustomResourceDefinition
instance HasBodyParam DeleteCustomResourceDefinition V1DeleteOptions
@@ -192,6 +200,11 @@ instance HasOptionalParam DeleteCustomResourceDefinition Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteCustomResourceDefinition DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteCustomResourceDefinition GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -259,12 +272,17 @@ listCustomResourceDefinition _ =
data ListCustomResourceDefinition
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListCustomResourceDefinition IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListCustomResourceDefinition Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListCustomResourceDefinition Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +292,6 @@ instance HasOptionalParam ListCustomResourceDefinition FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListCustomResourceDefinition IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListCustomResourceDefinition LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +307,7 @@ instance HasOptionalParam ListCustomResourceDefinition ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListCustomResourceDefinition TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -343,6 +356,11 @@ instance HasOptionalParam PatchCustomResourceDefinition Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchCustomResourceDefinition DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchCustomResourceDefinition MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -358,6 +376,54 @@ instance Produces PatchCustomResourceDefinition MimeVndKubernetesProtobuf
instance Produces PatchCustomResourceDefinition MimeYaml
-- *** patchCustomResourceDefinitionStatus
-- | @PATCH \/apis\/apiextensions.k8s.io\/v1beta1\/customresourcedefinitions\/{name}\/status@
--
-- partially update status of the specified CustomResourceDefinition
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchCustomResourceDefinitionStatus
:: (Consumes PatchCustomResourceDefinitionStatus contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Name -- ^ "name" - name of the CustomResourceDefinition
-> KubernetesRequest PatchCustomResourceDefinitionStatus contentType V1beta1CustomResourceDefinition accept
patchCustomResourceDefinitionStatus _ _ body (Name name) =
_mkRequest "PATCH" ["/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchCustomResourceDefinitionStatus
instance HasBodyParam PatchCustomResourceDefinitionStatus Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchCustomResourceDefinitionStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchCustomResourceDefinitionStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchCustomResourceDefinitionStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchCustomResourceDefinitionStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchCustomResourceDefinitionStatus MimeStrategicMergePatchjson
-- | @application/json@
instance Produces PatchCustomResourceDefinitionStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchCustomResourceDefinitionStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchCustomResourceDefinitionStatus MimeYaml
-- *** readCustomResourceDefinition
-- | @GET \/apis\/apiextensions.k8s.io\/v1beta1\/customresourcedefinitions\/{name}@
@@ -398,6 +464,36 @@ instance Produces ReadCustomResourceDefinition MimeVndKubernetesProtobuf
instance Produces ReadCustomResourceDefinition MimeYaml
-- *** readCustomResourceDefinitionStatus
-- | @GET \/apis\/apiextensions.k8s.io\/v1beta1\/customresourcedefinitions\/{name}\/status@
--
-- read status of the specified CustomResourceDefinition
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
readCustomResourceDefinitionStatus
:: Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the CustomResourceDefinition
-> KubernetesRequest ReadCustomResourceDefinitionStatus MimeNoContent V1beta1CustomResourceDefinition accept
readCustomResourceDefinitionStatus _ (Name name) =
_mkRequest "GET" ["/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ReadCustomResourceDefinitionStatus
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadCustomResourceDefinitionStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | @application/json@
instance Produces ReadCustomResourceDefinitionStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadCustomResourceDefinitionStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadCustomResourceDefinitionStatus MimeYaml
-- *** replaceCustomResourceDefinition
-- | @PUT \/apis\/apiextensions.k8s.io\/v1beta1\/customresourcedefinitions\/{name}@
@@ -425,6 +521,11 @@ instance HasBodyParam ReplaceCustomResourceDefinition V1beta1CustomResourceDefin
instance HasOptionalParam ReplaceCustomResourceDefinition Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceCustomResourceDefinition DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceCustomResourceDefinition mtype
@@ -464,6 +565,11 @@ instance HasBodyParam ReplaceCustomResourceDefinitionStatus V1beta1CustomResourc
instance HasOptionalParam ReplaceCustomResourceDefinitionStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceCustomResourceDefinitionStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceCustomResourceDefinitionStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createAPIService _ _ body =
data CreateAPIService
instance HasBodyParam CreateAPIService V1beta1APIService
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateAPIService IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateAPIService Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateAPIService DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateAPIService mtype
@@ -104,16 +114,14 @@ instance Produces CreateAPIService MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteAPIService
:: (Consumes DeleteAPIService contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteAPIService contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the APIService
-> KubernetesRequest DeleteAPIService contentType V1Status accept
deleteAPIService _ _ body (Name name) =
deleteAPIService _ _ (Name name) =
_mkRequest "DELETE" ["/apis/apiregistration.k8s.io/v1beta1/apiservices/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteAPIService
instance HasBodyParam DeleteAPIService V1DeleteOptions
@@ -123,6 +131,11 @@ instance HasOptionalParam DeleteAPIService Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteAPIService DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteAPIService GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -166,12 +179,17 @@ deleteCollectionAPIService _ =
data DeleteCollectionAPIService
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionAPIService IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionAPIService Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionAPIService Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -181,11 +199,6 @@ instance HasOptionalParam DeleteCollectionAPIService FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionAPIService IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionAPIService LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -201,7 +214,7 @@ instance HasOptionalParam DeleteCollectionAPIService ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionAPIService TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -259,12 +272,17 @@ listAPIService _ =
data ListAPIService
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListAPIService IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListAPIService Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListAPIService Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +292,6 @@ instance HasOptionalParam ListAPIService FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListAPIService IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListAPIService LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +307,7 @@ instance HasOptionalParam ListAPIService ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListAPIService TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -343,6 +356,11 @@ instance HasOptionalParam PatchAPIService Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchAPIService DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchAPIService MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -358,6 +376,54 @@ instance Produces PatchAPIService MimeVndKubernetesProtobuf
instance Produces PatchAPIService MimeYaml
-- *** patchAPIServiceStatus
-- | @PATCH \/apis\/apiregistration.k8s.io\/v1beta1\/apiservices\/{name}\/status@
--
-- partially update status of the specified APIService
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchAPIServiceStatus
:: (Consumes PatchAPIServiceStatus contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Name -- ^ "name" - name of the APIService
-> KubernetesRequest PatchAPIServiceStatus contentType V1beta1APIService accept
patchAPIServiceStatus _ _ body (Name name) =
_mkRequest "PATCH" ["/apis/apiregistration.k8s.io/v1beta1/apiservices/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchAPIServiceStatus
instance HasBodyParam PatchAPIServiceStatus Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchAPIServiceStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchAPIServiceStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchAPIServiceStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchAPIServiceStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchAPIServiceStatus MimeStrategicMergePatchjson
-- | @application/json@
instance Produces PatchAPIServiceStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchAPIServiceStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchAPIServiceStatus MimeYaml
-- *** readAPIService
-- | @GET \/apis\/apiregistration.k8s.io\/v1beta1\/apiservices\/{name}@
@@ -398,6 +464,36 @@ instance Produces ReadAPIService MimeVndKubernetesProtobuf
instance Produces ReadAPIService MimeYaml
-- *** readAPIServiceStatus
-- | @GET \/apis\/apiregistration.k8s.io\/v1beta1\/apiservices\/{name}\/status@
--
-- read status of the specified APIService
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
readAPIServiceStatus
:: Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the APIService
-> KubernetesRequest ReadAPIServiceStatus MimeNoContent V1beta1APIService accept
readAPIServiceStatus _ (Name name) =
_mkRequest "GET" ["/apis/apiregistration.k8s.io/v1beta1/apiservices/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ReadAPIServiceStatus
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadAPIServiceStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | @application/json@
instance Produces ReadAPIServiceStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadAPIServiceStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadAPIServiceStatus MimeYaml
-- *** replaceAPIService
-- | @PUT \/apis\/apiregistration.k8s.io\/v1beta1\/apiservices\/{name}@
@@ -425,6 +521,11 @@ instance HasBodyParam ReplaceAPIService V1beta1APIService
instance HasOptionalParam ReplaceAPIService Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceAPIService DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceAPIService mtype
@@ -464,6 +565,11 @@ instance HasBodyParam ReplaceAPIServiceStatus V1beta1APIService
instance HasOptionalParam ReplaceAPIServiceStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceAPIServiceStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceAPIServiceStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedControllerRevision _ _ body (Namespace namespace) =
data CreateNamespacedControllerRevision
instance HasBodyParam CreateNamespacedControllerRevision V1ControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedControllerRevision mtype
@@ -119,10 +129,20 @@ createNamespacedDaemonSet _ _ body (Namespace namespace) =
data CreateNamespacedDaemonSet
instance HasBodyParam CreateNamespacedDaemonSet V1DaemonSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedDaemonSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedDaemonSet mtype
@@ -158,10 +178,20 @@ createNamespacedDeployment _ _ body (Namespace namespace) =
data CreateNamespacedDeployment
instance HasBodyParam CreateNamespacedDeployment V1Deployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedDeployment mtype
@@ -197,10 +227,20 @@ createNamespacedReplicaSet _ _ body (Namespace namespace) =
data CreateNamespacedReplicaSet
instance HasBodyParam CreateNamespacedReplicaSet V1ReplicaSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedReplicaSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedReplicaSet mtype
@@ -236,10 +276,20 @@ createNamespacedStatefulSet _ _ body (Namespace namespace) =
data CreateNamespacedStatefulSet
instance HasBodyParam CreateNamespacedStatefulSet V1StatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedStatefulSet mtype
@@ -270,12 +320,17 @@ deleteCollectionNamespacedControllerRevision _ (Namespace namespace) =
data DeleteCollectionNamespacedControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedControllerRevision Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -285,11 +340,6 @@ instance HasOptionalParam DeleteCollectionNamespacedControllerRevision FieldSele
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -305,7 +355,7 @@ instance HasOptionalParam DeleteCollectionNamespacedControllerRevision ResourceV
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -340,12 +390,17 @@ deleteCollectionNamespacedDaemonSet _ (Namespace namespace) =
data DeleteCollectionNamespacedDaemonSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedDaemonSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -355,11 +410,6 @@ instance HasOptionalParam DeleteCollectionNamespacedDaemonSet FieldSelector wher
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -375,7 +425,7 @@ instance HasOptionalParam DeleteCollectionNamespacedDaemonSet ResourceVersion wh
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -410,12 +460,17 @@ deleteCollectionNamespacedDeployment _ (Namespace namespace) =
data DeleteCollectionNamespacedDeployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedDeployment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -425,11 +480,6 @@ instance HasOptionalParam DeleteCollectionNamespacedDeployment FieldSelector whe
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedDeployment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -445,7 +495,7 @@ instance HasOptionalParam DeleteCollectionNamespacedDeployment ResourceVersion w
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedDeployment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -480,12 +530,17 @@ deleteCollectionNamespacedReplicaSet _ (Namespace namespace) =
data DeleteCollectionNamespacedReplicaSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedReplicaSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -495,11 +550,6 @@ instance HasOptionalParam DeleteCollectionNamespacedReplicaSet FieldSelector whe
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -515,7 +565,7 @@ instance HasOptionalParam DeleteCollectionNamespacedReplicaSet ResourceVersion w
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -550,12 +600,17 @@ deleteCollectionNamespacedStatefulSet _ (Namespace namespace) =
data DeleteCollectionNamespacedStatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedStatefulSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -565,11 +620,6 @@ instance HasOptionalParam DeleteCollectionNamespacedStatefulSet FieldSelector wh
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -585,7 +635,7 @@ instance HasOptionalParam DeleteCollectionNamespacedStatefulSet ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -611,17 +661,15 @@ instance Produces DeleteCollectionNamespacedStatefulSet MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedControllerRevision
:: (Consumes DeleteNamespacedControllerRevision contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedControllerRevision contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ControllerRevision
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedControllerRevision contentType V1Status accept
deleteNamespacedControllerRevision _ _ body (Name name) (Namespace namespace) =
deleteNamespacedControllerRevision _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1/namespaces/",toPath namespace,"/controllerrevisions/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedControllerRevision
instance HasBodyParam DeleteNamespacedControllerRevision V1DeleteOptions
@@ -631,6 +679,11 @@ instance HasOptionalParam DeleteNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedControllerRevision GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -666,17 +719,15 @@ instance Produces DeleteNamespacedControllerRevision MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedDaemonSet
:: (Consumes DeleteNamespacedDaemonSet contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedDaemonSet contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the DaemonSet
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedDaemonSet contentType V1Status accept
deleteNamespacedDaemonSet _ _ body (Name name) (Namespace namespace) =
deleteNamespacedDaemonSet _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1/namespaces/",toPath namespace,"/daemonsets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedDaemonSet
instance HasBodyParam DeleteNamespacedDaemonSet V1DeleteOptions
@@ -686,6 +737,11 @@ instance HasOptionalParam DeleteNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedDaemonSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedDaemonSet GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -721,17 +777,15 @@ instance Produces DeleteNamespacedDaemonSet MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedDeployment
:: (Consumes DeleteNamespacedDeployment contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedDeployment contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the Deployment
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedDeployment contentType V1Status accept
deleteNamespacedDeployment _ _ body (Name name) (Namespace namespace) =
deleteNamespacedDeployment _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1/namespaces/",toPath namespace,"/deployments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedDeployment
instance HasBodyParam DeleteNamespacedDeployment V1DeleteOptions
@@ -741,6 +795,11 @@ instance HasOptionalParam DeleteNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedDeployment GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -776,17 +835,15 @@ instance Produces DeleteNamespacedDeployment MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedReplicaSet
:: (Consumes DeleteNamespacedReplicaSet contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedReplicaSet contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ReplicaSet
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedReplicaSet contentType V1Status accept
deleteNamespacedReplicaSet _ _ body (Name name) (Namespace namespace) =
deleteNamespacedReplicaSet _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1/namespaces/",toPath namespace,"/replicasets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedReplicaSet
instance HasBodyParam DeleteNamespacedReplicaSet V1DeleteOptions
@@ -796,6 +853,11 @@ instance HasOptionalParam DeleteNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedReplicaSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedReplicaSet GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -831,17 +893,15 @@ instance Produces DeleteNamespacedReplicaSet MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedStatefulSet
:: (Consumes DeleteNamespacedStatefulSet contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedStatefulSet contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the StatefulSet
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedStatefulSet contentType V1Status accept
deleteNamespacedStatefulSet _ _ body (Name name) (Namespace namespace) =
deleteNamespacedStatefulSet _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1/namespaces/",toPath namespace,"/statefulsets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedStatefulSet
instance HasBodyParam DeleteNamespacedStatefulSet V1DeleteOptions
@@ -851,6 +911,11 @@ instance HasOptionalParam DeleteNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedStatefulSet GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -918,7 +983,7 @@ listControllerRevisionForAllNamespaces _ =
data ListControllerRevisionForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListControllerRevisionForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -953,7 +1018,7 @@ instance HasOptionalParam ListControllerRevisionForAllNamespaces ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListControllerRevisionForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -991,7 +1056,7 @@ listDaemonSetForAllNamespaces _ =
data ListDaemonSetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListDaemonSetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1026,7 +1091,7 @@ instance HasOptionalParam ListDaemonSetForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListDaemonSetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1064,7 +1129,7 @@ listDeploymentForAllNamespaces _ =
data ListDeploymentForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListDeploymentForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1099,7 +1164,7 @@ instance HasOptionalParam ListDeploymentForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListDeploymentForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1138,12 +1203,17 @@ listNamespacedControllerRevision _ (Namespace namespace) =
data ListNamespacedControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedControllerRevision Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1153,11 +1223,6 @@ instance HasOptionalParam ListNamespacedControllerRevision FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedControllerRevision LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1173,7 +1238,7 @@ instance HasOptionalParam ListNamespacedControllerRevision ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedControllerRevision TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1212,12 +1277,17 @@ listNamespacedDaemonSet _ (Namespace namespace) =
data ListNamespacedDaemonSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedDaemonSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1227,11 +1297,6 @@ instance HasOptionalParam ListNamespacedDaemonSet FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedDaemonSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1247,7 +1312,7 @@ instance HasOptionalParam ListNamespacedDaemonSet ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedDaemonSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1286,12 +1351,17 @@ listNamespacedDeployment _ (Namespace namespace) =
data ListNamespacedDeployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedDeployment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1301,11 +1371,6 @@ instance HasOptionalParam ListNamespacedDeployment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedDeployment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1321,7 +1386,7 @@ instance HasOptionalParam ListNamespacedDeployment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedDeployment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1360,12 +1425,17 @@ listNamespacedReplicaSet _ (Namespace namespace) =
data ListNamespacedReplicaSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedReplicaSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1375,11 +1445,6 @@ instance HasOptionalParam ListNamespacedReplicaSet FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedReplicaSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1395,7 +1460,7 @@ instance HasOptionalParam ListNamespacedReplicaSet ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedReplicaSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1434,12 +1499,17 @@ listNamespacedStatefulSet _ (Namespace namespace) =
data ListNamespacedStatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedStatefulSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1449,11 +1519,6 @@ instance HasOptionalParam ListNamespacedStatefulSet FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedStatefulSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1469,7 +1534,7 @@ instance HasOptionalParam ListNamespacedStatefulSet ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedStatefulSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1507,7 +1572,7 @@ listReplicaSetForAllNamespaces _ =
data ListReplicaSetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListReplicaSetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1542,7 +1607,7 @@ instance HasOptionalParam ListReplicaSetForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListReplicaSetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1580,7 +1645,7 @@ listStatefulSetForAllNamespaces _ =
data ListStatefulSetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListStatefulSetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1615,7 +1680,7 @@ instance HasOptionalParam ListStatefulSetForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListStatefulSetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1665,6 +1730,11 @@ instance HasOptionalParam PatchNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedControllerRevision MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1709,6 +1779,11 @@ instance HasOptionalParam PatchNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDaemonSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDaemonSet MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1753,6 +1828,11 @@ instance HasOptionalParam PatchNamespacedDaemonSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDaemonSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDaemonSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1797,6 +1877,11 @@ instance HasOptionalParam PatchNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeployment MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1841,6 +1926,11 @@ instance HasOptionalParam PatchNamespacedDeploymentScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeploymentScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeploymentScale MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1885,6 +1975,11 @@ instance HasOptionalParam PatchNamespacedDeploymentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeploymentStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeploymentStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1929,6 +2024,11 @@ instance HasOptionalParam PatchNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedReplicaSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSet MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1973,6 +2073,11 @@ instance HasOptionalParam PatchNamespacedReplicaSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedReplicaSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSetScale MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2017,6 +2122,11 @@ instance HasOptionalParam PatchNamespacedReplicaSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedReplicaSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2061,6 +2171,11 @@ instance HasOptionalParam PatchNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSet MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2105,6 +2220,11 @@ instance HasOptionalParam PatchNamespacedStatefulSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSetScale MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2149,6 +2269,11 @@ instance HasOptionalParam PatchNamespacedStatefulSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2614,6 +2739,11 @@ instance HasBodyParam ReplaceNamespacedControllerRevision V1ControllerRevision
instance HasOptionalParam ReplaceNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedControllerRevision mtype
@@ -2654,6 +2784,11 @@ instance HasBodyParam ReplaceNamespacedDaemonSet V1DaemonSet
instance HasOptionalParam ReplaceNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDaemonSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDaemonSet mtype
@@ -2694,6 +2829,11 @@ instance HasBodyParam ReplaceNamespacedDaemonSetStatus V1DaemonSet
instance HasOptionalParam ReplaceNamespacedDaemonSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDaemonSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDaemonSetStatus mtype
@@ -2734,6 +2874,11 @@ instance HasBodyParam ReplaceNamespacedDeployment V1Deployment
instance HasOptionalParam ReplaceNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeployment mtype
@@ -2774,6 +2919,11 @@ instance HasBodyParam ReplaceNamespacedDeploymentScale V1Scale
instance HasOptionalParam ReplaceNamespacedDeploymentScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeploymentScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentScale mtype
@@ -2814,6 +2964,11 @@ instance HasBodyParam ReplaceNamespacedDeploymentStatus V1Deployment
instance HasOptionalParam ReplaceNamespacedDeploymentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeploymentStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentStatus mtype
@@ -2854,6 +3009,11 @@ instance HasBodyParam ReplaceNamespacedReplicaSet V1ReplicaSet
instance HasOptionalParam ReplaceNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedReplicaSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedReplicaSet mtype
@@ -2894,6 +3054,11 @@ instance HasBodyParam ReplaceNamespacedReplicaSetScale V1Scale
instance HasOptionalParam ReplaceNamespacedReplicaSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedReplicaSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedReplicaSetScale mtype
@@ -2934,6 +3099,11 @@ instance HasBodyParam ReplaceNamespacedReplicaSetStatus V1ReplicaSet
instance HasOptionalParam ReplaceNamespacedReplicaSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedReplicaSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedReplicaSetStatus mtype
@@ -2974,6 +3144,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSet V1StatefulSet
instance HasOptionalParam ReplaceNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSet mtype
@@ -3014,6 +3189,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSetScale V1Scale
instance HasOptionalParam ReplaceNamespacedStatefulSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetScale mtype
@@ -3054,6 +3234,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSetStatus V1StatefulSet
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedControllerRevision _ _ body (Namespace namespace) =
data CreateNamespacedControllerRevision
instance HasBodyParam CreateNamespacedControllerRevision V1beta1ControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedControllerRevision mtype
@@ -119,10 +129,20 @@ createNamespacedDeployment _ _ body (Namespace namespace) =
data CreateNamespacedDeployment
instance HasBodyParam CreateNamespacedDeployment AppsV1beta1Deployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedDeployment mtype
@@ -150,7 +170,7 @@ createNamespacedDeploymentRollback
-> AppsV1beta1DeploymentRollback -- ^ "body"
-> Name -- ^ "name" - name of the DeploymentRollback
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest CreateNamespacedDeploymentRollback contentType AppsV1beta1DeploymentRollback accept
-> KubernetesRequest CreateNamespacedDeploymentRollback contentType V1Status accept
createNamespacedDeploymentRollback _ _ body (Name name) (Namespace namespace) =
_mkRequest "POST" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name,"/rollback"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
@@ -159,6 +179,16 @@ createNamespacedDeploymentRollback _ _ body (Name name) (Namespace namespace) =
data CreateNamespacedDeploymentRollback
instance HasBodyParam CreateNamespacedDeploymentRollback AppsV1beta1DeploymentRollback
-- | /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 CreateNamespacedDeploymentRollback DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateNamespacedDeploymentRollback IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDeploymentRollback Pretty where
applyOptionalParam req (Pretty xs) =
@@ -198,10 +228,20 @@ createNamespacedStatefulSet _ _ body (Namespace namespace) =
data CreateNamespacedStatefulSet
instance HasBodyParam CreateNamespacedStatefulSet V1beta1StatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedStatefulSet mtype
@@ -232,12 +272,17 @@ deleteCollectionNamespacedControllerRevision _ (Namespace namespace) =
data DeleteCollectionNamespacedControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedControllerRevision Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -247,11 +292,6 @@ instance HasOptionalParam DeleteCollectionNamespacedControllerRevision FieldSele
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -267,7 +307,7 @@ instance HasOptionalParam DeleteCollectionNamespacedControllerRevision ResourceV
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -302,12 +342,17 @@ deleteCollectionNamespacedDeployment _ (Namespace namespace) =
data DeleteCollectionNamespacedDeployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedDeployment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -317,11 +362,6 @@ instance HasOptionalParam DeleteCollectionNamespacedDeployment FieldSelector whe
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedDeployment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -337,7 +377,7 @@ instance HasOptionalParam DeleteCollectionNamespacedDeployment ResourceVersion w
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedDeployment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -372,12 +412,17 @@ deleteCollectionNamespacedStatefulSet _ (Namespace namespace) =
data DeleteCollectionNamespacedStatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedStatefulSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -387,11 +432,6 @@ instance HasOptionalParam DeleteCollectionNamespacedStatefulSet FieldSelector wh
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -407,7 +447,7 @@ instance HasOptionalParam DeleteCollectionNamespacedStatefulSet ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -433,17 +473,15 @@ instance Produces DeleteCollectionNamespacedStatefulSet MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedControllerRevision
:: (Consumes DeleteNamespacedControllerRevision contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedControllerRevision contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ControllerRevision
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedControllerRevision contentType V1Status accept
deleteNamespacedControllerRevision _ _ body (Name name) (Namespace namespace) =
deleteNamespacedControllerRevision _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/controllerrevisions/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedControllerRevision
instance HasBodyParam DeleteNamespacedControllerRevision V1DeleteOptions
@@ -453,6 +491,11 @@ instance HasOptionalParam DeleteNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedControllerRevision GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -488,17 +531,15 @@ instance Produces DeleteNamespacedControllerRevision MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedDeployment
:: (Consumes DeleteNamespacedDeployment contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedDeployment contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the Deployment
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedDeployment contentType V1Status accept
deleteNamespacedDeployment _ _ body (Name name) (Namespace namespace) =
deleteNamespacedDeployment _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/deployments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedDeployment
instance HasBodyParam DeleteNamespacedDeployment V1DeleteOptions
@@ -508,6 +549,11 @@ instance HasOptionalParam DeleteNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedDeployment GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -543,17 +589,15 @@ instance Produces DeleteNamespacedDeployment MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedStatefulSet
:: (Consumes DeleteNamespacedStatefulSet contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedStatefulSet contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the StatefulSet
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedStatefulSet contentType V1Status accept
deleteNamespacedStatefulSet _ _ body (Name name) (Namespace namespace) =
deleteNamespacedStatefulSet _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1beta1/namespaces/",toPath namespace,"/statefulsets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedStatefulSet
instance HasBodyParam DeleteNamespacedStatefulSet V1DeleteOptions
@@ -563,6 +607,11 @@ instance HasOptionalParam DeleteNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedStatefulSet GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -630,7 +679,7 @@ listControllerRevisionForAllNamespaces _ =
data ListControllerRevisionForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListControllerRevisionForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -665,7 +714,7 @@ instance HasOptionalParam ListControllerRevisionForAllNamespaces ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListControllerRevisionForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -703,7 +752,7 @@ listDeploymentForAllNamespaces _ =
data ListDeploymentForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListDeploymentForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -738,7 +787,7 @@ instance HasOptionalParam ListDeploymentForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListDeploymentForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -777,12 +826,17 @@ listNamespacedControllerRevision _ (Namespace namespace) =
data ListNamespacedControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedControllerRevision Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -792,11 +846,6 @@ instance HasOptionalParam ListNamespacedControllerRevision FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedControllerRevision LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -812,7 +861,7 @@ instance HasOptionalParam ListNamespacedControllerRevision ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedControllerRevision TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -851,12 +900,17 @@ listNamespacedDeployment _ (Namespace namespace) =
data ListNamespacedDeployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedDeployment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -866,11 +920,6 @@ instance HasOptionalParam ListNamespacedDeployment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedDeployment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -886,7 +935,7 @@ instance HasOptionalParam ListNamespacedDeployment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedDeployment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -925,12 +974,17 @@ listNamespacedStatefulSet _ (Namespace namespace) =
data ListNamespacedStatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedStatefulSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -940,11 +994,6 @@ instance HasOptionalParam ListNamespacedStatefulSet FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedStatefulSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -960,7 +1009,7 @@ instance HasOptionalParam ListNamespacedStatefulSet ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedStatefulSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -998,7 +1047,7 @@ listStatefulSetForAllNamespaces _ =
data ListStatefulSetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListStatefulSetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1033,7 +1082,7 @@ instance HasOptionalParam ListStatefulSetForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListStatefulSetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1083,6 +1132,11 @@ instance HasOptionalParam PatchNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedControllerRevision MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1127,6 +1181,11 @@ instance HasOptionalParam PatchNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeployment MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1171,6 +1230,11 @@ instance HasOptionalParam PatchNamespacedDeploymentScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeploymentScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeploymentScale MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1215,6 +1279,11 @@ instance HasOptionalParam PatchNamespacedDeploymentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeploymentStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeploymentStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1259,6 +1328,11 @@ instance HasOptionalParam PatchNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSet MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1303,6 +1377,11 @@ instance HasOptionalParam PatchNamespacedStatefulSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSetScale MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1347,6 +1426,11 @@ instance HasOptionalParam PatchNamespacedStatefulSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1637,6 +1721,11 @@ instance HasBodyParam ReplaceNamespacedControllerRevision V1beta1ControllerRevis
instance HasOptionalParam ReplaceNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedControllerRevision mtype
@@ -1677,6 +1766,11 @@ instance HasBodyParam ReplaceNamespacedDeployment AppsV1beta1Deployment
instance HasOptionalParam ReplaceNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeployment mtype
@@ -1717,6 +1811,11 @@ instance HasBodyParam ReplaceNamespacedDeploymentScale AppsV1beta1Scale
instance HasOptionalParam ReplaceNamespacedDeploymentScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeploymentScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentScale mtype
@@ -1757,6 +1856,11 @@ instance HasBodyParam ReplaceNamespacedDeploymentStatus AppsV1beta1Deployment
instance HasOptionalParam ReplaceNamespacedDeploymentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeploymentStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentStatus mtype
@@ -1797,6 +1901,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSet V1beta1StatefulSet
instance HasOptionalParam ReplaceNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSet mtype
@@ -1837,6 +1946,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSetScale AppsV1beta1Scale
instance HasOptionalParam ReplaceNamespacedStatefulSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetScale mtype
@@ -1877,6 +1991,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSetStatus V1beta1StatefulSet
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedControllerRevision _ _ body (Namespace namespace) =
data CreateNamespacedControllerRevision
instance HasBodyParam CreateNamespacedControllerRevision V1beta2ControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedControllerRevision mtype
@@ -119,10 +129,20 @@ createNamespacedDaemonSet _ _ body (Namespace namespace) =
data CreateNamespacedDaemonSet
instance HasBodyParam CreateNamespacedDaemonSet V1beta2DaemonSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedDaemonSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedDaemonSet mtype
@@ -158,10 +178,20 @@ createNamespacedDeployment _ _ body (Namespace namespace) =
data CreateNamespacedDeployment
instance HasBodyParam CreateNamespacedDeployment V1beta2Deployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedDeployment mtype
@@ -197,10 +227,20 @@ createNamespacedReplicaSet _ _ body (Namespace namespace) =
data CreateNamespacedReplicaSet
instance HasBodyParam CreateNamespacedReplicaSet V1beta2ReplicaSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedReplicaSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedReplicaSet mtype
@@ -236,10 +276,20 @@ createNamespacedStatefulSet _ _ body (Namespace namespace) =
data CreateNamespacedStatefulSet
instance HasBodyParam CreateNamespacedStatefulSet V1beta2StatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /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 CreateNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedStatefulSet mtype
@@ -270,12 +320,17 @@ deleteCollectionNamespacedControllerRevision _ (Namespace namespace) =
data DeleteCollectionNamespacedControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedControllerRevision Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -285,11 +340,6 @@ instance HasOptionalParam DeleteCollectionNamespacedControllerRevision FieldSele
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -305,7 +355,7 @@ instance HasOptionalParam DeleteCollectionNamespacedControllerRevision ResourceV
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedControllerRevision TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -340,12 +390,17 @@ deleteCollectionNamespacedDaemonSet _ (Namespace namespace) =
data DeleteCollectionNamespacedDaemonSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedDaemonSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -355,11 +410,6 @@ instance HasOptionalParam DeleteCollectionNamespacedDaemonSet FieldSelector wher
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -375,7 +425,7 @@ instance HasOptionalParam DeleteCollectionNamespacedDaemonSet ResourceVersion wh
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedDaemonSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -410,12 +460,17 @@ deleteCollectionNamespacedDeployment _ (Namespace namespace) =
data DeleteCollectionNamespacedDeployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedDeployment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -425,11 +480,6 @@ instance HasOptionalParam DeleteCollectionNamespacedDeployment FieldSelector whe
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedDeployment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -445,7 +495,7 @@ instance HasOptionalParam DeleteCollectionNamespacedDeployment ResourceVersion w
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedDeployment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -480,12 +530,17 @@ deleteCollectionNamespacedReplicaSet _ (Namespace namespace) =
data DeleteCollectionNamespacedReplicaSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedReplicaSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -495,11 +550,6 @@ instance HasOptionalParam DeleteCollectionNamespacedReplicaSet FieldSelector whe
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -515,7 +565,7 @@ instance HasOptionalParam DeleteCollectionNamespacedReplicaSet ResourceVersion w
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedReplicaSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -550,12 +600,17 @@ deleteCollectionNamespacedStatefulSet _ (Namespace namespace) =
data DeleteCollectionNamespacedStatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedStatefulSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -565,11 +620,6 @@ instance HasOptionalParam DeleteCollectionNamespacedStatefulSet FieldSelector wh
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -585,7 +635,7 @@ instance HasOptionalParam DeleteCollectionNamespacedStatefulSet ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedStatefulSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -611,17 +661,15 @@ instance Produces DeleteCollectionNamespacedStatefulSet MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedControllerRevision
:: (Consumes DeleteNamespacedControllerRevision contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedControllerRevision contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ControllerRevision
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedControllerRevision contentType V1Status accept
deleteNamespacedControllerRevision _ _ body (Name name) (Namespace namespace) =
deleteNamespacedControllerRevision _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1beta2/namespaces/",toPath namespace,"/controllerrevisions/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedControllerRevision
instance HasBodyParam DeleteNamespacedControllerRevision V1DeleteOptions
@@ -631,6 +679,11 @@ instance HasOptionalParam DeleteNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedControllerRevision GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -666,17 +719,15 @@ instance Produces DeleteNamespacedControllerRevision MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedDaemonSet
:: (Consumes DeleteNamespacedDaemonSet contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedDaemonSet contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the DaemonSet
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedDaemonSet contentType V1Status accept
deleteNamespacedDaemonSet _ _ body (Name name) (Namespace namespace) =
deleteNamespacedDaemonSet _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1beta2/namespaces/",toPath namespace,"/daemonsets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedDaemonSet
instance HasBodyParam DeleteNamespacedDaemonSet V1DeleteOptions
@@ -686,6 +737,11 @@ instance HasOptionalParam DeleteNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedDaemonSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedDaemonSet GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -721,17 +777,15 @@ instance Produces DeleteNamespacedDaemonSet MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedDeployment
:: (Consumes DeleteNamespacedDeployment contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedDeployment contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the Deployment
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedDeployment contentType V1Status accept
deleteNamespacedDeployment _ _ body (Name name) (Namespace namespace) =
deleteNamespacedDeployment _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1beta2/namespaces/",toPath namespace,"/deployments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedDeployment
instance HasBodyParam DeleteNamespacedDeployment V1DeleteOptions
@@ -741,6 +795,11 @@ instance HasOptionalParam DeleteNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedDeployment GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -776,17 +835,15 @@ instance Produces DeleteNamespacedDeployment MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedReplicaSet
:: (Consumes DeleteNamespacedReplicaSet contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedReplicaSet contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ReplicaSet
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedReplicaSet contentType V1Status accept
deleteNamespacedReplicaSet _ _ body (Name name) (Namespace namespace) =
deleteNamespacedReplicaSet _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1beta2/namespaces/",toPath namespace,"/replicasets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedReplicaSet
instance HasBodyParam DeleteNamespacedReplicaSet V1DeleteOptions
@@ -796,6 +853,11 @@ instance HasOptionalParam DeleteNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedReplicaSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedReplicaSet GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -831,17 +893,15 @@ instance Produces DeleteNamespacedReplicaSet MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedStatefulSet
:: (Consumes DeleteNamespacedStatefulSet contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedStatefulSet contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the StatefulSet
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedStatefulSet contentType V1Status accept
deleteNamespacedStatefulSet _ _ body (Name name) (Namespace namespace) =
deleteNamespacedStatefulSet _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/apps/v1beta2/namespaces/",toPath namespace,"/statefulsets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedStatefulSet
instance HasBodyParam DeleteNamespacedStatefulSet V1DeleteOptions
@@ -851,6 +911,11 @@ instance HasOptionalParam DeleteNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedStatefulSet GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -918,7 +983,7 @@ listControllerRevisionForAllNamespaces _ =
data ListControllerRevisionForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListControllerRevisionForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -953,7 +1018,7 @@ instance HasOptionalParam ListControllerRevisionForAllNamespaces ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListControllerRevisionForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -991,7 +1056,7 @@ listDaemonSetForAllNamespaces _ =
data ListDaemonSetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListDaemonSetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1026,7 +1091,7 @@ instance HasOptionalParam ListDaemonSetForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListDaemonSetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1064,7 +1129,7 @@ listDeploymentForAllNamespaces _ =
data ListDeploymentForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListDeploymentForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1099,7 +1164,7 @@ instance HasOptionalParam ListDeploymentForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListDeploymentForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1138,12 +1203,17 @@ listNamespacedControllerRevision _ (Namespace namespace) =
data ListNamespacedControllerRevision
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedControllerRevision Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1153,11 +1223,6 @@ instance HasOptionalParam ListNamespacedControllerRevision FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedControllerRevision IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedControllerRevision LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1173,7 +1238,7 @@ instance HasOptionalParam ListNamespacedControllerRevision ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedControllerRevision TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1212,12 +1277,17 @@ listNamespacedDaemonSet _ (Namespace namespace) =
data ListNamespacedDaemonSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedDaemonSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1227,11 +1297,6 @@ instance HasOptionalParam ListNamespacedDaemonSet FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDaemonSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedDaemonSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1247,7 +1312,7 @@ instance HasOptionalParam ListNamespacedDaemonSet ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedDaemonSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1286,12 +1351,17 @@ listNamespacedDeployment _ (Namespace namespace) =
data ListNamespacedDeployment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedDeployment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1301,11 +1371,6 @@ instance HasOptionalParam ListNamespacedDeployment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedDeployment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedDeployment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1321,7 +1386,7 @@ instance HasOptionalParam ListNamespacedDeployment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedDeployment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1360,12 +1425,17 @@ listNamespacedReplicaSet _ (Namespace namespace) =
data ListNamespacedReplicaSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedReplicaSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1375,11 +1445,6 @@ instance HasOptionalParam ListNamespacedReplicaSet FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedReplicaSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedReplicaSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1395,7 +1460,7 @@ instance HasOptionalParam ListNamespacedReplicaSet ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedReplicaSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1434,12 +1499,17 @@ listNamespacedStatefulSet _ (Namespace namespace) =
data ListNamespacedStatefulSet
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedStatefulSet Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1449,11 +1519,6 @@ instance HasOptionalParam ListNamespacedStatefulSet FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedStatefulSet IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedStatefulSet LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1469,7 +1534,7 @@ instance HasOptionalParam ListNamespacedStatefulSet ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedStatefulSet TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1507,7 +1572,7 @@ listReplicaSetForAllNamespaces _ =
data ListReplicaSetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListReplicaSetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1542,7 +1607,7 @@ instance HasOptionalParam ListReplicaSetForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListReplicaSetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1580,7 +1645,7 @@ listStatefulSetForAllNamespaces _ =
data ListStatefulSetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListStatefulSetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1615,7 +1680,7 @@ instance HasOptionalParam ListStatefulSetForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListStatefulSetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1665,6 +1730,11 @@ instance HasOptionalParam PatchNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedControllerRevision MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1709,6 +1779,11 @@ instance HasOptionalParam PatchNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDaemonSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDaemonSet MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1753,6 +1828,11 @@ instance HasOptionalParam PatchNamespacedDaemonSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDaemonSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDaemonSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1797,6 +1877,11 @@ instance HasOptionalParam PatchNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeployment MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1841,6 +1926,11 @@ instance HasOptionalParam PatchNamespacedDeploymentScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeploymentScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeploymentScale MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1885,6 +1975,11 @@ instance HasOptionalParam PatchNamespacedDeploymentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedDeploymentStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedDeploymentStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1929,6 +2024,11 @@ instance HasOptionalParam PatchNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedReplicaSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSet MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1973,6 +2073,11 @@ instance HasOptionalParam PatchNamespacedReplicaSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedReplicaSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSetScale MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2017,6 +2122,11 @@ instance HasOptionalParam PatchNamespacedReplicaSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedReplicaSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedReplicaSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2061,6 +2171,11 @@ instance HasOptionalParam PatchNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSet MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2105,6 +2220,11 @@ instance HasOptionalParam PatchNamespacedStatefulSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSetScale MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2149,6 +2269,11 @@ instance HasOptionalParam PatchNamespacedStatefulSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedStatefulSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedStatefulSetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -2614,6 +2739,11 @@ instance HasBodyParam ReplaceNamespacedControllerRevision V1beta2ControllerRevis
instance HasOptionalParam ReplaceNamespacedControllerRevision Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedControllerRevision DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedControllerRevision mtype
@@ -2654,6 +2784,11 @@ instance HasBodyParam ReplaceNamespacedDaemonSet V1beta2DaemonSet
instance HasOptionalParam ReplaceNamespacedDaemonSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDaemonSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDaemonSet mtype
@@ -2694,6 +2829,11 @@ instance HasBodyParam ReplaceNamespacedDaemonSetStatus V1beta2DaemonSet
instance HasOptionalParam ReplaceNamespacedDaemonSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDaemonSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDaemonSetStatus mtype
@@ -2734,6 +2874,11 @@ instance HasBodyParam ReplaceNamespacedDeployment V1beta2Deployment
instance HasOptionalParam ReplaceNamespacedDeployment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeployment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeployment mtype
@@ -2774,6 +2919,11 @@ instance HasBodyParam ReplaceNamespacedDeploymentScale V1beta2Scale
instance HasOptionalParam ReplaceNamespacedDeploymentScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeploymentScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentScale mtype
@@ -2814,6 +2964,11 @@ instance HasBodyParam ReplaceNamespacedDeploymentStatus V1beta2Deployment
instance HasOptionalParam ReplaceNamespacedDeploymentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedDeploymentStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedDeploymentStatus mtype
@@ -2854,6 +3009,11 @@ instance HasBodyParam ReplaceNamespacedReplicaSet V1beta2ReplicaSet
instance HasOptionalParam ReplaceNamespacedReplicaSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedReplicaSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedReplicaSet mtype
@@ -2894,6 +3054,11 @@ instance HasBodyParam ReplaceNamespacedReplicaSetScale V1beta2Scale
instance HasOptionalParam ReplaceNamespacedReplicaSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedReplicaSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedReplicaSetScale mtype
@@ -2934,6 +3099,11 @@ instance HasBodyParam ReplaceNamespacedReplicaSetStatus V1beta2ReplicaSet
instance HasOptionalParam ReplaceNamespacedReplicaSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedReplicaSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedReplicaSetStatus mtype
@@ -2974,6 +3144,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSet V1beta2StatefulSet
instance HasOptionalParam ReplaceNamespacedStatefulSet Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSet DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSet mtype
@@ -3014,6 +3189,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSetScale V1beta2Scale
instance HasOptionalParam ReplaceNamespacedStatefulSetScale Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSetScale DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetScale mtype
@@ -3054,6 +3234,11 @@ instance HasBodyParam ReplaceNamespacedStatefulSetStatus V1beta2StatefulSet
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedStatefulSetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedStatefulSetStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,6 +79,16 @@ createTokenReview _ _ body =
data CreateTokenReview
instance HasBodyParam CreateTokenReview V1TokenReview
-- | /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 CreateTokenReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateTokenReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateTokenReview Pretty where
applyOptionalParam req (Pretty xs) =

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,6 +79,16 @@ createTokenReview _ _ body =
data CreateTokenReview
instance HasBodyParam CreateTokenReview V1beta1TokenReview
-- | /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 CreateTokenReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateTokenReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateTokenReview Pretty where
applyOptionalParam req (Pretty xs) =

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,6 +80,16 @@ createNamespacedLocalSubjectAccessReview _ _ body (Namespace namespace) =
data CreateNamespacedLocalSubjectAccessReview
instance HasBodyParam CreateNamespacedLocalSubjectAccessReview V1LocalSubjectAccessReview
-- | /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 CreateNamespacedLocalSubjectAccessReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateNamespacedLocalSubjectAccessReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedLocalSubjectAccessReview Pretty where
applyOptionalParam req (Pretty xs) =
@@ -118,6 +128,16 @@ createSelfSubjectAccessReview _ _ body =
data CreateSelfSubjectAccessReview
instance HasBodyParam CreateSelfSubjectAccessReview V1SelfSubjectAccessReview
-- | /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 CreateSelfSubjectAccessReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateSelfSubjectAccessReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateSelfSubjectAccessReview Pretty where
applyOptionalParam req (Pretty xs) =
@@ -156,6 +176,16 @@ createSelfSubjectRulesReview _ _ body =
data CreateSelfSubjectRulesReview
instance HasBodyParam CreateSelfSubjectRulesReview V1SelfSubjectRulesReview
-- | /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 CreateSelfSubjectRulesReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateSelfSubjectRulesReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateSelfSubjectRulesReview Pretty where
applyOptionalParam req (Pretty xs) =
@@ -194,6 +224,16 @@ createSubjectAccessReview _ _ body =
data CreateSubjectAccessReview
instance HasBodyParam CreateSubjectAccessReview V1SubjectAccessReview
-- | /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 CreateSubjectAccessReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateSubjectAccessReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateSubjectAccessReview Pretty where
applyOptionalParam req (Pretty xs) =

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,6 +80,16 @@ createNamespacedLocalSubjectAccessReview _ _ body (Namespace namespace) =
data CreateNamespacedLocalSubjectAccessReview
instance HasBodyParam CreateNamespacedLocalSubjectAccessReview V1beta1LocalSubjectAccessReview
-- | /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 CreateNamespacedLocalSubjectAccessReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateNamespacedLocalSubjectAccessReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedLocalSubjectAccessReview Pretty where
applyOptionalParam req (Pretty xs) =
@@ -118,6 +128,16 @@ createSelfSubjectAccessReview _ _ body =
data CreateSelfSubjectAccessReview
instance HasBodyParam CreateSelfSubjectAccessReview V1beta1SelfSubjectAccessReview
-- | /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 CreateSelfSubjectAccessReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateSelfSubjectAccessReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateSelfSubjectAccessReview Pretty where
applyOptionalParam req (Pretty xs) =
@@ -156,6 +176,16 @@ createSelfSubjectRulesReview _ _ body =
data CreateSelfSubjectRulesReview
instance HasBodyParam CreateSelfSubjectRulesReview V1beta1SelfSubjectRulesReview
-- | /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 CreateSelfSubjectRulesReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateSelfSubjectRulesReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateSelfSubjectRulesReview Pretty where
applyOptionalParam req (Pretty xs) =
@@ -194,6 +224,16 @@ createSubjectAccessReview _ _ body =
data CreateSubjectAccessReview
instance HasBodyParam CreateSubjectAccessReview V1beta1SubjectAccessReview
-- | /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 CreateSubjectAccessReview DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "includeUninitialized" - If IncludeUninitialized is specified, the object may be returned without completing initialization.
instance HasOptionalParam CreateSubjectAccessReview IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateSubjectAccessReview Pretty where
applyOptionalParam req (Pretty xs) =

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedHorizontalPodAutoscaler _ _ body (Namespace namespace) =
data CreateNamespacedHorizontalPodAutoscaler
instance HasBodyParam CreateNamespacedHorizontalPodAutoscaler V1HorizontalPodAutoscaler
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedHorizontalPodAutoscaler DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedHorizontalPodAutoscaler mtype
@@ -114,12 +124,17 @@ deleteCollectionNamespacedHorizontalPodAutoscaler _ (Namespace namespace) =
data DeleteCollectionNamespacedHorizontalPodAutoscaler
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedHorizontalPodAutoscaler Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +144,6 @@ instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler Fiel
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +159,7 @@ instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler Reso
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -175,17 +185,15 @@ instance Produces DeleteCollectionNamespacedHorizontalPodAutoscaler MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedHorizontalPodAutoscaler
:: (Consumes DeleteNamespacedHorizontalPodAutoscaler contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedHorizontalPodAutoscaler contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the HorizontalPodAutoscaler
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedHorizontalPodAutoscaler contentType V1Status accept
deleteNamespacedHorizontalPodAutoscaler _ _ body (Name name) (Namespace namespace) =
deleteNamespacedHorizontalPodAutoscaler _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/autoscaling/v1/namespaces/",toPath namespace,"/horizontalpodautoscalers/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedHorizontalPodAutoscaler
instance HasBodyParam DeleteNamespacedHorizontalPodAutoscaler V1DeleteOptions
@@ -195,6 +203,11 @@ instance HasOptionalParam DeleteNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedHorizontalPodAutoscaler DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedHorizontalPodAutoscaler GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -262,7 +275,7 @@ listHorizontalPodAutoscalerForAllNamespaces _ =
data ListHorizontalPodAutoscalerForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListHorizontalPodAutoscalerForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -297,7 +310,7 @@ instance HasOptionalParam ListHorizontalPodAutoscalerForAllNamespaces ResourceVe
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListHorizontalPodAutoscalerForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,12 +349,17 @@ listNamespacedHorizontalPodAutoscaler _ (Namespace namespace) =
data ListNamespacedHorizontalPodAutoscaler
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedHorizontalPodAutoscaler Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +369,6 @@ instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler FieldSelector wh
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +384,7 @@ instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -421,6 +434,11 @@ instance HasOptionalParam PatchNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedHorizontalPodAutoscaler DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedHorizontalPodAutoscaler MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -465,6 +483,11 @@ instance HasOptionalParam PatchNamespacedHorizontalPodAutoscalerStatus Pretty wh
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedHorizontalPodAutoscalerStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedHorizontalPodAutoscalerStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -580,6 +603,11 @@ instance HasBodyParam ReplaceNamespacedHorizontalPodAutoscaler V1HorizontalPodAu
instance HasOptionalParam ReplaceNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedHorizontalPodAutoscaler DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedHorizontalPodAutoscaler mtype
@@ -620,6 +648,11 @@ instance HasBodyParam ReplaceNamespacedHorizontalPodAutoscalerStatus V1Horizonta
instance HasOptionalParam ReplaceNamespacedHorizontalPodAutoscalerStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedHorizontalPodAutoscalerStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedHorizontalPodAutoscalerStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedHorizontalPodAutoscaler _ _ body (Namespace namespace) =
data CreateNamespacedHorizontalPodAutoscaler
instance HasBodyParam CreateNamespacedHorizontalPodAutoscaler V2beta1HorizontalPodAutoscaler
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedHorizontalPodAutoscaler DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedHorizontalPodAutoscaler mtype
@@ -114,12 +124,17 @@ deleteCollectionNamespacedHorizontalPodAutoscaler _ (Namespace namespace) =
data DeleteCollectionNamespacedHorizontalPodAutoscaler
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedHorizontalPodAutoscaler Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +144,6 @@ instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler Fiel
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +159,7 @@ instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler Reso
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedHorizontalPodAutoscaler TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -175,17 +185,15 @@ instance Produces DeleteCollectionNamespacedHorizontalPodAutoscaler MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedHorizontalPodAutoscaler
:: (Consumes DeleteNamespacedHorizontalPodAutoscaler contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedHorizontalPodAutoscaler contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the HorizontalPodAutoscaler
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedHorizontalPodAutoscaler contentType V1Status accept
deleteNamespacedHorizontalPodAutoscaler _ _ body (Name name) (Namespace namespace) =
deleteNamespacedHorizontalPodAutoscaler _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/autoscaling/v2beta1/namespaces/",toPath namespace,"/horizontalpodautoscalers/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedHorizontalPodAutoscaler
instance HasBodyParam DeleteNamespacedHorizontalPodAutoscaler V1DeleteOptions
@@ -195,6 +203,11 @@ instance HasOptionalParam DeleteNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedHorizontalPodAutoscaler DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedHorizontalPodAutoscaler GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -262,7 +275,7 @@ listHorizontalPodAutoscalerForAllNamespaces _ =
data ListHorizontalPodAutoscalerForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListHorizontalPodAutoscalerForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -297,7 +310,7 @@ instance HasOptionalParam ListHorizontalPodAutoscalerForAllNamespaces ResourceVe
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListHorizontalPodAutoscalerForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,12 +349,17 @@ listNamespacedHorizontalPodAutoscaler _ (Namespace namespace) =
data ListNamespacedHorizontalPodAutoscaler
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedHorizontalPodAutoscaler Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +369,6 @@ instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler FieldSelector wh
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +384,7 @@ instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedHorizontalPodAutoscaler TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -421,6 +434,11 @@ instance HasOptionalParam PatchNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedHorizontalPodAutoscaler DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedHorizontalPodAutoscaler MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -465,6 +483,11 @@ instance HasOptionalParam PatchNamespacedHorizontalPodAutoscalerStatus Pretty wh
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedHorizontalPodAutoscalerStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedHorizontalPodAutoscalerStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -580,6 +603,11 @@ instance HasBodyParam ReplaceNamespacedHorizontalPodAutoscaler V2beta1Horizontal
instance HasOptionalParam ReplaceNamespacedHorizontalPodAutoscaler Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedHorizontalPodAutoscaler DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedHorizontalPodAutoscaler mtype
@@ -620,6 +648,11 @@ instance HasBodyParam ReplaceNamespacedHorizontalPodAutoscalerStatus V2beta1Hori
instance HasOptionalParam ReplaceNamespacedHorizontalPodAutoscalerStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedHorizontalPodAutoscalerStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedHorizontalPodAutoscalerStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedJob _ _ body (Namespace namespace) =
data CreateNamespacedJob
instance HasBodyParam CreateNamespacedJob V1Job
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedJob mtype
@@ -114,12 +124,17 @@ deleteCollectionNamespacedJob _ (Namespace namespace) =
data DeleteCollectionNamespacedJob
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedJob Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +144,6 @@ instance HasOptionalParam DeleteCollectionNamespacedJob FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedJob LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +159,7 @@ instance HasOptionalParam DeleteCollectionNamespacedJob ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedJob TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -175,17 +185,15 @@ instance Produces DeleteCollectionNamespacedJob MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedJob
:: (Consumes DeleteNamespacedJob contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedJob contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the Job
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedJob contentType V1Status accept
deleteNamespacedJob _ _ body (Name name) (Namespace namespace) =
deleteNamespacedJob _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/batch/v1/namespaces/",toPath namespace,"/jobs/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedJob
instance HasBodyParam DeleteNamespacedJob V1DeleteOptions
@@ -195,6 +203,11 @@ instance HasOptionalParam DeleteNamespacedJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedJob GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -262,7 +275,7 @@ listJobForAllNamespaces _ =
data ListJobForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListJobForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -297,7 +310,7 @@ instance HasOptionalParam ListJobForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListJobForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,12 +349,17 @@ listNamespacedJob _ (Namespace namespace) =
data ListNamespacedJob
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedJob Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +369,6 @@ instance HasOptionalParam ListNamespacedJob FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedJob LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +384,7 @@ instance HasOptionalParam ListNamespacedJob ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedJob TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -421,6 +434,11 @@ instance HasOptionalParam PatchNamespacedJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedJob MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -465,6 +483,11 @@ instance HasOptionalParam PatchNamespacedJobStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedJobStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedJobStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -580,6 +603,11 @@ instance HasBodyParam ReplaceNamespacedJob V1Job
instance HasOptionalParam ReplaceNamespacedJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedJob mtype
@@ -620,6 +648,11 @@ instance HasBodyParam ReplaceNamespacedJobStatus V1Job
instance HasOptionalParam ReplaceNamespacedJobStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedJobStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedJobStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedCronJob _ _ body (Namespace namespace) =
data CreateNamespacedCronJob
instance HasBodyParam CreateNamespacedCronJob V1beta1CronJob
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedCronJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedCronJob mtype
@@ -114,12 +124,17 @@ deleteCollectionNamespacedCronJob _ (Namespace namespace) =
data DeleteCollectionNamespacedCronJob
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedCronJob Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +144,6 @@ instance HasOptionalParam DeleteCollectionNamespacedCronJob FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedCronJob LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +159,7 @@ instance HasOptionalParam DeleteCollectionNamespacedCronJob ResourceVersion wher
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedCronJob TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -175,17 +185,15 @@ instance Produces DeleteCollectionNamespacedCronJob MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedCronJob
:: (Consumes DeleteNamespacedCronJob contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedCronJob contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the CronJob
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedCronJob contentType V1Status accept
deleteNamespacedCronJob _ _ body (Name name) (Namespace namespace) =
deleteNamespacedCronJob _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/batch/v1beta1/namespaces/",toPath namespace,"/cronjobs/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedCronJob
instance HasBodyParam DeleteNamespacedCronJob V1DeleteOptions
@@ -195,6 +203,11 @@ instance HasOptionalParam DeleteNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedCronJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedCronJob GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -262,7 +275,7 @@ listCronJobForAllNamespaces _ =
data ListCronJobForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListCronJobForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -297,7 +310,7 @@ instance HasOptionalParam ListCronJobForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListCronJobForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,12 +349,17 @@ listNamespacedCronJob _ (Namespace namespace) =
data ListNamespacedCronJob
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedCronJob Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +369,6 @@ instance HasOptionalParam ListNamespacedCronJob FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedCronJob LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +384,7 @@ instance HasOptionalParam ListNamespacedCronJob ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedCronJob TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -421,6 +434,11 @@ instance HasOptionalParam PatchNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedCronJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCronJob MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -465,6 +483,11 @@ instance HasOptionalParam PatchNamespacedCronJobStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedCronJobStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCronJobStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -580,6 +603,11 @@ instance HasBodyParam ReplaceNamespacedCronJob V1beta1CronJob
instance HasOptionalParam ReplaceNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedCronJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCronJob mtype
@@ -620,6 +648,11 @@ instance HasBodyParam ReplaceNamespacedCronJobStatus V1beta1CronJob
instance HasOptionalParam ReplaceNamespacedCronJobStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedCronJobStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCronJobStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedCronJob _ _ body (Namespace namespace) =
data CreateNamespacedCronJob
instance HasBodyParam CreateNamespacedCronJob V2alpha1CronJob
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedCronJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedCronJob mtype
@@ -114,12 +124,17 @@ deleteCollectionNamespacedCronJob _ (Namespace namespace) =
data DeleteCollectionNamespacedCronJob
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedCronJob Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +144,6 @@ instance HasOptionalParam DeleteCollectionNamespacedCronJob FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedCronJob LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +159,7 @@ instance HasOptionalParam DeleteCollectionNamespacedCronJob ResourceVersion wher
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedCronJob TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -175,17 +185,15 @@ instance Produces DeleteCollectionNamespacedCronJob MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedCronJob
:: (Consumes DeleteNamespacedCronJob contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedCronJob contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the CronJob
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedCronJob contentType V1Status accept
deleteNamespacedCronJob _ _ body (Name name) (Namespace namespace) =
deleteNamespacedCronJob _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/batch/v2alpha1/namespaces/",toPath namespace,"/cronjobs/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedCronJob
instance HasBodyParam DeleteNamespacedCronJob V1DeleteOptions
@@ -195,6 +203,11 @@ instance HasOptionalParam DeleteNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedCronJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedCronJob GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -262,7 +275,7 @@ listCronJobForAllNamespaces _ =
data ListCronJobForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListCronJobForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -297,7 +310,7 @@ instance HasOptionalParam ListCronJobForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListCronJobForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,12 +349,17 @@ listNamespacedCronJob _ (Namespace namespace) =
data ListNamespacedCronJob
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedCronJob Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +369,6 @@ instance HasOptionalParam ListNamespacedCronJob FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedCronJob IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedCronJob LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +384,7 @@ instance HasOptionalParam ListNamespacedCronJob ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedCronJob TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -421,6 +434,11 @@ instance HasOptionalParam PatchNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedCronJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCronJob MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -465,6 +483,11 @@ instance HasOptionalParam PatchNamespacedCronJobStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedCronJobStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCronJobStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -580,6 +603,11 @@ instance HasBodyParam ReplaceNamespacedCronJob V2alpha1CronJob
instance HasOptionalParam ReplaceNamespacedCronJob Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedCronJob DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCronJob mtype
@@ -620,6 +648,11 @@ instance HasBodyParam ReplaceNamespacedCronJobStatus V2alpha1CronJob
instance HasOptionalParam ReplaceNamespacedCronJobStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedCronJobStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCronJobStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createCertificateSigningRequest _ _ body =
data CreateCertificateSigningRequest
instance HasBodyParam CreateCertificateSigningRequest V1beta1CertificateSigningRequest
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateCertificateSigningRequest IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateCertificateSigningRequest Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateCertificateSigningRequest DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateCertificateSigningRequest mtype
@@ -104,16 +114,14 @@ instance Produces CreateCertificateSigningRequest MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteCertificateSigningRequest
:: (Consumes DeleteCertificateSigningRequest contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteCertificateSigningRequest contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the CertificateSigningRequest
-> KubernetesRequest DeleteCertificateSigningRequest contentType V1Status accept
deleteCertificateSigningRequest _ _ body (Name name) =
deleteCertificateSigningRequest _ _ (Name name) =
_mkRequest "DELETE" ["/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteCertificateSigningRequest
instance HasBodyParam DeleteCertificateSigningRequest V1DeleteOptions
@@ -123,6 +131,11 @@ instance HasOptionalParam DeleteCertificateSigningRequest Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteCertificateSigningRequest DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteCertificateSigningRequest GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -166,12 +179,17 @@ deleteCollectionCertificateSigningRequest _ =
data DeleteCollectionCertificateSigningRequest
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionCertificateSigningRequest IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionCertificateSigningRequest Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionCertificateSigningRequest Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -181,11 +199,6 @@ instance HasOptionalParam DeleteCollectionCertificateSigningRequest FieldSelecto
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionCertificateSigningRequest IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionCertificateSigningRequest LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -201,7 +214,7 @@ instance HasOptionalParam DeleteCollectionCertificateSigningRequest ResourceVers
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionCertificateSigningRequest TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -259,12 +272,17 @@ listCertificateSigningRequest _ =
data ListCertificateSigningRequest
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListCertificateSigningRequest IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListCertificateSigningRequest Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListCertificateSigningRequest Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +292,6 @@ instance HasOptionalParam ListCertificateSigningRequest FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListCertificateSigningRequest IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListCertificateSigningRequest LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +307,7 @@ instance HasOptionalParam ListCertificateSigningRequest ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListCertificateSigningRequest TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -343,6 +356,11 @@ instance HasOptionalParam PatchCertificateSigningRequest Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchCertificateSigningRequest DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchCertificateSigningRequest MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -358,6 +376,54 @@ instance Produces PatchCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces PatchCertificateSigningRequest MimeYaml
-- *** patchCertificateSigningRequestStatus
-- | @PATCH \/apis\/certificates.k8s.io\/v1beta1\/certificatesigningrequests\/{name}\/status@
--
-- partially update status of the specified CertificateSigningRequest
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchCertificateSigningRequestStatus
:: (Consumes PatchCertificateSigningRequestStatus contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Name -- ^ "name" - name of the CertificateSigningRequest
-> KubernetesRequest PatchCertificateSigningRequestStatus contentType V1beta1CertificateSigningRequest accept
patchCertificateSigningRequestStatus _ _ body (Name name) =
_mkRequest "PATCH" ["/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchCertificateSigningRequestStatus
instance HasBodyParam PatchCertificateSigningRequestStatus Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchCertificateSigningRequestStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchCertificateSigningRequestStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchCertificateSigningRequestStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchCertificateSigningRequestStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchCertificateSigningRequestStatus MimeStrategicMergePatchjson
-- | @application/json@
instance Produces PatchCertificateSigningRequestStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchCertificateSigningRequestStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchCertificateSigningRequestStatus MimeYaml
-- *** readCertificateSigningRequest
-- | @GET \/apis\/certificates.k8s.io\/v1beta1\/certificatesigningrequests\/{name}@
@@ -398,6 +464,36 @@ instance Produces ReadCertificateSigningRequest MimeVndKubernetesProtobuf
instance Produces ReadCertificateSigningRequest MimeYaml
-- *** readCertificateSigningRequestStatus
-- | @GET \/apis\/certificates.k8s.io\/v1beta1\/certificatesigningrequests\/{name}\/status@
--
-- read status of the specified CertificateSigningRequest
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
readCertificateSigningRequestStatus
:: Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the CertificateSigningRequest
-> KubernetesRequest ReadCertificateSigningRequestStatus MimeNoContent V1beta1CertificateSigningRequest accept
readCertificateSigningRequestStatus _ (Name name) =
_mkRequest "GET" ["/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ReadCertificateSigningRequestStatus
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadCertificateSigningRequestStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | @application/json@
instance Produces ReadCertificateSigningRequestStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadCertificateSigningRequestStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadCertificateSigningRequestStatus MimeYaml
-- *** replaceCertificateSigningRequest
-- | @PUT \/apis\/certificates.k8s.io\/v1beta1\/certificatesigningrequests\/{name}@
@@ -425,6 +521,11 @@ instance HasBodyParam ReplaceCertificateSigningRequest V1beta1CertificateSigning
instance HasOptionalParam ReplaceCertificateSigningRequest Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceCertificateSigningRequest DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceCertificateSigningRequest mtype
@@ -460,6 +561,11 @@ replaceCertificateSigningRequestApproval _ _ body (Name name) =
data ReplaceCertificateSigningRequestApproval
instance HasBodyParam ReplaceCertificateSigningRequestApproval V1beta1CertificateSigningRequest
-- | /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 ReplaceCertificateSigningRequestApproval DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceCertificateSigningRequestApproval Pretty where
applyOptionalParam req (Pretty xs) =
@@ -503,6 +609,11 @@ instance HasBodyParam ReplaceCertificateSigningRequestStatus V1beta1CertificateS
instance HasOptionalParam ReplaceCertificateSigningRequestStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceCertificateSigningRequestStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceCertificateSigningRequestStatus mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedEvent _ _ body (Namespace namespace) =
data CreateNamespacedEvent
instance HasBodyParam CreateNamespacedEvent V1beta1Event
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedEvent IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedEvent Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedEvent DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedEvent mtype
@@ -114,12 +124,17 @@ deleteCollectionNamespacedEvent _ (Namespace namespace) =
data DeleteCollectionNamespacedEvent
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedEvent IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedEvent Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedEvent Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +144,6 @@ instance HasOptionalParam DeleteCollectionNamespacedEvent FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedEvent IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedEvent LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +159,7 @@ instance HasOptionalParam DeleteCollectionNamespacedEvent ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedEvent TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -175,17 +185,15 @@ instance Produces DeleteCollectionNamespacedEvent MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedEvent
:: (Consumes DeleteNamespacedEvent contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedEvent contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the Event
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedEvent contentType V1Status accept
deleteNamespacedEvent _ _ body (Name name) (Namespace namespace) =
deleteNamespacedEvent _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/events.k8s.io/v1beta1/namespaces/",toPath namespace,"/events/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedEvent
instance HasBodyParam DeleteNamespacedEvent V1DeleteOptions
@@ -195,6 +203,11 @@ instance HasOptionalParam DeleteNamespacedEvent Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedEvent DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedEvent GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -262,7 +275,7 @@ listEventForAllNamespaces _ =
data ListEventForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListEventForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -297,7 +310,7 @@ instance HasOptionalParam ListEventForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListEventForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,12 +349,17 @@ listNamespacedEvent _ (Namespace namespace) =
data ListNamespacedEvent
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedEvent IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedEvent Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedEvent Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +369,6 @@ instance HasOptionalParam ListNamespacedEvent FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedEvent IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedEvent LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +384,7 @@ instance HasOptionalParam ListNamespacedEvent ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedEvent TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -421,6 +434,11 @@ instance HasOptionalParam PatchNamespacedEvent Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedEvent DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedEvent MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -505,6 +523,11 @@ instance HasBodyParam ReplaceNamespacedEvent V1beta1Event
instance HasOptionalParam ReplaceNamespacedEvent Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedEvent DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedEvent mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedNetworkPolicy _ _ body (Namespace namespace) =
data CreateNamespacedNetworkPolicy
instance HasBodyParam CreateNamespacedNetworkPolicy V1NetworkPolicy
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedNetworkPolicy IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedNetworkPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedNetworkPolicy DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedNetworkPolicy mtype
@@ -114,12 +124,17 @@ deleteCollectionNamespacedNetworkPolicy _ (Namespace namespace) =
data DeleteCollectionNamespacedNetworkPolicy
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedNetworkPolicy IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedNetworkPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedNetworkPolicy Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +144,6 @@ instance HasOptionalParam DeleteCollectionNamespacedNetworkPolicy FieldSelector
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedNetworkPolicy IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedNetworkPolicy LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +159,7 @@ instance HasOptionalParam DeleteCollectionNamespacedNetworkPolicy ResourceVersio
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedNetworkPolicy TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -175,17 +185,15 @@ instance Produces DeleteCollectionNamespacedNetworkPolicy MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedNetworkPolicy
:: (Consumes DeleteNamespacedNetworkPolicy contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedNetworkPolicy contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the NetworkPolicy
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedNetworkPolicy contentType V1Status accept
deleteNamespacedNetworkPolicy _ _ body (Name name) (Namespace namespace) =
deleteNamespacedNetworkPolicy _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/networking.k8s.io/v1/namespaces/",toPath namespace,"/networkpolicies/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedNetworkPolicy
instance HasBodyParam DeleteNamespacedNetworkPolicy V1DeleteOptions
@@ -195,6 +203,11 @@ instance HasOptionalParam DeleteNamespacedNetworkPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedNetworkPolicy DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedNetworkPolicy GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -263,12 +276,17 @@ listNamespacedNetworkPolicy _ (Namespace namespace) =
data ListNamespacedNetworkPolicy
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedNetworkPolicy IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedNetworkPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedNetworkPolicy Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -278,11 +296,6 @@ instance HasOptionalParam ListNamespacedNetworkPolicy FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedNetworkPolicy IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedNetworkPolicy LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -298,7 +311,7 @@ instance HasOptionalParam ListNamespacedNetworkPolicy ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedNetworkPolicy TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,7 +349,7 @@ listNetworkPolicyForAllNamespaces _ =
data ListNetworkPolicyForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNetworkPolicyForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -371,7 +384,7 @@ instance HasOptionalParam ListNetworkPolicyForAllNamespaces ResourceVersion wher
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNetworkPolicyForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -421,6 +434,11 @@ instance HasOptionalParam PatchNamespacedNetworkPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedNetworkPolicy DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedNetworkPolicy MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -505,6 +523,11 @@ instance HasBodyParam ReplaceNamespacedNetworkPolicy V1NetworkPolicy
instance HasOptionalParam ReplaceNamespacedNetworkPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedNetworkPolicy DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedNetworkPolicy mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedPodDisruptionBudget _ _ body (Namespace namespace) =
data CreateNamespacedPodDisruptionBudget
instance HasBodyParam CreateNamespacedPodDisruptionBudget V1beta1PodDisruptionBudget
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedPodDisruptionBudget IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedPodDisruptionBudget Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedPodDisruptionBudget DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedPodDisruptionBudget mtype
@@ -96,6 +106,54 @@ instance Produces CreateNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces CreateNamespacedPodDisruptionBudget MimeYaml
-- *** createPodSecurityPolicy
-- | @POST \/apis\/policy\/v1beta1\/podsecuritypolicies@
--
-- create a PodSecurityPolicy
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
createPodSecurityPolicy
:: (Consumes CreatePodSecurityPolicy contentType, MimeRender contentType PolicyV1beta1PodSecurityPolicy)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> PolicyV1beta1PodSecurityPolicy -- ^ "body"
-> KubernetesRequest CreatePodSecurityPolicy contentType PolicyV1beta1PodSecurityPolicy accept
createPodSecurityPolicy _ _ body =
_mkRequest "POST" ["/apis/policy/v1beta1/podsecuritypolicies"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data CreatePodSecurityPolicy
instance HasBodyParam CreatePodSecurityPolicy PolicyV1beta1PodSecurityPolicy
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreatePodSecurityPolicy IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreatePodSecurityPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreatePodSecurityPolicy DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreatePodSecurityPolicy mtype
-- | @application/json@
instance Produces CreatePodSecurityPolicy MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces CreatePodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces CreatePodSecurityPolicy MimeYaml
-- *** deleteCollectionNamespacedPodDisruptionBudget
-- | @DELETE \/apis\/policy\/v1beta1\/namespaces\/{namespace}\/poddisruptionbudgets@
@@ -114,12 +172,17 @@ deleteCollectionNamespacedPodDisruptionBudget _ (Namespace namespace) =
data DeleteCollectionNamespacedPodDisruptionBudget
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedPodDisruptionBudget IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedPodDisruptionBudget Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedPodDisruptionBudget Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +192,6 @@ instance HasOptionalParam DeleteCollectionNamespacedPodDisruptionBudget FieldSel
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedPodDisruptionBudget IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedPodDisruptionBudget LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +207,7 @@ instance HasOptionalParam DeleteCollectionNamespacedPodDisruptionBudget Resource
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedPodDisruptionBudget TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -166,6 +224,75 @@ instance Produces DeleteCollectionNamespacedPodDisruptionBudget MimeVndKubernete
instance Produces DeleteCollectionNamespacedPodDisruptionBudget MimeYaml
-- *** deleteCollectionPodSecurityPolicy
-- | @DELETE \/apis\/policy\/v1beta1\/podsecuritypolicies@
--
-- delete collection of PodSecurityPolicy
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteCollectionPodSecurityPolicy
:: Accept accept -- ^ request accept ('MimeType')
-> KubernetesRequest DeleteCollectionPodSecurityPolicy MimeNoContent V1Status accept
deleteCollectionPodSecurityPolicy _ =
_mkRequest "DELETE" ["/apis/policy/v1beta1/podsecuritypolicies"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteCollectionPodSecurityPolicy
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error 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 DeleteCollectionPodSecurityPolicy Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `setQuery` toQuery ("labelSelector", Just xs)
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy Limit where
applyOptionalParam req (Limit xs) =
req `setQuery` toQuery ("limit", Just xs)
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam DeleteCollectionPodSecurityPolicy Watch where
applyOptionalParam req (Watch xs) =
req `setQuery` toQuery ("watch", Just xs)
-- | @application/json@
instance Produces DeleteCollectionPodSecurityPolicy MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteCollectionPodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteCollectionPodSecurityPolicy MimeYaml
-- *** deleteNamespacedPodDisruptionBudget
-- | @DELETE \/apis\/policy\/v1beta1\/namespaces\/{namespace}\/poddisruptionbudgets\/{name}@
@@ -175,17 +302,15 @@ instance Produces DeleteCollectionNamespacedPodDisruptionBudget MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedPodDisruptionBudget
:: (Consumes DeleteNamespacedPodDisruptionBudget contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedPodDisruptionBudget contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the PodDisruptionBudget
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedPodDisruptionBudget contentType V1Status accept
deleteNamespacedPodDisruptionBudget _ _ body (Name name) (Namespace namespace) =
deleteNamespacedPodDisruptionBudget _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/policy/v1beta1/namespaces/",toPath namespace,"/poddisruptionbudgets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedPodDisruptionBudget
instance HasBodyParam DeleteNamespacedPodDisruptionBudget V1DeleteOptions
@@ -195,6 +320,11 @@ instance HasOptionalParam DeleteNamespacedPodDisruptionBudget Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedPodDisruptionBudget DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedPodDisruptionBudget GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -221,6 +351,63 @@ instance Produces DeleteNamespacedPodDisruptionBudget MimeVndKubernetesProtobuf
instance Produces DeleteNamespacedPodDisruptionBudget MimeYaml
-- *** deletePodSecurityPolicy
-- | @DELETE \/apis\/policy\/v1beta1\/podsecuritypolicies\/{name}@
--
-- delete a PodSecurityPolicy
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deletePodSecurityPolicy
:: (Consumes DeletePodSecurityPolicy contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the PodSecurityPolicy
-> KubernetesRequest DeletePodSecurityPolicy contentType V1Status accept
deletePodSecurityPolicy _ _ (Name name) =
_mkRequest "DELETE" ["/apis/policy/v1beta1/podsecuritypolicies/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeletePodSecurityPolicy
instance HasBodyParam DeletePodSecurityPolicy V1DeleteOptions
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeletePodSecurityPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeletePodSecurityPolicy DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeletePodSecurityPolicy GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
req `setQuery` toQuery ("gracePeriodSeconds", Just xs)
-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
instance HasOptionalParam DeletePodSecurityPolicy OrphanDependents where
applyOptionalParam req (OrphanDependents xs) =
req `setQuery` toQuery ("orphanDependents", Just xs)
-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeletePodSecurityPolicy PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `setQuery` toQuery ("propagationPolicy", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes DeletePodSecurityPolicy mtype
-- | @application/json@
instance Produces DeletePodSecurityPolicy MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeletePodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeletePodSecurityPolicy MimeYaml
-- *** getAPIResources
-- | @GET \/apis\/policy\/v1beta1\/@
@@ -263,12 +450,17 @@ listNamespacedPodDisruptionBudget _ (Namespace namespace) =
data ListNamespacedPodDisruptionBudget
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedPodDisruptionBudget IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedPodDisruptionBudget Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedPodDisruptionBudget Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -278,11 +470,6 @@ instance HasOptionalParam ListNamespacedPodDisruptionBudget FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedPodDisruptionBudget IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedPodDisruptionBudget LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -298,7 +485,7 @@ instance HasOptionalParam ListNamespacedPodDisruptionBudget ResourceVersion wher
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedPodDisruptionBudget TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,7 +523,7 @@ listPodDisruptionBudgetForAllNamespaces _ =
data ListPodDisruptionBudgetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListPodDisruptionBudgetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -371,7 +558,7 @@ instance HasOptionalParam ListPodDisruptionBudgetForAllNamespaces ResourceVersio
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListPodDisruptionBudgetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -392,6 +579,79 @@ instance Produces ListPodDisruptionBudgetForAllNamespaces MimeVndKubernetesProto
instance Produces ListPodDisruptionBudgetForAllNamespaces MimeYaml
-- *** listPodSecurityPolicy
-- | @GET \/apis\/policy\/v1beta1\/podsecuritypolicies@
--
-- list or watch objects of kind PodSecurityPolicy
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
listPodSecurityPolicy
:: Accept accept -- ^ request accept ('MimeType')
-> KubernetesRequest ListPodSecurityPolicy MimeNoContent PolicyV1beta1PodSecurityPolicyList accept
listPodSecurityPolicy _ =
_mkRequest "GET" ["/apis/policy/v1beta1/podsecuritypolicies"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ListPodSecurityPolicy
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListPodSecurityPolicy IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListPodSecurityPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error 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 ListPodSecurityPolicy Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListPodSecurityPolicy FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListPodSecurityPolicy LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `setQuery` toQuery ("labelSelector", Just xs)
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListPodSecurityPolicy Limit where
applyOptionalParam req (Limit xs) =
req `setQuery` toQuery ("limit", Just xs)
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam ListPodSecurityPolicy ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListPodSecurityPolicy TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListPodSecurityPolicy Watch where
applyOptionalParam req (Watch xs) =
req `setQuery` toQuery ("watch", Just xs)
-- | @application/json@
instance Produces ListPodSecurityPolicy MimeJSON
-- | @application/json;stream=watch@
instance Produces ListPodSecurityPolicy MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListPodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListPodSecurityPolicy MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListPodSecurityPolicy MimeYaml
-- *** patchNamespacedPodDisruptionBudget
-- | @PATCH \/apis\/policy\/v1beta1\/namespaces\/{namespace}\/poddisruptionbudgets\/{name}@
@@ -421,6 +681,11 @@ instance HasOptionalParam PatchNamespacedPodDisruptionBudget Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedPodDisruptionBudget DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedPodDisruptionBudget MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -465,6 +730,11 @@ instance HasOptionalParam PatchNamespacedPodDisruptionBudgetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedPodDisruptionBudgetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedPodDisruptionBudgetStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -480,6 +750,54 @@ instance Produces PatchNamespacedPodDisruptionBudgetStatus MimeVndKubernetesProt
instance Produces PatchNamespacedPodDisruptionBudgetStatus MimeYaml
-- *** patchPodSecurityPolicy
-- | @PATCH \/apis\/policy\/v1beta1\/podsecuritypolicies\/{name}@
--
-- partially update the specified PodSecurityPolicy
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchPodSecurityPolicy
:: (Consumes PatchPodSecurityPolicy contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Name -- ^ "name" - name of the PodSecurityPolicy
-> KubernetesRequest PatchPodSecurityPolicy contentType PolicyV1beta1PodSecurityPolicy accept
patchPodSecurityPolicy _ _ body (Name name) =
_mkRequest "PATCH" ["/apis/policy/v1beta1/podsecuritypolicies/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchPodSecurityPolicy
instance HasBodyParam PatchPodSecurityPolicy Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchPodSecurityPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchPodSecurityPolicy DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchPodSecurityPolicy MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchPodSecurityPolicy MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchPodSecurityPolicy MimeStrategicMergePatchjson
-- | @application/json@
instance Produces PatchPodSecurityPolicy MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchPodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchPodSecurityPolicy MimeYaml
-- *** readNamespacedPodDisruptionBudget
-- | @GET \/apis\/policy\/v1beta1\/namespaces\/{namespace}\/poddisruptionbudgets\/{name}@
@@ -552,6 +870,46 @@ instance Produces ReadNamespacedPodDisruptionBudgetStatus MimeVndKubernetesProto
instance Produces ReadNamespacedPodDisruptionBudgetStatus MimeYaml
-- *** readPodSecurityPolicy
-- | @GET \/apis\/policy\/v1beta1\/podsecuritypolicies\/{name}@
--
-- read the specified PodSecurityPolicy
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
readPodSecurityPolicy
:: Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the PodSecurityPolicy
-> KubernetesRequest ReadPodSecurityPolicy MimeNoContent PolicyV1beta1PodSecurityPolicy accept
readPodSecurityPolicy _ (Name name) =
_mkRequest "GET" ["/apis/policy/v1beta1/podsecuritypolicies/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ReadPodSecurityPolicy
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadPodSecurityPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "exact" - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
instance HasOptionalParam ReadPodSecurityPolicy Exact where
applyOptionalParam req (Exact xs) =
req `setQuery` toQuery ("exact", Just xs)
-- | /Optional Param/ "export" - Should this value be exported. Export strips fields that a user can not specify.
instance HasOptionalParam ReadPodSecurityPolicy Export where
applyOptionalParam req (Export xs) =
req `setQuery` toQuery ("export", Just xs)
-- | @application/json@
instance Produces ReadPodSecurityPolicy MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadPodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadPodSecurityPolicy MimeYaml
-- *** replaceNamespacedPodDisruptionBudget
-- | @PUT \/apis\/policy\/v1beta1\/namespaces\/{namespace}\/poddisruptionbudgets\/{name}@
@@ -580,6 +938,11 @@ instance HasBodyParam ReplaceNamespacedPodDisruptionBudget V1beta1PodDisruptionB
instance HasOptionalParam ReplaceNamespacedPodDisruptionBudget Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedPodDisruptionBudget DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedPodDisruptionBudget mtype
@@ -620,6 +983,11 @@ instance HasBodyParam ReplaceNamespacedPodDisruptionBudgetStatus V1beta1PodDisru
instance HasOptionalParam ReplaceNamespacedPodDisruptionBudgetStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedPodDisruptionBudgetStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedPodDisruptionBudgetStatus mtype
@@ -631,3 +999,47 @@ instance Produces ReplaceNamespacedPodDisruptionBudgetStatus MimeVndKubernetesPr
-- | @application/yaml@
instance Produces ReplaceNamespacedPodDisruptionBudgetStatus MimeYaml
-- *** replacePodSecurityPolicy
-- | @PUT \/apis\/policy\/v1beta1\/podsecuritypolicies\/{name}@
--
-- replace the specified PodSecurityPolicy
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replacePodSecurityPolicy
:: (Consumes ReplacePodSecurityPolicy contentType, MimeRender contentType PolicyV1beta1PodSecurityPolicy)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> PolicyV1beta1PodSecurityPolicy -- ^ "body"
-> Name -- ^ "name" - name of the PodSecurityPolicy
-> KubernetesRequest ReplacePodSecurityPolicy contentType PolicyV1beta1PodSecurityPolicy accept
replacePodSecurityPolicy _ _ body (Name name) =
_mkRequest "PUT" ["/apis/policy/v1beta1/podsecuritypolicies/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplacePodSecurityPolicy
instance HasBodyParam ReplacePodSecurityPolicy PolicyV1beta1PodSecurityPolicy
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplacePodSecurityPolicy Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplacePodSecurityPolicy DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplacePodSecurityPolicy mtype
-- | @application/json@
instance Produces ReplacePodSecurityPolicy MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplacePodSecurityPolicy MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplacePodSecurityPolicy MimeYaml

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createClusterRole _ _ body =
data CreateClusterRole
instance HasBodyParam CreateClusterRole V1ClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterRole mtype
@@ -117,10 +127,20 @@ createClusterRoleBinding _ _ body =
data CreateClusterRoleBinding
instance HasBodyParam CreateClusterRoleBinding V1ClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterRoleBinding mtype
@@ -156,10 +176,20 @@ createNamespacedRole _ _ body (Namespace namespace) =
data CreateNamespacedRole
instance HasBodyParam CreateNamespacedRole V1Role
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedRole mtype
@@ -195,10 +225,20 @@ createNamespacedRoleBinding _ _ body (Namespace namespace) =
data CreateNamespacedRoleBinding
instance HasBodyParam CreateNamespacedRoleBinding V1RoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedRoleBinding mtype
@@ -220,16 +260,14 @@ instance Produces CreateNamespacedRoleBinding MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteClusterRole
:: (Consumes DeleteClusterRole contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteClusterRole contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ClusterRole
-> KubernetesRequest DeleteClusterRole contentType V1Status accept
deleteClusterRole _ _ body (Name name) =
deleteClusterRole _ _ (Name name) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1/clusterroles/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteClusterRole
instance HasBodyParam DeleteClusterRole V1DeleteOptions
@@ -239,6 +277,11 @@ instance HasOptionalParam DeleteClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteClusterRole GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -274,16 +317,14 @@ instance Produces DeleteClusterRole MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteClusterRoleBinding
:: (Consumes DeleteClusterRoleBinding contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteClusterRoleBinding contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ClusterRoleBinding
-> KubernetesRequest DeleteClusterRoleBinding contentType V1Status accept
deleteClusterRoleBinding _ _ body (Name name) =
deleteClusterRoleBinding _ _ (Name name) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteClusterRoleBinding
instance HasBodyParam DeleteClusterRoleBinding V1DeleteOptions
@@ -293,6 +334,11 @@ instance HasOptionalParam DeleteClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteClusterRoleBinding GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -336,12 +382,17 @@ deleteCollectionClusterRole _ =
data DeleteCollectionClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionClusterRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +402,6 @@ instance HasOptionalParam DeleteCollectionClusterRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionClusterRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +417,7 @@ instance HasOptionalParam DeleteCollectionClusterRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionClusterRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -405,12 +451,17 @@ deleteCollectionClusterRoleBinding _ =
data DeleteCollectionClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionClusterRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -420,11 +471,6 @@ instance HasOptionalParam DeleteCollectionClusterRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionClusterRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -440,7 +486,7 @@ instance HasOptionalParam DeleteCollectionClusterRoleBinding ResourceVersion whe
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionClusterRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -475,12 +521,17 @@ deleteCollectionNamespacedRole _ (Namespace namespace) =
data DeleteCollectionNamespacedRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -490,11 +541,6 @@ instance HasOptionalParam DeleteCollectionNamespacedRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -510,7 +556,7 @@ instance HasOptionalParam DeleteCollectionNamespacedRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -545,12 +591,17 @@ deleteCollectionNamespacedRoleBinding _ (Namespace namespace) =
data DeleteCollectionNamespacedRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -560,11 +611,6 @@ instance HasOptionalParam DeleteCollectionNamespacedRoleBinding FieldSelector wh
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -580,7 +626,7 @@ instance HasOptionalParam DeleteCollectionNamespacedRoleBinding ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -606,17 +652,15 @@ instance Produces DeleteCollectionNamespacedRoleBinding MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedRole
:: (Consumes DeleteNamespacedRole contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedRole contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the Role
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedRole contentType V1Status accept
deleteNamespacedRole _ _ body (Name name) (Namespace namespace) =
deleteNamespacedRole _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1/namespaces/",toPath namespace,"/roles/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedRole
instance HasBodyParam DeleteNamespacedRole V1DeleteOptions
@@ -626,6 +670,11 @@ instance HasOptionalParam DeleteNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedRole GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -661,17 +710,15 @@ instance Produces DeleteNamespacedRole MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedRoleBinding
:: (Consumes DeleteNamespacedRoleBinding contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedRoleBinding contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the RoleBinding
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedRoleBinding contentType V1Status accept
deleteNamespacedRoleBinding _ _ body (Name name) (Namespace namespace) =
deleteNamespacedRoleBinding _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1/namespaces/",toPath namespace,"/rolebindings/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedRoleBinding
instance HasBodyParam DeleteNamespacedRoleBinding V1DeleteOptions
@@ -681,6 +728,11 @@ instance HasOptionalParam DeleteNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedRoleBinding GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -748,12 +800,17 @@ listClusterRole _ =
data ListClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListClusterRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -763,11 +820,6 @@ instance HasOptionalParam ListClusterRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListClusterRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -783,7 +835,7 @@ instance HasOptionalParam ListClusterRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListClusterRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -821,12 +873,17 @@ listClusterRoleBinding _ =
data ListClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListClusterRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -836,11 +893,6 @@ instance HasOptionalParam ListClusterRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListClusterRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -856,7 +908,7 @@ instance HasOptionalParam ListClusterRoleBinding ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListClusterRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -895,12 +947,17 @@ listNamespacedRole _ (Namespace namespace) =
data ListNamespacedRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -910,11 +967,6 @@ instance HasOptionalParam ListNamespacedRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -930,7 +982,7 @@ instance HasOptionalParam ListNamespacedRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -969,12 +1021,17 @@ listNamespacedRoleBinding _ (Namespace namespace) =
data ListNamespacedRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -984,11 +1041,6 @@ instance HasOptionalParam ListNamespacedRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1004,7 +1056,7 @@ instance HasOptionalParam ListNamespacedRoleBinding ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1042,7 +1094,7 @@ listRoleBindingForAllNamespaces _ =
data ListRoleBindingForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListRoleBindingForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1077,7 +1129,7 @@ instance HasOptionalParam ListRoleBindingForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListRoleBindingForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1115,7 +1167,7 @@ listRoleForAllNamespaces _ =
data ListRoleForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListRoleForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1150,7 +1202,7 @@ instance HasOptionalParam ListRoleForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListRoleForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1199,6 +1251,11 @@ instance HasOptionalParam PatchClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchClusterRole MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1242,6 +1299,11 @@ instance HasOptionalParam PatchClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchClusterRoleBinding MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1286,6 +1348,11 @@ instance HasOptionalParam PatchNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedRole MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1330,6 +1397,11 @@ instance HasOptionalParam PatchNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedRoleBinding MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1494,6 +1566,11 @@ instance HasBodyParam ReplaceClusterRole V1ClusterRole
instance HasOptionalParam ReplaceClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterRole mtype
@@ -1533,6 +1610,11 @@ instance HasBodyParam ReplaceClusterRoleBinding V1ClusterRoleBinding
instance HasOptionalParam ReplaceClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterRoleBinding mtype
@@ -1573,6 +1655,11 @@ instance HasBodyParam ReplaceNamespacedRole V1Role
instance HasOptionalParam ReplaceNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedRole mtype
@@ -1613,6 +1700,11 @@ instance HasBodyParam ReplaceNamespacedRoleBinding V1RoleBinding
instance HasOptionalParam ReplaceNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedRoleBinding mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createClusterRole _ _ body =
data CreateClusterRole
instance HasBodyParam CreateClusterRole V1alpha1ClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterRole mtype
@@ -117,10 +127,20 @@ createClusterRoleBinding _ _ body =
data CreateClusterRoleBinding
instance HasBodyParam CreateClusterRoleBinding V1alpha1ClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterRoleBinding mtype
@@ -156,10 +176,20 @@ createNamespacedRole _ _ body (Namespace namespace) =
data CreateNamespacedRole
instance HasBodyParam CreateNamespacedRole V1alpha1Role
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedRole mtype
@@ -195,10 +225,20 @@ createNamespacedRoleBinding _ _ body (Namespace namespace) =
data CreateNamespacedRoleBinding
instance HasBodyParam CreateNamespacedRoleBinding V1alpha1RoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedRoleBinding mtype
@@ -220,16 +260,14 @@ instance Produces CreateNamespacedRoleBinding MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteClusterRole
:: (Consumes DeleteClusterRole contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteClusterRole contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ClusterRole
-> KubernetesRequest DeleteClusterRole contentType V1Status accept
deleteClusterRole _ _ body (Name name) =
deleteClusterRole _ _ (Name name) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteClusterRole
instance HasBodyParam DeleteClusterRole V1DeleteOptions
@@ -239,6 +277,11 @@ instance HasOptionalParam DeleteClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteClusterRole GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -274,16 +317,14 @@ instance Produces DeleteClusterRole MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteClusterRoleBinding
:: (Consumes DeleteClusterRoleBinding contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteClusterRoleBinding contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ClusterRoleBinding
-> KubernetesRequest DeleteClusterRoleBinding contentType V1Status accept
deleteClusterRoleBinding _ _ body (Name name) =
deleteClusterRoleBinding _ _ (Name name) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteClusterRoleBinding
instance HasBodyParam DeleteClusterRoleBinding V1DeleteOptions
@@ -293,6 +334,11 @@ instance HasOptionalParam DeleteClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteClusterRoleBinding GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -336,12 +382,17 @@ deleteCollectionClusterRole _ =
data DeleteCollectionClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionClusterRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +402,6 @@ instance HasOptionalParam DeleteCollectionClusterRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionClusterRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +417,7 @@ instance HasOptionalParam DeleteCollectionClusterRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionClusterRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -405,12 +451,17 @@ deleteCollectionClusterRoleBinding _ =
data DeleteCollectionClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionClusterRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -420,11 +471,6 @@ instance HasOptionalParam DeleteCollectionClusterRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionClusterRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -440,7 +486,7 @@ instance HasOptionalParam DeleteCollectionClusterRoleBinding ResourceVersion whe
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionClusterRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -475,12 +521,17 @@ deleteCollectionNamespacedRole _ (Namespace namespace) =
data DeleteCollectionNamespacedRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -490,11 +541,6 @@ instance HasOptionalParam DeleteCollectionNamespacedRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -510,7 +556,7 @@ instance HasOptionalParam DeleteCollectionNamespacedRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -545,12 +591,17 @@ deleteCollectionNamespacedRoleBinding _ (Namespace namespace) =
data DeleteCollectionNamespacedRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -560,11 +611,6 @@ instance HasOptionalParam DeleteCollectionNamespacedRoleBinding FieldSelector wh
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -580,7 +626,7 @@ instance HasOptionalParam DeleteCollectionNamespacedRoleBinding ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -606,17 +652,15 @@ instance Produces DeleteCollectionNamespacedRoleBinding MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedRole
:: (Consumes DeleteNamespacedRole contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedRole contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the Role
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedRole contentType V1Status accept
deleteNamespacedRole _ _ body (Name name) (Namespace namespace) =
deleteNamespacedRole _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",toPath namespace,"/roles/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedRole
instance HasBodyParam DeleteNamespacedRole V1DeleteOptions
@@ -626,6 +670,11 @@ instance HasOptionalParam DeleteNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedRole GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -661,17 +710,15 @@ instance Produces DeleteNamespacedRole MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedRoleBinding
:: (Consumes DeleteNamespacedRoleBinding contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedRoleBinding contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the RoleBinding
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedRoleBinding contentType V1Status accept
deleteNamespacedRoleBinding _ _ body (Name name) (Namespace namespace) =
deleteNamespacedRoleBinding _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/",toPath namespace,"/rolebindings/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedRoleBinding
instance HasBodyParam DeleteNamespacedRoleBinding V1DeleteOptions
@@ -681,6 +728,11 @@ instance HasOptionalParam DeleteNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedRoleBinding GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -748,12 +800,17 @@ listClusterRole _ =
data ListClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListClusterRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -763,11 +820,6 @@ instance HasOptionalParam ListClusterRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListClusterRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -783,7 +835,7 @@ instance HasOptionalParam ListClusterRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListClusterRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -821,12 +873,17 @@ listClusterRoleBinding _ =
data ListClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListClusterRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -836,11 +893,6 @@ instance HasOptionalParam ListClusterRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListClusterRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -856,7 +908,7 @@ instance HasOptionalParam ListClusterRoleBinding ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListClusterRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -895,12 +947,17 @@ listNamespacedRole _ (Namespace namespace) =
data ListNamespacedRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -910,11 +967,6 @@ instance HasOptionalParam ListNamespacedRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -930,7 +982,7 @@ instance HasOptionalParam ListNamespacedRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -969,12 +1021,17 @@ listNamespacedRoleBinding _ (Namespace namespace) =
data ListNamespacedRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -984,11 +1041,6 @@ instance HasOptionalParam ListNamespacedRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1004,7 +1056,7 @@ instance HasOptionalParam ListNamespacedRoleBinding ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1042,7 +1094,7 @@ listRoleBindingForAllNamespaces _ =
data ListRoleBindingForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListRoleBindingForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1077,7 +1129,7 @@ instance HasOptionalParam ListRoleBindingForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListRoleBindingForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1115,7 +1167,7 @@ listRoleForAllNamespaces _ =
data ListRoleForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListRoleForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1150,7 +1202,7 @@ instance HasOptionalParam ListRoleForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListRoleForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1199,6 +1251,11 @@ instance HasOptionalParam PatchClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchClusterRole MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1242,6 +1299,11 @@ instance HasOptionalParam PatchClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchClusterRoleBinding MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1286,6 +1348,11 @@ instance HasOptionalParam PatchNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedRole MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1330,6 +1397,11 @@ instance HasOptionalParam PatchNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedRoleBinding MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1494,6 +1566,11 @@ instance HasBodyParam ReplaceClusterRole V1alpha1ClusterRole
instance HasOptionalParam ReplaceClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterRole mtype
@@ -1533,6 +1610,11 @@ instance HasBodyParam ReplaceClusterRoleBinding V1alpha1ClusterRoleBinding
instance HasOptionalParam ReplaceClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterRoleBinding mtype
@@ -1573,6 +1655,11 @@ instance HasBodyParam ReplaceNamespacedRole V1alpha1Role
instance HasOptionalParam ReplaceNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedRole mtype
@@ -1613,6 +1700,11 @@ instance HasBodyParam ReplaceNamespacedRoleBinding V1alpha1RoleBinding
instance HasOptionalParam ReplaceNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedRoleBinding mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createClusterRole _ _ body =
data CreateClusterRole
instance HasBodyParam CreateClusterRole V1beta1ClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterRole mtype
@@ -117,10 +127,20 @@ createClusterRoleBinding _ _ body =
data CreateClusterRoleBinding
instance HasBodyParam CreateClusterRoleBinding V1beta1ClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterRoleBinding mtype
@@ -156,10 +176,20 @@ createNamespacedRole _ _ body (Namespace namespace) =
data CreateNamespacedRole
instance HasBodyParam CreateNamespacedRole V1beta1Role
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedRole mtype
@@ -195,10 +225,20 @@ createNamespacedRoleBinding _ _ body (Namespace namespace) =
data CreateNamespacedRoleBinding
instance HasBodyParam CreateNamespacedRoleBinding V1beta1RoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedRoleBinding mtype
@@ -220,16 +260,14 @@ instance Produces CreateNamespacedRoleBinding MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteClusterRole
:: (Consumes DeleteClusterRole contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteClusterRole contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ClusterRole
-> KubernetesRequest DeleteClusterRole contentType V1Status accept
deleteClusterRole _ _ body (Name name) =
deleteClusterRole _ _ (Name name) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteClusterRole
instance HasBodyParam DeleteClusterRole V1DeleteOptions
@@ -239,6 +277,11 @@ instance HasOptionalParam DeleteClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteClusterRole GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -274,16 +317,14 @@ instance Produces DeleteClusterRole MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteClusterRoleBinding
:: (Consumes DeleteClusterRoleBinding contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteClusterRoleBinding contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the ClusterRoleBinding
-> KubernetesRequest DeleteClusterRoleBinding contentType V1Status accept
deleteClusterRoleBinding _ _ body (Name name) =
deleteClusterRoleBinding _ _ (Name name) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteClusterRoleBinding
instance HasBodyParam DeleteClusterRoleBinding V1DeleteOptions
@@ -293,6 +334,11 @@ instance HasOptionalParam DeleteClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteClusterRoleBinding GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -336,12 +382,17 @@ deleteCollectionClusterRole _ =
data DeleteCollectionClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionClusterRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -351,11 +402,6 @@ instance HasOptionalParam DeleteCollectionClusterRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionClusterRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -371,7 +417,7 @@ instance HasOptionalParam DeleteCollectionClusterRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionClusterRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -405,12 +451,17 @@ deleteCollectionClusterRoleBinding _ =
data DeleteCollectionClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionClusterRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -420,11 +471,6 @@ instance HasOptionalParam DeleteCollectionClusterRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionClusterRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -440,7 +486,7 @@ instance HasOptionalParam DeleteCollectionClusterRoleBinding ResourceVersion whe
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionClusterRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -475,12 +521,17 @@ deleteCollectionNamespacedRole _ (Namespace namespace) =
data DeleteCollectionNamespacedRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -490,11 +541,6 @@ instance HasOptionalParam DeleteCollectionNamespacedRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -510,7 +556,7 @@ instance HasOptionalParam DeleteCollectionNamespacedRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -545,12 +591,17 @@ deleteCollectionNamespacedRoleBinding _ (Namespace namespace) =
data DeleteCollectionNamespacedRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -560,11 +611,6 @@ instance HasOptionalParam DeleteCollectionNamespacedRoleBinding FieldSelector wh
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -580,7 +626,7 @@ instance HasOptionalParam DeleteCollectionNamespacedRoleBinding ResourceVersion
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -606,17 +652,15 @@ instance Produces DeleteCollectionNamespacedRoleBinding MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedRole
:: (Consumes DeleteNamespacedRole contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedRole contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the Role
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedRole contentType V1Status accept
deleteNamespacedRole _ _ body (Name name) (Namespace namespace) =
deleteNamespacedRole _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1beta1/namespaces/",toPath namespace,"/roles/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedRole
instance HasBodyParam DeleteNamespacedRole V1DeleteOptions
@@ -626,6 +670,11 @@ instance HasOptionalParam DeleteNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedRole GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -661,17 +710,15 @@ instance Produces DeleteNamespacedRole MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedRoleBinding
:: (Consumes DeleteNamespacedRoleBinding contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedRoleBinding contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the RoleBinding
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedRoleBinding contentType V1Status accept
deleteNamespacedRoleBinding _ _ body (Name name) (Namespace namespace) =
deleteNamespacedRoleBinding _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/rbac.authorization.k8s.io/v1beta1/namespaces/",toPath namespace,"/rolebindings/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedRoleBinding
instance HasBodyParam DeleteNamespacedRoleBinding V1DeleteOptions
@@ -681,6 +728,11 @@ instance HasOptionalParam DeleteNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedRoleBinding GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -748,12 +800,17 @@ listClusterRole _ =
data ListClusterRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListClusterRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -763,11 +820,6 @@ instance HasOptionalParam ListClusterRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListClusterRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -783,7 +835,7 @@ instance HasOptionalParam ListClusterRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListClusterRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -821,12 +873,17 @@ listClusterRoleBinding _ =
data ListClusterRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListClusterRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -836,11 +893,6 @@ instance HasOptionalParam ListClusterRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListClusterRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListClusterRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -856,7 +908,7 @@ instance HasOptionalParam ListClusterRoleBinding ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListClusterRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -895,12 +947,17 @@ listNamespacedRole _ (Namespace namespace) =
data ListNamespacedRole
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedRole Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -910,11 +967,6 @@ instance HasOptionalParam ListNamespacedRole FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRole IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedRole LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -930,7 +982,7 @@ instance HasOptionalParam ListNamespacedRole ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedRole TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -969,12 +1021,17 @@ listNamespacedRoleBinding _ (Namespace namespace) =
data ListNamespacedRoleBinding
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedRoleBinding Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -984,11 +1041,6 @@ instance HasOptionalParam ListNamespacedRoleBinding FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedRoleBinding IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedRoleBinding LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -1004,7 +1056,7 @@ instance HasOptionalParam ListNamespacedRoleBinding ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedRoleBinding TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1042,7 +1094,7 @@ listRoleBindingForAllNamespaces _ =
data ListRoleBindingForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListRoleBindingForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1077,7 +1129,7 @@ instance HasOptionalParam ListRoleBindingForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListRoleBindingForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1115,7 +1167,7 @@ listRoleForAllNamespaces _ =
data ListRoleForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListRoleForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -1150,7 +1202,7 @@ instance HasOptionalParam ListRoleForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListRoleForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -1199,6 +1251,11 @@ instance HasOptionalParam PatchClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchClusterRole MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1242,6 +1299,11 @@ instance HasOptionalParam PatchClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchClusterRoleBinding MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1286,6 +1348,11 @@ instance HasOptionalParam PatchNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedRole MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1330,6 +1397,11 @@ instance HasOptionalParam PatchNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedRoleBinding MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -1494,6 +1566,11 @@ instance HasBodyParam ReplaceClusterRole V1beta1ClusterRole
instance HasOptionalParam ReplaceClusterRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterRole mtype
@@ -1533,6 +1610,11 @@ instance HasBodyParam ReplaceClusterRoleBinding V1beta1ClusterRoleBinding
instance HasOptionalParam ReplaceClusterRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterRoleBinding mtype
@@ -1573,6 +1655,11 @@ instance HasBodyParam ReplaceNamespacedRole V1beta1Role
instance HasOptionalParam ReplaceNamespacedRole Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedRole DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedRole mtype
@@ -1613,6 +1700,11 @@ instance HasBodyParam ReplaceNamespacedRoleBinding V1beta1RoleBinding
instance HasOptionalParam ReplaceNamespacedRoleBinding Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedRoleBinding DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedRoleBinding mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createPriorityClass _ _ body =
data CreatePriorityClass
instance HasBodyParam CreatePriorityClass V1alpha1PriorityClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreatePriorityClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreatePriorityClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreatePriorityClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreatePriorityClass mtype
@@ -112,12 +122,17 @@ deleteCollectionPriorityClass _ =
data DeleteCollectionPriorityClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionPriorityClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionPriorityClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionPriorityClass Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -127,11 +142,6 @@ instance HasOptionalParam DeleteCollectionPriorityClass FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionPriorityClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionPriorityClass LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -147,7 +157,7 @@ instance HasOptionalParam DeleteCollectionPriorityClass ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionPriorityClass TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -173,16 +183,14 @@ instance Produces DeleteCollectionPriorityClass MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deletePriorityClass
:: (Consumes DeletePriorityClass contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeletePriorityClass contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the PriorityClass
-> KubernetesRequest DeletePriorityClass contentType V1Status accept
deletePriorityClass _ _ body (Name name) =
deletePriorityClass _ _ (Name name) =
_mkRequest "DELETE" ["/apis/scheduling.k8s.io/v1alpha1/priorityclasses/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeletePriorityClass
instance HasBodyParam DeletePriorityClass V1DeleteOptions
@@ -192,6 +200,11 @@ instance HasOptionalParam DeletePriorityClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeletePriorityClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeletePriorityClass GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -259,12 +272,17 @@ listPriorityClass _ =
data ListPriorityClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListPriorityClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListPriorityClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListPriorityClass Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +292,6 @@ instance HasOptionalParam ListPriorityClass FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListPriorityClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListPriorityClass LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +307,7 @@ instance HasOptionalParam ListPriorityClass ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListPriorityClass TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -343,6 +356,11 @@ instance HasOptionalParam PatchPriorityClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchPriorityClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchPriorityClass MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -425,6 +443,11 @@ instance HasBodyParam ReplacePriorityClass V1alpha1PriorityClass
instance HasOptionalParam ReplacePriorityClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplacePriorityClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplacePriorityClass mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -80,10 +80,20 @@ createNamespacedPodPreset _ _ body (Namespace namespace) =
data CreateNamespacedPodPreset
instance HasBodyParam CreateNamespacedPodPreset V1alpha1PodPreset
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateNamespacedPodPreset IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedPodPreset Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedPodPreset DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedPodPreset mtype
@@ -114,12 +124,17 @@ deleteCollectionNamespacedPodPreset _ (Namespace namespace) =
data DeleteCollectionNamespacedPodPreset
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedPodPreset IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedPodPreset Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionNamespacedPodPreset Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -129,11 +144,6 @@ instance HasOptionalParam DeleteCollectionNamespacedPodPreset FieldSelector wher
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionNamespacedPodPreset IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionNamespacedPodPreset LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -149,7 +159,7 @@ instance HasOptionalParam DeleteCollectionNamespacedPodPreset ResourceVersion wh
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionNamespacedPodPreset TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -175,17 +185,15 @@ instance Produces DeleteCollectionNamespacedPodPreset MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteNamespacedPodPreset
:: (Consumes DeleteNamespacedPodPreset contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteNamespacedPodPreset contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the PodPreset
-> Namespace -- ^ "namespace" - object name and auth scope, such as for teams and projects
-> KubernetesRequest DeleteNamespacedPodPreset contentType V1Status accept
deleteNamespacedPodPreset _ _ body (Name name) (Namespace namespace) =
deleteNamespacedPodPreset _ _ (Name name) (Namespace namespace) =
_mkRequest "DELETE" ["/apis/settings.k8s.io/v1alpha1/namespaces/",toPath namespace,"/podpresets/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteNamespacedPodPreset
instance HasBodyParam DeleteNamespacedPodPreset V1DeleteOptions
@@ -195,6 +203,11 @@ instance HasOptionalParam DeleteNamespacedPodPreset Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedPodPreset DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedPodPreset GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -263,12 +276,17 @@ listNamespacedPodPreset _ (Namespace namespace) =
data ListNamespacedPodPreset
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedPodPreset IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedPodPreset Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListNamespacedPodPreset Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -278,11 +296,6 @@ instance HasOptionalParam ListNamespacedPodPreset FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListNamespacedPodPreset IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedPodPreset LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -298,7 +311,7 @@ instance HasOptionalParam ListNamespacedPodPreset ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedPodPreset TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -336,7 +349,7 @@ listPodPresetForAllNamespaces _ =
data ListPodPresetForAllNamespaces
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListPodPresetForAllNamespaces Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -371,7 +384,7 @@ instance HasOptionalParam ListPodPresetForAllNamespaces ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListPodPresetForAllNamespaces TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -421,6 +434,11 @@ instance HasOptionalParam PatchNamespacedPodPreset Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedPodPreset DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchNamespacedPodPreset MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -505,6 +523,11 @@ instance HasBodyParam ReplaceNamespacedPodPreset V1alpha1PodPreset
instance HasOptionalParam ReplaceNamespacedPodPreset Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedPodPreset DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedPodPreset mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createStorageClass _ _ body =
data CreateStorageClass
instance HasBodyParam CreateStorageClass V1StorageClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateStorageClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateStorageClass mtype
@@ -95,6 +105,54 @@ instance Produces CreateStorageClass MimeVndKubernetesProtobuf
instance Produces CreateStorageClass MimeYaml
-- *** createVolumeAttachment
-- | @POST \/apis\/storage.k8s.io\/v1\/volumeattachments@
--
-- create a VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
createVolumeAttachment
:: (Consumes CreateVolumeAttachment contentType, MimeRender contentType V1VolumeAttachment)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1VolumeAttachment -- ^ "body"
-> KubernetesRequest CreateVolumeAttachment contentType V1VolumeAttachment accept
createVolumeAttachment _ _ body =
_mkRequest "POST" ["/apis/storage.k8s.io/v1/volumeattachments"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data CreateVolumeAttachment
instance HasBodyParam CreateVolumeAttachment V1VolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateVolumeAttachment mtype
-- | @application/json@
instance Produces CreateVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces CreateVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces CreateVolumeAttachment MimeYaml
-- *** deleteCollectionStorageClass
-- | @DELETE \/apis\/storage.k8s.io\/v1\/storageclasses@
@@ -112,12 +170,17 @@ deleteCollectionStorageClass _ =
data DeleteCollectionStorageClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionStorageClass Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -127,11 +190,6 @@ instance HasOptionalParam DeleteCollectionStorageClass FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionStorageClass LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -147,7 +205,7 @@ instance HasOptionalParam DeleteCollectionStorageClass ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionStorageClass TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -164,6 +222,75 @@ instance Produces DeleteCollectionStorageClass MimeVndKubernetesProtobuf
instance Produces DeleteCollectionStorageClass MimeYaml
-- *** deleteCollectionVolumeAttachment
-- | @DELETE \/apis\/storage.k8s.io\/v1\/volumeattachments@
--
-- delete collection of VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteCollectionVolumeAttachment
:: Accept accept -- ^ request accept ('MimeType')
-> KubernetesRequest DeleteCollectionVolumeAttachment MimeNoContent V1Status accept
deleteCollectionVolumeAttachment _ =
_mkRequest "DELETE" ["/apis/storage.k8s.io/v1/volumeattachments"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteCollectionVolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error 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 DeleteCollectionVolumeAttachment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam DeleteCollectionVolumeAttachment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionVolumeAttachment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `setQuery` toQuery ("labelSelector", Just xs)
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam DeleteCollectionVolumeAttachment Limit where
applyOptionalParam req (Limit xs) =
req `setQuery` toQuery ("limit", Just xs)
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam DeleteCollectionVolumeAttachment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionVolumeAttachment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam DeleteCollectionVolumeAttachment Watch where
applyOptionalParam req (Watch xs) =
req `setQuery` toQuery ("watch", Just xs)
-- | @application/json@
instance Produces DeleteCollectionVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteCollectionVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteCollectionVolumeAttachment MimeYaml
-- *** deleteStorageClass
-- | @DELETE \/apis\/storage.k8s.io\/v1\/storageclasses\/{name}@
@@ -173,16 +300,14 @@ instance Produces DeleteCollectionStorageClass MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteStorageClass
:: (Consumes DeleteStorageClass contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteStorageClass contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the StorageClass
-> KubernetesRequest DeleteStorageClass contentType V1Status accept
deleteStorageClass _ _ body (Name name) =
deleteStorageClass _ _ (Name name) =
_mkRequest "DELETE" ["/apis/storage.k8s.io/v1/storageclasses/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteStorageClass
instance HasBodyParam DeleteStorageClass V1DeleteOptions
@@ -192,6 +317,11 @@ instance HasOptionalParam DeleteStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteStorageClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteStorageClass GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -218,6 +348,63 @@ instance Produces DeleteStorageClass MimeVndKubernetesProtobuf
instance Produces DeleteStorageClass MimeYaml
-- *** deleteVolumeAttachment
-- | @DELETE \/apis\/storage.k8s.io\/v1\/volumeattachments\/{name}@
--
-- delete a VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteVolumeAttachment
:: (Consumes DeleteVolumeAttachment contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest DeleteVolumeAttachment contentType V1Status accept
deleteVolumeAttachment _ _ (Name name) =
_mkRequest "DELETE" ["/apis/storage.k8s.io/v1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteVolumeAttachment
instance HasBodyParam DeleteVolumeAttachment V1DeleteOptions
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteVolumeAttachment GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
req `setQuery` toQuery ("gracePeriodSeconds", Just xs)
-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
instance HasOptionalParam DeleteVolumeAttachment OrphanDependents where
applyOptionalParam req (OrphanDependents xs) =
req `setQuery` toQuery ("orphanDependents", Just xs)
-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeleteVolumeAttachment PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `setQuery` toQuery ("propagationPolicy", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes DeleteVolumeAttachment mtype
-- | @application/json@
instance Produces DeleteVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteVolumeAttachment MimeYaml
-- *** getAPIResources
-- | @GET \/apis\/storage.k8s.io\/v1\/@
@@ -259,12 +446,17 @@ listStorageClass _ =
data ListStorageClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListStorageClass Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +466,6 @@ instance HasOptionalParam ListStorageClass FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListStorageClass LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +481,7 @@ instance HasOptionalParam ListStorageClass ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListStorageClass TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -315,6 +502,79 @@ instance Produces ListStorageClass MimeVndKubernetesProtobufstreamwatch
instance Produces ListStorageClass MimeYaml
-- *** listVolumeAttachment
-- | @GET \/apis\/storage.k8s.io\/v1\/volumeattachments@
--
-- list or watch objects of kind VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
listVolumeAttachment
:: Accept accept -- ^ request accept ('MimeType')
-> KubernetesRequest ListVolumeAttachment MimeNoContent V1VolumeAttachmentList accept
listVolumeAttachment _ =
_mkRequest "GET" ["/apis/storage.k8s.io/v1/volumeattachments"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ListVolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error 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 ListVolumeAttachment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListVolumeAttachment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListVolumeAttachment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `setQuery` toQuery ("labelSelector", Just xs)
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListVolumeAttachment Limit where
applyOptionalParam req (Limit xs) =
req `setQuery` toQuery ("limit", Just xs)
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam ListVolumeAttachment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListVolumeAttachment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListVolumeAttachment Watch where
applyOptionalParam req (Watch xs) =
req `setQuery` toQuery ("watch", Just xs)
-- | @application/json@
instance Produces ListVolumeAttachment MimeJSON
-- | @application/json;stream=watch@
instance Produces ListVolumeAttachment MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListVolumeAttachment MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListVolumeAttachment MimeYaml
-- *** patchStorageClass
-- | @PATCH \/apis\/storage.k8s.io\/v1\/storageclasses\/{name}@
@@ -343,6 +603,11 @@ instance HasOptionalParam PatchStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchStorageClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchStorageClass MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -358,6 +623,102 @@ instance Produces PatchStorageClass MimeVndKubernetesProtobuf
instance Produces PatchStorageClass MimeYaml
-- *** patchVolumeAttachment
-- | @PATCH \/apis\/storage.k8s.io\/v1\/volumeattachments\/{name}@
--
-- partially update the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchVolumeAttachment
:: (Consumes PatchVolumeAttachment contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest PatchVolumeAttachment contentType V1VolumeAttachment accept
patchVolumeAttachment _ _ body (Name name) =
_mkRequest "PATCH" ["/apis/storage.k8s.io/v1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchVolumeAttachment
instance HasBodyParam PatchVolumeAttachment Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchVolumeAttachment MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchVolumeAttachment MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchVolumeAttachment MimeStrategicMergePatchjson
-- | @application/json@
instance Produces PatchVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchVolumeAttachment MimeYaml
-- *** patchVolumeAttachmentStatus
-- | @PATCH \/apis\/storage.k8s.io\/v1\/volumeattachments\/{name}\/status@
--
-- partially update status of the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchVolumeAttachmentStatus
:: (Consumes PatchVolumeAttachmentStatus contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest PatchVolumeAttachmentStatus contentType V1VolumeAttachment accept
patchVolumeAttachmentStatus _ _ body (Name name) =
_mkRequest "PATCH" ["/apis/storage.k8s.io/v1/volumeattachments/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchVolumeAttachmentStatus
instance HasBodyParam PatchVolumeAttachmentStatus Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchVolumeAttachmentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchVolumeAttachmentStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchVolumeAttachmentStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchVolumeAttachmentStatus MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchVolumeAttachmentStatus MimeStrategicMergePatchjson
-- | @application/json@
instance Produces PatchVolumeAttachmentStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchVolumeAttachmentStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchVolumeAttachmentStatus MimeYaml
-- *** readStorageClass
-- | @GET \/apis\/storage.k8s.io\/v1\/storageclasses\/{name}@
@@ -398,6 +759,76 @@ instance Produces ReadStorageClass MimeVndKubernetesProtobuf
instance Produces ReadStorageClass MimeYaml
-- *** readVolumeAttachment
-- | @GET \/apis\/storage.k8s.io\/v1\/volumeattachments\/{name}@
--
-- read the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
readVolumeAttachment
:: Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest ReadVolumeAttachment MimeNoContent V1VolumeAttachment accept
readVolumeAttachment _ (Name name) =
_mkRequest "GET" ["/apis/storage.k8s.io/v1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ReadVolumeAttachment
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "exact" - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
instance HasOptionalParam ReadVolumeAttachment Exact where
applyOptionalParam req (Exact xs) =
req `setQuery` toQuery ("exact", Just xs)
-- | /Optional Param/ "export" - Should this value be exported. Export strips fields that a user can not specify.
instance HasOptionalParam ReadVolumeAttachment Export where
applyOptionalParam req (Export xs) =
req `setQuery` toQuery ("export", Just xs)
-- | @application/json@
instance Produces ReadVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadVolumeAttachment MimeYaml
-- *** readVolumeAttachmentStatus
-- | @GET \/apis\/storage.k8s.io\/v1\/volumeattachments\/{name}\/status@
--
-- read status of the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
readVolumeAttachmentStatus
:: Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest ReadVolumeAttachmentStatus MimeNoContent V1VolumeAttachment accept
readVolumeAttachmentStatus _ (Name name) =
_mkRequest "GET" ["/apis/storage.k8s.io/v1/volumeattachments/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ReadVolumeAttachmentStatus
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadVolumeAttachmentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | @application/json@
instance Produces ReadVolumeAttachmentStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadVolumeAttachmentStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadVolumeAttachmentStatus MimeYaml
-- *** replaceStorageClass
-- | @PUT \/apis\/storage.k8s.io\/v1\/storageclasses\/{name}@
@@ -425,6 +856,11 @@ instance HasBodyParam ReplaceStorageClass V1StorageClass
instance HasOptionalParam ReplaceStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceStorageClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceStorageClass mtype
@@ -436,3 +872,91 @@ instance Produces ReplaceStorageClass MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceStorageClass MimeYaml
-- *** replaceVolumeAttachment
-- | @PUT \/apis\/storage.k8s.io\/v1\/volumeattachments\/{name}@
--
-- replace the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceVolumeAttachment
:: (Consumes ReplaceVolumeAttachment contentType, MimeRender contentType V1VolumeAttachment)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1VolumeAttachment -- ^ "body"
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest ReplaceVolumeAttachment contentType V1VolumeAttachment accept
replaceVolumeAttachment _ _ body (Name name) =
_mkRequest "PUT" ["/apis/storage.k8s.io/v1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceVolumeAttachment
instance HasBodyParam ReplaceVolumeAttachment V1VolumeAttachment
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceVolumeAttachment mtype
-- | @application/json@
instance Produces ReplaceVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceVolumeAttachment MimeYaml
-- *** replaceVolumeAttachmentStatus
-- | @PUT \/apis\/storage.k8s.io\/v1\/volumeattachments\/{name}\/status@
--
-- replace status of the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceVolumeAttachmentStatus
:: (Consumes ReplaceVolumeAttachmentStatus contentType, MimeRender contentType V1VolumeAttachment)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1VolumeAttachment -- ^ "body"
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest ReplaceVolumeAttachmentStatus contentType V1VolumeAttachment accept
replaceVolumeAttachmentStatus _ _ body (Name name) =
_mkRequest "PUT" ["/apis/storage.k8s.io/v1/volumeattachments/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceVolumeAttachmentStatus
instance HasBodyParam ReplaceVolumeAttachmentStatus V1VolumeAttachment
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceVolumeAttachmentStatus Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceVolumeAttachmentStatus DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceVolumeAttachmentStatus mtype
-- | @application/json@
instance Produces ReplaceVolumeAttachmentStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceVolumeAttachmentStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceVolumeAttachmentStatus MimeYaml

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createVolumeAttachment _ _ body =
data CreateVolumeAttachment
instance HasBodyParam CreateVolumeAttachment V1alpha1VolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateVolumeAttachment mtype
@@ -112,12 +122,17 @@ deleteCollectionVolumeAttachment _ =
data DeleteCollectionVolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionVolumeAttachment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -127,11 +142,6 @@ instance HasOptionalParam DeleteCollectionVolumeAttachment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionVolumeAttachment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -147,7 +157,7 @@ instance HasOptionalParam DeleteCollectionVolumeAttachment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionVolumeAttachment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -173,16 +183,14 @@ instance Produces DeleteCollectionVolumeAttachment MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteVolumeAttachment
:: (Consumes DeleteVolumeAttachment contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteVolumeAttachment contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest DeleteVolumeAttachment contentType V1Status accept
deleteVolumeAttachment _ _ body (Name name) =
deleteVolumeAttachment _ _ (Name name) =
_mkRequest "DELETE" ["/apis/storage.k8s.io/v1alpha1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteVolumeAttachment
instance HasBodyParam DeleteVolumeAttachment V1DeleteOptions
@@ -192,6 +200,11 @@ instance HasOptionalParam DeleteVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteVolumeAttachment GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -259,12 +272,17 @@ listVolumeAttachment _ =
data ListVolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListVolumeAttachment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +292,6 @@ instance HasOptionalParam ListVolumeAttachment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListVolumeAttachment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +307,7 @@ instance HasOptionalParam ListVolumeAttachment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListVolumeAttachment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -343,6 +356,11 @@ instance HasOptionalParam PatchVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchVolumeAttachment MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -425,6 +443,11 @@ instance HasBodyParam ReplaceVolumeAttachment V1alpha1VolumeAttachment
instance HasOptionalParam ReplaceVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceVolumeAttachment mtype

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
@@ -79,10 +79,20 @@ createStorageClass _ _ body =
data CreateStorageClass
instance HasBodyParam CreateStorageClass V1beta1StorageClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateStorageClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateStorageClass mtype
@@ -95,6 +105,54 @@ instance Produces CreateStorageClass MimeVndKubernetesProtobuf
instance Produces CreateStorageClass MimeYaml
-- *** createVolumeAttachment
-- | @POST \/apis\/storage.k8s.io\/v1beta1\/volumeattachments@
--
-- create a VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
createVolumeAttachment
:: (Consumes CreateVolumeAttachment contentType, MimeRender contentType V1beta1VolumeAttachment)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1beta1VolumeAttachment -- ^ "body"
-> KubernetesRequest CreateVolumeAttachment contentType V1beta1VolumeAttachment accept
createVolumeAttachment _ _ body =
_mkRequest "POST" ["/apis/storage.k8s.io/v1beta1/volumeattachments"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data CreateVolumeAttachment
instance HasBodyParam CreateVolumeAttachment V1beta1VolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam CreateVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateVolumeAttachment mtype
-- | @application/json@
instance Produces CreateVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces CreateVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces CreateVolumeAttachment MimeYaml
-- *** deleteCollectionStorageClass
-- | @DELETE \/apis\/storage.k8s.io\/v1beta1\/storageclasses@
@@ -112,12 +170,17 @@ deleteCollectionStorageClass _ =
data DeleteCollectionStorageClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 DeleteCollectionStorageClass Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -127,11 +190,6 @@ instance HasOptionalParam DeleteCollectionStorageClass FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionStorageClass LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -147,7 +205,7 @@ instance HasOptionalParam DeleteCollectionStorageClass ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionStorageClass TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -164,6 +222,75 @@ instance Produces DeleteCollectionStorageClass MimeVndKubernetesProtobuf
instance Produces DeleteCollectionStorageClass MimeYaml
-- *** deleteCollectionVolumeAttachment
-- | @DELETE \/apis\/storage.k8s.io\/v1beta1\/volumeattachments@
--
-- delete collection of VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteCollectionVolumeAttachment
:: Accept accept -- ^ request accept ('MimeType')
-> KubernetesRequest DeleteCollectionVolumeAttachment MimeNoContent V1Status accept
deleteCollectionVolumeAttachment _ =
_mkRequest "DELETE" ["/apis/storage.k8s.io/v1beta1/volumeattachments"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteCollectionVolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam DeleteCollectionVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error 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 DeleteCollectionVolumeAttachment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam DeleteCollectionVolumeAttachment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam DeleteCollectionVolumeAttachment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `setQuery` toQuery ("labelSelector", Just xs)
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam DeleteCollectionVolumeAttachment Limit where
applyOptionalParam req (Limit xs) =
req `setQuery` toQuery ("limit", Just xs)
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam DeleteCollectionVolumeAttachment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam DeleteCollectionVolumeAttachment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam DeleteCollectionVolumeAttachment Watch where
applyOptionalParam req (Watch xs) =
req `setQuery` toQuery ("watch", Just xs)
-- | @application/json@
instance Produces DeleteCollectionVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteCollectionVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteCollectionVolumeAttachment MimeYaml
-- *** deleteStorageClass
-- | @DELETE \/apis\/storage.k8s.io\/v1beta1\/storageclasses\/{name}@
@@ -173,16 +300,14 @@ instance Produces DeleteCollectionStorageClass MimeYaml
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteStorageClass
:: (Consumes DeleteStorageClass contentType, MimeRender contentType V1DeleteOptions)
:: (Consumes DeleteStorageClass contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Name -- ^ "name" - name of the StorageClass
-> KubernetesRequest DeleteStorageClass contentType V1Status accept
deleteStorageClass _ _ body (Name name) =
deleteStorageClass _ _ (Name name) =
_mkRequest "DELETE" ["/apis/storage.k8s.io/v1beta1/storageclasses/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data DeleteStorageClass
instance HasBodyParam DeleteStorageClass V1DeleteOptions
@@ -192,6 +317,11 @@ instance HasOptionalParam DeleteStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteStorageClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteStorageClass GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -218,6 +348,63 @@ instance Produces DeleteStorageClass MimeVndKubernetesProtobuf
instance Produces DeleteStorageClass MimeYaml
-- *** deleteVolumeAttachment
-- | @DELETE \/apis\/storage.k8s.io\/v1beta1\/volumeattachments\/{name}@
--
-- delete a VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
deleteVolumeAttachment
:: (Consumes DeleteVolumeAttachment contentType)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest DeleteVolumeAttachment contentType V1Status accept
deleteVolumeAttachment _ _ (Name name) =
_mkRequest "DELETE" ["/apis/storage.k8s.io/v1beta1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data DeleteVolumeAttachment
instance HasBodyParam DeleteVolumeAttachment V1DeleteOptions
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteVolumeAttachment GracePeriodSeconds where
applyOptionalParam req (GracePeriodSeconds xs) =
req `setQuery` toQuery ("gracePeriodSeconds", Just xs)
-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
instance HasOptionalParam DeleteVolumeAttachment OrphanDependents where
applyOptionalParam req (OrphanDependents xs) =
req `setQuery` toQuery ("orphanDependents", Just xs)
-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
instance HasOptionalParam DeleteVolumeAttachment PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `setQuery` toQuery ("propagationPolicy", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes DeleteVolumeAttachment mtype
-- | @application/json@
instance Produces DeleteVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces DeleteVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces DeleteVolumeAttachment MimeYaml
-- *** getAPIResources
-- | @GET \/apis\/storage.k8s.io\/v1beta1\/@
@@ -259,12 +446,17 @@ listStorageClass _ =
data ListStorageClass
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
-- | /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 ListStorageClass Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +466,6 @@ instance HasOptionalParam ListStorageClass FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListStorageClass IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListStorageClass LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +481,7 @@ instance HasOptionalParam ListStorageClass ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListStorageClass TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -315,6 +502,79 @@ instance Produces ListStorageClass MimeVndKubernetesProtobufstreamwatch
instance Produces ListStorageClass MimeYaml
-- *** listVolumeAttachment
-- | @GET \/apis\/storage.k8s.io\/v1beta1\/volumeattachments@
--
-- list or watch objects of kind VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
listVolumeAttachment
:: Accept accept -- ^ request accept ('MimeType')
-> KubernetesRequest ListVolumeAttachment MimeNoContent V1beta1VolumeAttachmentList accept
listVolumeAttachment _ =
_mkRequest "GET" ["/apis/storage.k8s.io/v1beta1/volumeattachments"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ListVolumeAttachment
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
instance HasOptionalParam ListVolumeAttachment IncludeUninitialized where
applyOptionalParam req (IncludeUninitialized xs) =
req `setQuery` toQuery ("includeUninitialized", Just xs)
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error 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 ListVolumeAttachment Continue where
applyOptionalParam req (Continue xs) =
req `setQuery` toQuery ("continue", Just xs)
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListVolumeAttachment FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `setQuery` toQuery ("fieldSelector", Just xs)
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListVolumeAttachment LabelSelector where
applyOptionalParam req (LabelSelector xs) =
req `setQuery` toQuery ("labelSelector", Just xs)
-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListVolumeAttachment Limit where
applyOptionalParam req (Limit xs) =
req `setQuery` toQuery ("limit", Just xs)
-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam ListVolumeAttachment ResourceVersion where
applyOptionalParam req (ResourceVersion xs) =
req `setQuery` toQuery ("resourceVersion", Just xs)
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListVolumeAttachment TimeoutSeconds where
applyOptionalParam req (TimeoutSeconds xs) =
req `setQuery` toQuery ("timeoutSeconds", Just xs)
-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
instance HasOptionalParam ListVolumeAttachment Watch where
applyOptionalParam req (Watch xs) =
req `setQuery` toQuery ("watch", Just xs)
-- | @application/json@
instance Produces ListVolumeAttachment MimeJSON
-- | @application/json;stream=watch@
instance Produces ListVolumeAttachment MimeJsonstreamwatch
-- | @application/vnd.kubernetes.protobuf@
instance Produces ListVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/vnd.kubernetes.protobuf;stream=watch@
instance Produces ListVolumeAttachment MimeVndKubernetesProtobufstreamwatch
-- | @application/yaml@
instance Produces ListVolumeAttachment MimeYaml
-- *** patchStorageClass
-- | @PATCH \/apis\/storage.k8s.io\/v1beta1\/storageclasses\/{name}@
@@ -343,6 +603,11 @@ instance HasOptionalParam PatchStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchStorageClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchStorageClass MimeJsonPatchjson
-- | @application/merge-patch+json@
@@ -358,6 +623,54 @@ instance Produces PatchStorageClass MimeVndKubernetesProtobuf
instance Produces PatchStorageClass MimeYaml
-- *** patchVolumeAttachment
-- | @PATCH \/apis\/storage.k8s.io\/v1beta1\/volumeattachments\/{name}@
--
-- partially update the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchVolumeAttachment
:: (Consumes PatchVolumeAttachment contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest PatchVolumeAttachment contentType V1beta1VolumeAttachment accept
patchVolumeAttachment _ _ body (Name name) =
_mkRequest "PATCH" ["/apis/storage.k8s.io/v1beta1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchVolumeAttachment
instance HasBodyParam PatchVolumeAttachment Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam PatchVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @application/json-patch+json@
instance Consumes PatchVolumeAttachment MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchVolumeAttachment MimeMergePatchjson
-- | @application/strategic-merge-patch+json@
instance Consumes PatchVolumeAttachment MimeStrategicMergePatchjson
-- | @application/json@
instance Produces PatchVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchVolumeAttachment MimeYaml
-- *** readStorageClass
-- | @GET \/apis\/storage.k8s.io\/v1beta1\/storageclasses\/{name}@
@@ -398,6 +711,46 @@ instance Produces ReadStorageClass MimeVndKubernetesProtobuf
instance Produces ReadStorageClass MimeYaml
-- *** readVolumeAttachment
-- | @GET \/apis\/storage.k8s.io\/v1beta1\/volumeattachments\/{name}@
--
-- read the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
readVolumeAttachment
:: Accept accept -- ^ request accept ('MimeType')
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest ReadVolumeAttachment MimeNoContent V1beta1VolumeAttachment accept
readVolumeAttachment _ (Name name) =
_mkRequest "GET" ["/apis/storage.k8s.io/v1beta1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data ReadVolumeAttachment
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReadVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "exact" - Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
instance HasOptionalParam ReadVolumeAttachment Exact where
applyOptionalParam req (Exact xs) =
req `setQuery` toQuery ("exact", Just xs)
-- | /Optional Param/ "export" - Should this value be exported. Export strips fields that a user can not specify.
instance HasOptionalParam ReadVolumeAttachment Export where
applyOptionalParam req (Export xs) =
req `setQuery` toQuery ("export", Just xs)
-- | @application/json@
instance Produces ReadVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReadVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReadVolumeAttachment MimeYaml
-- *** replaceStorageClass
-- | @PUT \/apis\/storage.k8s.io\/v1beta1\/storageclasses\/{name}@
@@ -425,6 +778,11 @@ instance HasBodyParam ReplaceStorageClass V1beta1StorageClass
instance HasOptionalParam ReplaceStorageClass Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceStorageClass DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceStorageClass mtype
@@ -436,3 +794,47 @@ instance Produces ReplaceStorageClass MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceStorageClass MimeYaml
-- *** replaceVolumeAttachment
-- | @PUT \/apis\/storage.k8s.io\/v1beta1\/volumeattachments\/{name}@
--
-- replace the specified VolumeAttachment
--
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceVolumeAttachment
:: (Consumes ReplaceVolumeAttachment contentType, MimeRender contentType V1beta1VolumeAttachment)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> V1beta1VolumeAttachment -- ^ "body"
-> Name -- ^ "name" - name of the VolumeAttachment
-> KubernetesRequest ReplaceVolumeAttachment contentType V1beta1VolumeAttachment accept
replaceVolumeAttachment _ _ body (Name name) =
_mkRequest "PUT" ["/apis/storage.k8s.io/v1beta1/volumeattachments/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceVolumeAttachment
instance HasBodyParam ReplaceVolumeAttachment V1beta1VolumeAttachment
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ReplaceVolumeAttachment Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceVolumeAttachment DryRun where
applyOptionalParam req (DryRun xs) =
req `setQuery` toQuery ("dryRun", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ReplaceVolumeAttachment mtype
-- | @application/json@
instance Produces ReplaceVolumeAttachment MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceVolumeAttachment MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceVolumeAttachment MimeYaml

View File

@@ -4,7 +4,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Kubernetes API version: v1.13.4
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}