rerun codegen

This commit is contained in:
Shimin Guo
2019-03-11 22:43:41 -07:00
parent de91fe9857
commit 6d0ee58ade
79 changed files with 240548 additions and 244520 deletions

View File

@@ -1,11 +1,11 @@
{-
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
OpenAPI spec version: 2.0
OpenAPI Version: 3.0.1
Kubernetes API version: v1.9.12
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
{-|
@@ -66,14 +66,14 @@ import qualified Prelude as P
-- AuthMethod: 'AuthApiKeyBearerToken'
--
createClusterCustomObject
:: (Consumes CreateClusterCustomObject contentType, MimeRender contentType A.Value)
:: (Consumes CreateClusterCustomObject contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Body -- ^ "body" - The JSON schema of the Resource to create.
-> Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind.
-> A.Value -- ^ "body" - The JSON schema of the Resource to create.
-> KubernetesRequest CreateClusterCustomObject contentType A.Value MimeJSON
createClusterCustomObject _ (Group group) (Version version) (Plural plural) body =
createClusterCustomObject _ body (Group group) (Version version) (Plural plural) =
_mkRequest "POST" ["/apis/",toPath group,"/",toPath version,"/",toPath plural]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
@@ -81,12 +81,16 @@ createClusterCustomObject _ (Group group) (Version version) (Plural plural) body
data CreateClusterCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to create.
instance HasBodyParam CreateClusterCustomObject A.Value
instance HasBodyParam CreateClusterCustomObject Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterCustomObject mtype
-- | @application/json@
instance Produces CreateClusterCustomObject MimeJSON
@@ -100,15 +104,15 @@ instance Produces CreateClusterCustomObject MimeJSON
-- AuthMethod: 'AuthApiKeyBearerToken'
--
createNamespacedCustomObject
:: (Consumes CreateNamespacedCustomObject contentType, MimeRender contentType A.Value)
:: (Consumes CreateNamespacedCustomObject contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Body -- ^ "body" - The JSON schema of the Resource to create.
-> Group -- ^ "group" - The custom resource's group name
-> Version -- ^ "version" - The custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - The custom resource's plural name. For TPRs this would be lowercase plural kind.
-> A.Value -- ^ "body" - The JSON schema of the Resource to create.
-> KubernetesRequest CreateNamespacedCustomObject contentType A.Value MimeJSON
createNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) body =
createNamespacedCustomObject _ body (Group group) (Version version) (Namespace namespace) (Plural plural) =
_mkRequest "POST" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
@@ -116,12 +120,16 @@ createNamespacedCustomObject _ (Group group) (Version version) (Namespace namesp
data CreateNamespacedCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to create.
instance HasBodyParam CreateNamespacedCustomObject A.Value
instance HasBodyParam CreateNamespacedCustomObject Body
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedCustomObject mtype
-- | @application/json@
instance Produces CreateNamespacedCustomObject MimeJSON
@@ -137,13 +145,13 @@ instance Produces CreateNamespacedCustomObject MimeJSON
deleteClusterCustomObject
:: (Consumes DeleteClusterCustomObject contentType, MimeRender contentType V1DeleteOptions)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> V1DeleteOptions -- ^ "body"
-> KubernetesRequest DeleteClusterCustomObject contentType A.Value MimeJSON
deleteClusterCustomObject _ (Group group) (Version version) (Plural plural) (Name name) body =
deleteClusterCustomObject _ body (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
@@ -165,7 +173,7 @@ instance HasOptionalParam DeleteClusterCustomObject OrphanDependents where
instance HasOptionalParam DeleteClusterCustomObject PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `setQuery` toQuery ("propagationPolicy", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes DeleteClusterCustomObject mtype
@@ -184,14 +192,14 @@ instance Produces DeleteClusterCustomObject MimeJSON
deleteNamespacedCustomObject
:: (Consumes DeleteNamespacedCustomObject contentType, MimeRender contentType V1DeleteOptions)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> V1DeleteOptions -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> V1DeleteOptions -- ^ "body"
-> KubernetesRequest DeleteNamespacedCustomObject contentType A.Value MimeJSON
deleteNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body =
deleteNamespacedCustomObject _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "DELETE" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
@@ -213,7 +221,7 @@ instance HasOptionalParam DeleteNamespacedCustomObject OrphanDependents where
instance HasOptionalParam DeleteNamespacedCustomObject PropagationPolicy where
applyOptionalParam req (PropagationPolicy xs) =
req `setQuery` toQuery ("propagationPolicy", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes DeleteNamespacedCustomObject mtype
@@ -240,10 +248,6 @@ getClusterCustomObject (Group group) (Version version) (Plural plural) (Name nam
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetClusterCustomObject
-- | @*/*@
instance MimeType mtype => Consumes GetClusterCustomObject mtype
-- | @application/json@
instance Produces GetClusterCustomObject MimeJSON
@@ -268,16 +272,12 @@ getClusterCustomObjectScale _ (Group group) (Version version) (Plural plural) (
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetClusterCustomObjectScale
-- | @*/*@
instance MimeType mtype => Consumes GetClusterCustomObjectScale mtype
-- | @application/json@
instance Produces GetClusterCustomObjectScale MimeJSON
-- | @application/yaml@
instance Produces GetClusterCustomObjectScale MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetClusterCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetClusterCustomObjectScale MimeYaml
-- *** getClusterCustomObjectStatus
@@ -300,16 +300,12 @@ getClusterCustomObjectStatus _ (Group group) (Version version) (Plural plural)
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetClusterCustomObjectStatus
-- | @*/*@
instance MimeType mtype => Consumes GetClusterCustomObjectStatus mtype
-- | @application/json@
instance Produces GetClusterCustomObjectStatus MimeJSON
-- | @application/yaml@
instance Produces GetClusterCustomObjectStatus MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetClusterCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetClusterCustomObjectStatus MimeYaml
-- *** getNamespacedCustomObject
@@ -332,10 +328,6 @@ getNamespacedCustomObject (Group group) (Version version) (Namespace namespace)
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetNamespacedCustomObject
-- | @*/*@
instance MimeType mtype => Consumes GetNamespacedCustomObject mtype
-- | @application/json@
instance Produces GetNamespacedCustomObject MimeJSON
@@ -361,16 +353,12 @@ getNamespacedCustomObjectScale _ (Group group) (Version version) (Namespace nam
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetNamespacedCustomObjectScale
-- | @*/*@
instance MimeType mtype => Consumes GetNamespacedCustomObjectScale mtype
-- | @application/json@
instance Produces GetNamespacedCustomObjectScale MimeJSON
-- | @application/yaml@
instance Produces GetNamespacedCustomObjectScale MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetNamespacedCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetNamespacedCustomObjectScale MimeYaml
-- *** getNamespacedCustomObjectStatus
@@ -394,16 +382,12 @@ getNamespacedCustomObjectStatus _ (Group group) (Version version) (Namespace na
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
data GetNamespacedCustomObjectStatus
-- | @*/*@
instance MimeType mtype => Consumes GetNamespacedCustomObjectStatus mtype
-- | @application/json@
instance Produces GetNamespacedCustomObjectStatus MimeJSON
-- | @application/yaml@
instance Produces GetNamespacedCustomObjectStatus MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetNamespacedCustomObjectStatus MimeYaml
-- *** listClusterCustomObject
@@ -431,6 +415,11 @@ instance HasOptionalParam ListClusterCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListClusterCustomObject FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `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 ListClusterCustomObject LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -450,10 +439,6 @@ instance HasOptionalParam ListClusterCustomObject TimeoutSeconds where
instance HasOptionalParam ListClusterCustomObject Watch where
applyOptionalParam req (Watch xs) =
req `setQuery` toQuery ("watch", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ListClusterCustomObject mtype
-- | @application/json@
instance Produces ListClusterCustomObject MimeJSON
-- | @application/json;stream=watch@
@@ -486,6 +471,11 @@ instance HasOptionalParam ListNamespacedCustomObject Pretty where
applyOptionalParam req (Pretty xs) =
req `setQuery` toQuery ("pretty", Just xs)
-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListNamespacedCustomObject FieldSelector where
applyOptionalParam req (FieldSelector xs) =
req `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 ListNamespacedCustomObject LabelSelector where
applyOptionalParam req (LabelSelector xs) =
@@ -505,10 +495,6 @@ instance HasOptionalParam ListNamespacedCustomObject TimeoutSeconds where
instance HasOptionalParam ListNamespacedCustomObject Watch where
applyOptionalParam req (Watch xs) =
req `setQuery` toQuery ("watch", Just xs)
-- | @*/*@
instance MimeType mtype => Consumes ListNamespacedCustomObject mtype
-- | @application/json@
instance Produces ListNamespacedCustomObject MimeJSON
-- | @application/json;stream=watch@
@@ -524,14 +510,14 @@ instance Produces ListNamespacedCustomObject MimeJsonstreamwatch
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchClusterCustomObject
:: (Consumes PatchClusterCustomObject MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value)
=> Group -- ^ "group" - the custom resource's group
:: (Consumes PatchClusterCustomObject MimeMergePatchjson, MimeRender MimeMergePatchjson Body)
=> Body -- ^ "body" - The JSON schema of the Resource to patch.
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body" - The JSON schema of the Resource to patch.
-> KubernetesRequest PatchClusterCustomObject MimeMergePatchjson A.Value MimeJSON
patchClusterCustomObject (Group group) (Version version) (Plural plural) (Name name) body =
patchClusterCustomObject body (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
@@ -539,7 +525,7 @@ patchClusterCustomObject (Group group) (Version version) (Plural plural) (Name n
data PatchClusterCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to patch.
instance HasBodyParam PatchClusterCustomObject A.Value
instance HasBodyParam PatchClusterCustomObject Body
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObject MimeMergePatchjson
@@ -557,31 +543,31 @@ instance Produces PatchClusterCustomObject MimeJSON
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchClusterCustomObjectScale
:: (Consumes PatchClusterCustomObjectScale MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value)
:: (Consumes PatchClusterCustomObjectScale MimeMergePatchjson, MimeRender MimeMergePatchjson Body)
=> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body"
-> KubernetesRequest PatchClusterCustomObjectScale MimeMergePatchjson A.Value accept
patchClusterCustomObjectScale _ (Group group) (Version version) (Plural plural) (Name name) body =
patchClusterCustomObjectScale _ body (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchClusterCustomObjectScale
instance HasBodyParam PatchClusterCustomObjectScale A.Value
instance HasBodyParam PatchClusterCustomObjectScale Body
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObjectScale MimeMergePatchjson
-- | @application/json@
instance Produces PatchClusterCustomObjectScale MimeJSON
-- | @application/yaml@
instance Produces PatchClusterCustomObjectScale MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchClusterCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchClusterCustomObjectScale MimeYaml
-- *** patchClusterCustomObjectStatus
@@ -593,31 +579,31 @@ instance Produces PatchClusterCustomObjectScale MimeVndKubernetesProtobuf
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchClusterCustomObjectStatus
:: (Consumes PatchClusterCustomObjectStatus MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value)
:: (Consumes PatchClusterCustomObjectStatus MimeMergePatchjson, MimeRender MimeMergePatchjson Body)
=> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body"
-> KubernetesRequest PatchClusterCustomObjectStatus MimeMergePatchjson A.Value accept
patchClusterCustomObjectStatus _ (Group group) (Version version) (Plural plural) (Name name) body =
patchClusterCustomObjectStatus _ body (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchClusterCustomObjectStatus
instance HasBodyParam PatchClusterCustomObjectStatus A.Value
instance HasBodyParam PatchClusterCustomObjectStatus Body
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObjectStatus MimeMergePatchjson
-- | @application/json@
instance Produces PatchClusterCustomObjectStatus MimeJSON
-- | @application/yaml@
instance Produces PatchClusterCustomObjectStatus MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchClusterCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchClusterCustomObjectStatus MimeYaml
-- *** patchNamespacedCustomObject
@@ -629,15 +615,15 @@ instance Produces PatchClusterCustomObjectStatus MimeVndKubernetesProtobuf
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchNamespacedCustomObject
:: (Consumes PatchNamespacedCustomObject MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value)
=> Group -- ^ "group" - the custom resource's group
:: (Consumes PatchNamespacedCustomObject MimeMergePatchjson, MimeRender MimeMergePatchjson Body)
=> Body -- ^ "body" - The JSON schema of the Resource to patch.
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body" - The JSON schema of the Resource to patch.
-> KubernetesRequest PatchNamespacedCustomObject MimeMergePatchjson A.Value MimeJSON
patchNamespacedCustomObject (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body =
patchNamespacedCustomObject body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
@@ -645,7 +631,7 @@ patchNamespacedCustomObject (Group group) (Version version) (Namespace namespace
data PatchNamespacedCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to patch.
instance HasBodyParam PatchNamespacedCustomObject A.Value
instance HasBodyParam PatchNamespacedCustomObject Body
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObject MimeMergePatchjson
@@ -663,32 +649,32 @@ instance Produces PatchNamespacedCustomObject MimeJSON
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchNamespacedCustomObjectScale
:: (Consumes PatchNamespacedCustomObjectScale MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value)
:: (Consumes PatchNamespacedCustomObjectScale MimeMergePatchjson, MimeRender MimeMergePatchjson Body)
=> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body"
-> KubernetesRequest PatchNamespacedCustomObjectScale MimeMergePatchjson A.Value accept
patchNamespacedCustomObjectScale _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body =
patchNamespacedCustomObjectScale _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchNamespacedCustomObjectScale
instance HasBodyParam PatchNamespacedCustomObjectScale A.Value
instance HasBodyParam PatchNamespacedCustomObjectScale Body
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObjectScale MimeMergePatchjson
-- | @application/json@
instance Produces PatchNamespacedCustomObjectScale MimeJSON
-- | @application/yaml@
instance Produces PatchNamespacedCustomObjectScale MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedCustomObjectScale MimeYaml
-- *** patchNamespacedCustomObjectStatus
@@ -700,32 +686,32 @@ instance Produces PatchNamespacedCustomObjectScale MimeVndKubernetesProtobuf
-- AuthMethod: 'AuthApiKeyBearerToken'
--
patchNamespacedCustomObjectStatus
:: (Consumes PatchNamespacedCustomObjectStatus MimeMergePatchjson, MimeRender MimeMergePatchjson A.Value)
:: (Consumes PatchNamespacedCustomObjectStatus MimeMergePatchjson, MimeRender MimeMergePatchjson Body)
=> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body"
-> KubernetesRequest PatchNamespacedCustomObjectStatus MimeMergePatchjson A.Value accept
patchNamespacedCustomObjectStatus _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body =
patchNamespacedCustomObjectStatus _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "PATCH" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data PatchNamespacedCustomObjectStatus
instance HasBodyParam PatchNamespacedCustomObjectStatus A.Value
instance HasBodyParam PatchNamespacedCustomObjectStatus Body
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObjectStatus MimeMergePatchjson
-- | @application/json@
instance Produces PatchNamespacedCustomObjectStatus MimeJSON
-- | @application/yaml@
instance Produces PatchNamespacedCustomObjectStatus MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedCustomObjectStatus MimeYaml
-- *** replaceClusterCustomObject
@@ -737,15 +723,15 @@ instance Produces PatchNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceClusterCustomObject
:: (Consumes ReplaceClusterCustomObject contentType, MimeRender contentType A.Value)
:: (Consumes ReplaceClusterCustomObject contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Body -- ^ "body" - The JSON schema of the Resource to replace.
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom object's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body" - The JSON schema of the Resource to replace.
-> KubernetesRequest ReplaceClusterCustomObject contentType A.Value MimeJSON
replaceClusterCustomObject _ (Group group) (Version version) (Plural plural) (Name name) body =
replaceClusterCustomObject _ body (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
@@ -753,8 +739,8 @@ replaceClusterCustomObject _ (Group group) (Version version) (Plural plural) (Na
data ReplaceClusterCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to replace.
instance HasBodyParam ReplaceClusterCustomObject A.Value
instance HasBodyParam ReplaceClusterCustomObject Body
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObject mtype
@@ -771,32 +757,32 @@ instance Produces ReplaceClusterCustomObject MimeJSON
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceClusterCustomObjectScale
:: (Consumes ReplaceClusterCustomObjectScale contentType, MimeRender contentType A.Value)
:: (Consumes ReplaceClusterCustomObjectScale contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body"
-> KubernetesRequest ReplaceClusterCustomObjectScale contentType A.Value accept
replaceClusterCustomObjectScale _ _ (Group group) (Version version) (Plural plural) (Name name) body =
replaceClusterCustomObjectScale _ _ body (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceClusterCustomObjectScale
instance HasBodyParam ReplaceClusterCustomObjectScale A.Value
instance HasBodyParam ReplaceClusterCustomObjectScale Body
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObjectScale mtype
-- | @application/json@
instance Produces ReplaceClusterCustomObjectScale MimeJSON
-- | @application/yaml@
instance Produces ReplaceClusterCustomObjectScale MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceClusterCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceClusterCustomObjectScale MimeYaml
-- *** replaceClusterCustomObjectStatus
@@ -808,32 +794,32 @@ instance Produces ReplaceClusterCustomObjectScale MimeVndKubernetesProtobuf
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceClusterCustomObjectStatus
:: (Consumes ReplaceClusterCustomObjectStatus contentType, MimeRender contentType A.Value)
:: (Consumes ReplaceClusterCustomObjectStatus contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body"
-> KubernetesRequest ReplaceClusterCustomObjectStatus contentType A.Value accept
replaceClusterCustomObjectStatus _ _ (Group group) (Version version) (Plural plural) (Name name) body =
replaceClusterCustomObjectStatus _ _ body (Group group) (Version version) (Plural plural) (Name name) =
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceClusterCustomObjectStatus
instance HasBodyParam ReplaceClusterCustomObjectStatus A.Value
instance HasBodyParam ReplaceClusterCustomObjectStatus Body
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObjectStatus mtype
-- | @application/json@
instance Produces ReplaceClusterCustomObjectStatus MimeJSON
-- | @application/yaml@
instance Produces ReplaceClusterCustomObjectStatus MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceClusterCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceClusterCustomObjectStatus MimeYaml
-- *** replaceNamespacedCustomObject
@@ -845,16 +831,16 @@ instance Produces ReplaceClusterCustomObjectStatus MimeVndKubernetesProtobuf
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceNamespacedCustomObject
:: (Consumes ReplaceNamespacedCustomObject contentType, MimeRender contentType A.Value)
:: (Consumes ReplaceNamespacedCustomObject contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Body -- ^ "body" - The JSON schema of the Resource to replace.
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body" - The JSON schema of the Resource to replace.
-> KubernetesRequest ReplaceNamespacedCustomObject contentType A.Value MimeJSON
replaceNamespacedCustomObject _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body =
replaceNamespacedCustomObject _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
@@ -862,8 +848,8 @@ replaceNamespacedCustomObject _ (Group group) (Version version) (Namespace names
data ReplaceNamespacedCustomObject
-- | /Body Param/ "body" - The JSON schema of the Resource to replace.
instance HasBodyParam ReplaceNamespacedCustomObject A.Value
instance HasBodyParam ReplaceNamespacedCustomObject Body
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObject mtype
@@ -880,33 +866,33 @@ instance Produces ReplaceNamespacedCustomObject MimeJSON
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceNamespacedCustomObjectScale
:: (Consumes ReplaceNamespacedCustomObjectScale contentType, MimeRender contentType A.Value)
:: (Consumes ReplaceNamespacedCustomObjectScale contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body"
-> KubernetesRequest ReplaceNamespacedCustomObjectScale contentType A.Value accept
replaceNamespacedCustomObjectScale _ _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body =
replaceNamespacedCustomObjectScale _ _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/scale"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceNamespacedCustomObjectScale
instance HasBodyParam ReplaceNamespacedCustomObjectScale A.Value
instance HasBodyParam ReplaceNamespacedCustomObjectScale Body
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObjectScale mtype
-- | @application/json@
instance Produces ReplaceNamespacedCustomObjectScale MimeJSON
-- | @application/yaml@
instance Produces ReplaceNamespacedCustomObjectScale MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedCustomObjectScale MimeYaml
-- *** replaceNamespacedCustomObjectStatus
@@ -918,31 +904,31 @@ instance Produces ReplaceNamespacedCustomObjectScale MimeVndKubernetesProtobuf
-- AuthMethod: 'AuthApiKeyBearerToken'
--
replaceNamespacedCustomObjectStatus
:: (Consumes ReplaceNamespacedCustomObjectStatus contentType, MimeRender contentType A.Value)
:: (Consumes ReplaceNamespacedCustomObjectStatus contentType, MimeRender contentType Body)
=> ContentType contentType -- ^ request content-type ('MimeType')
-> Accept accept -- ^ request accept ('MimeType')
-> Body -- ^ "body"
-> Group -- ^ "group" - the custom resource's group
-> Version -- ^ "version" - the custom resource's version
-> Namespace -- ^ "namespace" - The custom resource's namespace
-> Plural -- ^ "plural" - the custom resource's plural name. For TPRs this would be lowercase plural kind.
-> Name -- ^ "name" - the custom object's name
-> A.Value -- ^ "body"
-> KubernetesRequest ReplaceNamespacedCustomObjectStatus contentType A.Value accept
replaceNamespacedCustomObjectStatus _ _ (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) body =
replaceNamespacedCustomObjectStatus _ _ body (Group group) (Version version) (Namespace namespace) (Plural plural) (Name name) =
_mkRequest "PUT" ["/apis/",toPath group,"/",toPath version,"/namespaces/",toPath namespace,"/",toPath plural,"/",toPath name,"/status"]
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
`setBodyParam` body
data ReplaceNamespacedCustomObjectStatus
instance HasBodyParam ReplaceNamespacedCustomObjectStatus A.Value
instance HasBodyParam ReplaceNamespacedCustomObjectStatus Body
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObjectStatus mtype
-- | @application/json@
instance Produces ReplaceNamespacedCustomObjectStatus MimeJSON
-- | @application/yaml@
instance Produces ReplaceNamespacedCustomObjectStatus MimeYaml
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedCustomObjectStatus MimeYaml