3 f÷ÔYsyã@s`dZddlmZddlZddlZddlZddlmZddlm Z ddl m Z Gdd „d e ƒZ dS) zç Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git é)Úabsolute_importN)Ú iteritemsé)Ú Configuration)Ú ApiClientc@sJeZdZdZd‘dd„Zdd„Zdd„Zd d „Zd d „Zd d„Z dd„Z dd„Z dd„Z dd„Z dd„Zdd„Zdd„Zdd„Zdd „Zd!d"„Zd#d$„Zd%d&„Zd'd(„Zd)d*„Zd+d,„Zd-d.„Zd/d0„Zd1d2„Zd3d4„Zd5d6„Zd7d8„Zd9d:„Zd;d<„Z d=d>„Z!d?d@„Z"dAdB„Z#dCdD„Z$dEdF„Z%dGdH„Z&dIdJ„Z'dKdL„Z(dMdN„Z)dOdP„Z*dQdR„Z+dSdT„Z,dUdV„Z-dWdX„Z.dYdZ„Z/d[d\„Z0d]d^„Z1d_d`„Z2dadb„Z3dcdd„Z4dedf„Z5dgdh„Z6didj„Z7dkdl„Z8dmdn„Z9dodp„Z:dqdr„Z;dsdt„Zdydz„Z?d{d|„Z@d}d~„ZAdd€„ZBd�d‚„ZCdƒd„„ZDd…d†„ZEd‡dˆ„ZFd‰dŠ„ZGd‹dŒ„ZHd�dŽ„ZId�d�„ZJdS)’ÚAppsV1beta1Apiz¯ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen NcCs,tƒ}|r||_n|js tƒ|_|j|_dS)N)rÚ api_clientr)ÚselfrÚconfig©r úX/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/apis/apps_v1beta1_api.pyÚ__init__"s zAppsV1beta1Api.__init__cKs:d|d<|jdƒr"|j||f|ŽS|j||f|Ž}|SdS)a› create a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_namespaced_controller_revision(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1ControllerRevision body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ControllerRevision If the method is called asynchronously, returns the request thread. TÚ_return_http_data_onlyÚcallbackN)ÚgetÚ4create_namespaced_controller_revision_with_http_info)r Ú namespaceÚbodyÚkwargsÚdatar r r Ú%create_namespaced_controller_revision+s  z4AppsV1beta1Api.create_namespaced_controller_revisioncKs€dddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|dƒD]$\}}||krbtd |ƒ‚|||<qFW|d=d|ksˆ|dd kr�td ƒ‚d|ks¤|dd kr¬td ƒ‚i}d jddƒ} i} d|krÔ|d| d<i} d|krì|d| d<i} g} i}d }d|k�r|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j dƒ|d�S)aª create a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_namespaced_controller_revision_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1ControllerRevision body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ControllerRevision If the method is called asynchronously, returns the request thread. rrÚprettyrrÚ_preload_contentÚ_request_timeoutrzWGot an unexpected keyword argument '%s' to method create_namespaced_controller_revisionNz_Missing the required parameter `namespace` when calling `create_namespaced_controller_revision`zZMissing the required parameter `body` when calling `create_namespaced_controller_revision`z=/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisionsz{format}Újsonzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufÚAcceptz*/*z Content-TypeÚ BearerTokenÚPOSTÚV1beta1ControllerRevisionT) rÚ post_paramsÚfilesÚ response_typeÚ auth_settingsrrrrÚcollection_formats) ÚappendÚlocalsrÚ TypeErrorÚ ValueErrorÚreplacerÚselect_header_acceptÚselect_header_content_typeÚcall_apir)r rrrÚ all_paramsÚparamsÚkeyÚvalr#Ú resource_pathÚ path_paramsÚ query_paramsÚ header_paramsÚ form_paramsÚlocal_var_filesÚ body_paramsr"r r r rFsd             zCAppsV1beta1Api.create_namespaced_controller_revision_with_http_infocKs:d|d<|jdƒr"|j||f|ŽS|j||f|Ž}|SdS)a‚ create a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_namespaced_deployment(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. TrrN)rÚ+create_namespaced_deployment_with_http_info)r rrrrr r r Úcreate_namespaced_deploymentŸs  z+AppsV1beta1Api.create_namespaced_deploymentcKs€dddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|dƒD]$\}}||krbtd |ƒ‚|||<qFW|d=d|ksˆ|dd kr�td ƒ‚d|ks¤|dd kr¬td ƒ‚i}d jddƒ} i} d|krÔ|d| d<i} d|krì|d| d<i} g} i}d }d|k�r|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j dƒ|d�S)a‘ create a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_namespaced_deployment_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. rrrrrrrrzNGot an unexpected keyword argument '%s' to method create_namespaced_deploymentNzVMissing the required parameter `namespace` when calling `create_namespaced_deployment`zQMissing the required parameter `body` when calling `create_namespaced_deployment`z5/apis/apps/v1beta1/namespaces/{namespace}/deploymentsz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrÚAppsV1beta1DeploymentT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r7ºsd             z:AppsV1beta1Api.create_namespaced_deployment_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)að create rollback of a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_namespaced_deployment_rollback(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the DeploymentRollback (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1DeploymentRollback body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1DeploymentRollback If the method is called asynchronously, returns the request thread. TrrN)rÚ4create_namespaced_deployment_rollback_with_http_info)r Únamerrrrr r r Ú%create_namespaced_deployment_rollbacks  z4AppsV1beta1Api.create_namespaced_deployment_rollbackcKs¶ddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aÿ create rollback of a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_namespaced_deployment_rollback_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the DeploymentRollback (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1DeploymentRollback body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1DeploymentRollback If the method is called asynchronously, returns the request thread. r;rrrrrrrrzWGot an unexpected keyword argument '%s' to method create_namespaced_deployment_rollbackNzZMissing the required parameter `name` when calling `create_namespaced_deployment_rollback`z_Missing the required parameter `namespace` when calling `create_namespaced_deployment_rollback`zZMissing the required parameter `body` when calling `create_namespaced_deployment_rollback`zE/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollbackz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrÚAppsV1beta1DeploymentRollbackT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r:/sl                zCAppsV1beta1Api.create_namespaced_deployment_rollback_with_http_infocKs:d|d<|jdƒr"|j||f|ŽS|j||f|Ž}|SdS)a create a StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_namespaced_stateful_set(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. TrrN)rÚ-create_namespaced_stateful_set_with_http_info)r rrrrr r r Úcreate_namespaced_stateful_setŽs  z-AppsV1beta1Api.create_namespaced_stateful_setcKs€dddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|dƒD]$\}}||krbtd |ƒ‚|||<qFW|d=d|ksˆ|dd kr�td ƒ‚d|ks¤|dd kr¬td ƒ‚i}d jddƒ} i} d|krÔ|d| d<i} d|krì|d| d<i} g} i}d }d|k�r|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j dƒ|d�S)aŽ create a StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_namespaced_stateful_set_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. rrrrrrrrzPGot an unexpected keyword argument '%s' to method create_namespaced_stateful_setNzXMissing the required parameter `namespace` when calling `create_namespaced_stateful_set`zSMissing the required parameter `body` when calling `create_namespaced_stateful_set`z6/apis/apps/v1beta1/namespaces/{namespace}/statefulsetsz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrÚV1beta1StatefulSetT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r>©sd             z>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_collection_namespaced_controller_revision(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1Status If the method is called asynchronously, returns the request thread. TrrN)rÚ?delete_collection_namespaced_controller_revision_with_http_info)r rrrr r r Ú0delete_collection_namespaced_controller_revisions  z?AppsV1beta1Api.delete_collection_namespaced_controller_revisioncKsÞddddddddg}|jd ƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krltd|ƒ‚|||<qPW|d =d|ks’|ddkrštdƒ‚i}djddƒ}i} d|krÂ|d| d<i} d|krÚ|d| d<d|krî|d| d<d|k�r|d| d<d|k�r|d| d<d|k�r0|d| d<d|k�rF|d| d<d|k�r\|d| d<i} g} i} d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj |d | | | || | d!||j d ƒ|j d ƒ|j d d"ƒ|j d ƒ|d#�S)$a˜ delete collection of ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_collection_namespaced_controller_revision_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1Status If the method is called asynchronously, returns the request thread. rrÚfield_selectorÚinclude_uninitializedÚlabel_selectorÚresource_versionÚtimeout_secondsÚwatchrrrrrzbGot an unexpected keyword argument '%s' to method delete_collection_namespaced_controller_revisionNzjMissing the required parameter `namespace` when calling `delete_collection_namespaced_controller_revision`z=/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisionsz{format}rÚ fieldSelectorÚincludeUninitializedÚ labelSelectorÚresourceVersionÚtimeoutSecondszapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperÚDELETEÚV1StatusT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rA"st                      zNAppsV1beta1Api.delete_collection_namespaced_controller_revision_with_http_infocKs6d|d<|jdƒr |j|f|ŽS|j|f|Ž}|SdS)ax delete collection of Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_collection_namespaced_deployment(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1Status If the method is called asynchronously, returns the request thread. TrrN)rÚ6delete_collection_namespaced_deployment_with_http_info)r rrrr r r Ú'delete_collection_namespaced_deployment‡s  z6AppsV1beta1Api.delete_collection_namespaced_deploymentcKsÞddddddddg}|jd ƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krltd|ƒ‚|||<qPW|d =d|ks’|ddkrštdƒ‚i}djddƒ}i} d|krÂ|d| d<i} d|krÚ|d| d<d|krî|d| d<d|k�r|d| d<d|k�r|d| d<d|k�r0|d| d<d|k�rF|d| d<d|k�r\|d| d<i} g} i} d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj |d | | | || | d!||j d ƒ|j d ƒ|j d d"ƒ|j d ƒ|d#�S)$a‡ delete collection of Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_collection_namespaced_deployment_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1Status If the method is called asynchronously, returns the request thread. rrrCrDrErFrGrHrrrrrzYGot an unexpected keyword argument '%s' to method delete_collection_namespaced_deploymentNzaMissing the required parameter `namespace` when calling `delete_collection_namespaced_deployment`z5/apis/apps/v1beta1/namespaces/{namespace}/deploymentsz{format}rrIrJrKrLrMzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrNrOT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rP§st                      zEAppsV1beta1Api.delete_collection_namespaced_deployment_with_http_infocKs6d|d<|jdƒr |j|f|ŽS|j|f|Ž}|SdS)a{ delete collection of StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_collection_namespaced_stateful_set(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1Status If the method is called asynchronously, returns the request thread. TrrN)rÚ8delete_collection_namespaced_stateful_set_with_http_info)r rrrr r r Ú)delete_collection_namespaced_stateful_set s  z8AppsV1beta1Api.delete_collection_namespaced_stateful_setcKsÞddddddddg}|jd ƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krltd|ƒ‚|||<qPW|d =d|ks’|ddkrštdƒ‚i}djddƒ}i} d|krÂ|d| d<i} d|krÚ|d| d<d|krî|d| d<d|k�r|d| d<d|k�r|d| d<d|k�r0|d| d<d|k�rF|d| d<d|k�r\|d| d<i} g} i} d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj |d | | | || | d!||j d ƒ|j d ƒ|j d d"ƒ|j d ƒ|d#�S)$aŠ delete collection of StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_collection_namespaced_stateful_set_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1Status If the method is called asynchronously, returns the request thread. rrrCrDrErFrGrHrrrrrz[Got an unexpected keyword argument '%s' to method delete_collection_namespaced_stateful_setNzcMissing the required parameter `namespace` when calling `delete_collection_namespaced_stateful_set`z6/apis/apps/v1beta1/namespaces/{namespace}/statefulsetsz{format}rrIrJrKrLrMzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrNrOT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rR,st                      zGAppsV1beta1Api.delete_collection_namespaced_stateful_set_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aŠ delete a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_namespaced_controller_revision(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. :param bool orphan_dependents: 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. :param str propagation_policy: 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. :return: V1Status If the method is called asynchronously, returns the request thread. TrrN)rÚ4delete_namespaced_controller_revision_with_http_info)r r;rrrrr r r Ú%delete_namespaced_controller_revision‘s  z4AppsV1beta1Api.delete_namespaced_controller_revisioncKsþdddddddg}|jdƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krjtd |ƒ‚|||<qNW|d =d|ks�|ddkr˜tdƒ‚d|ks¬|ddkr´tdƒ‚d|ksÈ|ddkrÐtdƒ‚i} djddƒ} i} d|krø|d| d<d|k�r|d| d<i} d|k�r(|d| d<d|k�r>|d| d<d|k�rT|d| d<d|k�rj|d| d<i} g}i}d}d|k�rŒ|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d ||j dƒ|j d ƒ|j d d!ƒ|j d ƒ| d"�S)#a™ delete a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_namespaced_controller_revision_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. :param bool orphan_dependents: 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. :param str propagation_policy: 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. :return: V1Status If the method is called asynchronously, returns the request thread. r;rrrÚgrace_period_secondsÚorphan_dependentsÚpropagation_policyrrrrrzWGot an unexpected keyword argument '%s' to method delete_namespaced_controller_revisionNzZMissing the required parameter `name` when calling `delete_namespaced_controller_revision`z_Missing the required parameter `namespace` when calling `delete_namespaced_controller_revision`zZMissing the required parameter `body` when calling `delete_namespaced_controller_revision`zD/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}z{format}rÚgracePeriodSecondsÚorphanDependentsÚpropagationPolicyzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrNrOT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rT°sx                     zCAppsV1beta1Api.delete_namespaced_controller_revision_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aq delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_namespaced_deployment(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. :param bool orphan_dependents: 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. :param str propagation_policy: 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. :return: V1Status If the method is called asynchronously, returns the request thread. TrrN)rÚ+delete_namespaced_deployment_with_http_info)r r;rrrrr r r Údelete_namespaced_deployments  z+AppsV1beta1Api.delete_namespaced_deploymentcKsþdddddddg}|jdƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krjtd |ƒ‚|||<qNW|d =d|ks�|ddkr˜tdƒ‚d|ks¬|ddkr´tdƒ‚d|ksÈ|ddkrÐtdƒ‚i} djddƒ} i} d|krø|d| d<d|k�r|d| d<i} d|k�r(|d| d<d|k�r>|d| d<d|k�rT|d| d<d|k�rj|d| d<i} g}i}d}d|k�rŒ|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d ||j dƒ|j d ƒ|j d d!ƒ|j d ƒ| d"�S)#a€ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. :param bool orphan_dependents: 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. :param str propagation_policy: 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. :return: V1Status If the method is called asynchronously, returns the request thread. r;rrrrVrWrXrrrrrzNGot an unexpected keyword argument '%s' to method delete_namespaced_deploymentNzQMissing the required parameter `name` when calling `delete_namespaced_deployment`zVMissing the required parameter `namespace` when calling `delete_namespaced_deployment`zQMissing the required parameter `body` when calling `delete_namespaced_deployment`zd|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)au delete a StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_namespaced_stateful_set(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. :param bool orphan_dependents: 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. :param str propagation_policy: 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. :return: V1Status If the method is called asynchronously, returns the request thread. TrrN)rÚ-delete_namespaced_stateful_set_with_http_info)r r;rrrrr r r Údelete_namespaced_stateful_setŸs  z-AppsV1beta1Api.delete_namespaced_stateful_setcKsþdddddddg}|jdƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krjtd |ƒ‚|||<qNW|d =d|ks�|ddkr˜tdƒ‚d|ks¬|ddkr´tdƒ‚d|ksÈ|ddkrÐtdƒ‚i} djddƒ} i} d|krø|d| d<d|k�r|d| d<i} d|k�r(|d| d<d|k�r>|d| d<d|k�rT|d| d<d|k�rj|d| d<i} g}i}d}d|k�rŒ|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d ||j dƒ|j d ƒ|j d d!ƒ|j d ƒ| d"�S)#a„ delete a StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_namespaced_stateful_set_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. :param bool orphan_dependents: 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. :param str propagation_policy: 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. :return: V1Status If the method is called asynchronously, returns the request thread. r;rrrrVrWrXrrrrrzPGot an unexpected keyword argument '%s' to method delete_namespaced_stateful_setNzSMissing the required parameter `name` when calling `delete_namespaced_stateful_set`zXMissing the required parameter `namespace` when calling `delete_namespaced_stateful_set`zSMissing the required parameter `body` when calling `delete_namespaced_stateful_set`z=/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}z{format}rrYrZr[zapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrNrOT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r^¾sx                     z>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: V1APIResourceList If the method is called asynchronously, returns the request thread. TrrN)rÚ get_api_resources_with_http_info)r rrr r r Úget_api_resources&s    z AppsV1beta1Api.get_api_resourcescKs g}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|dƒD]$\}}||kr\td|ƒ‚|||<q@W|d=i}djdd ƒ}i}i} i} g} i} d } |jjd d d gƒ| d<|jjd d d gƒ| d<dg}|jj|d|| | | | | d||j dƒ|j dƒ|j ddƒ|j dƒ|d�S)a’ get available resources This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: V1APIResourceList If the method is called asynchronously, returns the request thread. rrrrrzCGot an unexpected keyword argument '%s' to method get_api_resourcesz/apis/apps/v1beta1/z{format}rNzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz Content-TyperÚGETÚV1APIResourceListT) rrr r!r"rrrrr#) r$r%rr&r(rr)r*r+r)r rr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r`>sP        z/AppsV1beta1Api.get_api_resources_with_http_infocKs2d|d<|jdƒr|jf|ŽS|jf|Ž}|SdS)a3 list or watch objects of kind ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_controller_revision_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1ControllerRevisionList If the method is called asynchronously, returns the request thread. TrrN)rÚ:list_controller_revision_for_all_namespaces_with_http_info)r rrr r r Ú+list_controller_revision_for_all_namespaces‡s    z:AppsV1beta1Api.list_controller_revision_for_all_namespacescKsªdddddddg}|jdƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krjtd |ƒ‚|||<qNW|d =i}djddƒ}i}i} d|kr¨|d| d<d|kr¼|d| d<d|krÐ|d| d<d|krä|d| d<d|krø|d| d<d|k�r|d| d<d|k�r$|d| d<i} g} i} d} |jjdddddgƒ| d<|jjdgƒ| d<dg}|jj|d || | | | | d!||j dƒ|j d ƒ|j d d"ƒ|j d ƒ|d#�S)$aB list or watch objects of kind ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_controller_revision_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1ControllerRevisionList If the method is called asynchronously, returns the request thread. rCrDrErrFrGrHrrrrrz]Got an unexpected keyword argument '%s' to method list_controller_revision_for_all_namespacesz&/apis/apps/v1beta1/controllerrevisionsz{format}rrIrJrKrLrMNzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufzapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchrz*/*z Content-TyperrbÚV1beta1ControllerRevisionListT) rrr r!r"rrrrr#) r$r%rr&r(rr)r*r+r)r rr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rd¦sl                  zIAppsV1beta1Api.list_controller_revision_for_all_namespaces_with_http_infocKs2d|d<|jdƒr|jf|ŽS|jf|Ž}|SdS)a list or watch objects of kind Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_deployment_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: AppsV1beta1DeploymentList If the method is called asynchronously, returns the request thread. TrrN)rÚ1list_deployment_for_all_namespaces_with_http_info)r rrr r r Ú"list_deployment_for_all_namespacess    z1AppsV1beta1Api.list_deployment_for_all_namespacescKsªdddddddg}|jdƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krjtd |ƒ‚|||<qNW|d =i}djddƒ}i}i} d|kr¨|d| d<d|kr¼|d| d<d|krÐ|d| d<d|krä|d| d<d|krø|d| d<d|k�r|d| d<d|k�r$|d| d<i} g} i} d} |jjdddddgƒ| d<|jjdgƒ| d<dg}|jj|d || | | | | d!||j dƒ|j d ƒ|j d d"ƒ|j d ƒ|d#�S)$a- list or watch objects of kind Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_deployment_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: AppsV1beta1DeploymentList If the method is called asynchronously, returns the request thread. rCrDrErrFrGrHrrrrrzTGot an unexpected keyword argument '%s' to method list_deployment_for_all_namespacesz/apis/apps/v1beta1/deploymentsz{format}rrIrJrKrLrMNzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufzapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchrz*/*z Content-TyperrbÚAppsV1beta1DeploymentListT) rrr r!r"rrrrr#) r$r%rr&r(rr)r*r+r)r rr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rg$sl                  z@AppsV1beta1Api.list_deployment_for_all_namespaces_with_http_infocKs6d|d<|jdƒr |j|f|ŽS|j|f|Ž}|SdS)aš list or watch objects of kind ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_namespaced_controller_revision(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1ControllerRevisionList If the method is called asynchronously, returns the request thread. TrrN)rÚ2list_namespaced_controller_revision_with_http_info)r rrrr r r Ú#list_namespaced_controller_revisionƒs  z2AppsV1beta1Api.list_namespaced_controller_revisioncKsâddddddddg}|jd ƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krltd|ƒ‚|||<qPW|d =d|ks’|ddkrštdƒ‚i}djddƒ}i} d|krÂ|d| d<i} d|krÚ|d| d<d|krî|d| d<d|k�r|d| d<d|k�r|d| d<d|k�r0|d| d<d|k�rF|d| d<d|k�r\|d| d<i} g} i} d}|jjdddddgƒ| d<|jjdgƒ| d <d!g}|jj |d"| | | || | d#||j d ƒ|j d ƒ|j d d$ƒ|j d ƒ|d%�S)&a© list or watch objects of kind ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_namespaced_controller_revision_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1ControllerRevisionList If the method is called asynchronously, returns the request thread. rrrCrDrErFrGrHrrrrrzUGot an unexpected keyword argument '%s' to method list_namespaced_controller_revisionNz]Missing the required parameter `namespace` when calling `list_namespaced_controller_revision`z=/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisionsz{format}rrIrJrKrLrMzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufzapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchrz*/*z Content-TyperrbrfT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rj£st                      zAAppsV1beta1Api.list_namespaced_controller_revision_with_http_infocKs6d|d<|jdƒr |j|f|ŽS|j|f|Ž}|SdS)a… list or watch objects of kind Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_namespaced_deployment(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: AppsV1beta1DeploymentList If the method is called asynchronously, returns the request thread. TrrN)rÚ)list_namespaced_deployment_with_http_info)r rrrr r r Úlist_namespaced_deployments  z)AppsV1beta1Api.list_namespaced_deploymentcKsâddddddddg}|jd ƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krltd|ƒ‚|||<qPW|d =d|ks’|ddkrštdƒ‚i}djddƒ}i} d|krÂ|d| d<i} d|krÚ|d| d<d|krî|d| d<d|k�r|d| d<d|k�r|d| d<d|k�r0|d| d<d|k�rF|d| d<d|k�r\|d| d<i} g} i} d}|jjdddddgƒ| d<|jjdgƒ| d <d!g}|jj |d"| | | || | d#||j d ƒ|j d ƒ|j d d$ƒ|j d ƒ|d%�S)&a” list or watch objects of kind Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_namespaced_deployment_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: AppsV1beta1DeploymentList If the method is called asynchronously, returns the request thread. rrrCrDrErFrGrHrrrrrzLGot an unexpected keyword argument '%s' to method list_namespaced_deploymentNzTMissing the required parameter `namespace` when calling `list_namespaced_deployment`z5/apis/apps/v1beta1/namespaces/{namespace}/deploymentsz{format}rrIrJrKrLrMzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufzapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchrz*/*z Content-TyperrbriT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rl(st                      z8AppsV1beta1Api.list_namespaced_deployment_with_http_infocKs6d|d<|jdƒr |j|f|ŽS|j|f|Ž}|SdS)a… list or watch objects of kind StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_namespaced_stateful_set(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1StatefulSetList If the method is called asynchronously, returns the request thread. TrrN)rÚ+list_namespaced_stateful_set_with_http_info)r rrrr r r Úlist_namespaced_stateful_set�s  z+AppsV1beta1Api.list_namespaced_stateful_setcKsâddddddddg}|jd ƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krltd|ƒ‚|||<qPW|d =d|ks’|ddkrštdƒ‚i}djddƒ}i} d|krÂ|d| d<i} d|krÚ|d| d<d|krî|d| d<d|k�r|d| d<d|k�r|d| d<d|k�r0|d| d<d|k�rF|d| d<d|k�r\|d| d<i} g} i} d}|jjdddddgƒ| d<|jjdgƒ| d <d!g}|jj |d"| | | || | d#||j d ƒ|j d ƒ|j d d$ƒ|j d ƒ|d%�S)&a” list or watch objects of kind StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_namespaced_stateful_set_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1StatefulSetList If the method is called asynchronously, returns the request thread. rrrCrDrErFrGrHrrrrrzNGot an unexpected keyword argument '%s' to method list_namespaced_stateful_setNzVMissing the required parameter `namespace` when calling `list_namespaced_stateful_set`z6/apis/apps/v1beta1/namespaces/{namespace}/statefulsetsz{format}rrIrJrKrLrMzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufzapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchrz*/*z Content-TyperrbÚV1beta1StatefulSetListT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rn­st                      z:AppsV1beta1Api.list_namespaced_stateful_set_with_http_infocKs2d|d<|jdƒr|jf|ŽS|jf|Ž}|SdS)a list or watch objects of kind StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_stateful_set_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1StatefulSetList If the method is called asynchronously, returns the request thread. TrrN)rÚ3list_stateful_set_for_all_namespaces_with_http_info)r rrr r r Ú$list_stateful_set_for_all_namespacess    z3AppsV1beta1Api.list_stateful_set_for_all_namespacescKsªdddddddg}|jdƒ|jd ƒ|jd ƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krjtd |ƒ‚|||<qNW|d =i}djddƒ}i}i} d|kr¨|d| d<d|kr¼|d| d<d|krÐ|d| d<d|krä|d| d<d|krø|d| d<d|k�r|d| d<d|k�r$|d| d<i} g} i} d} |jjdddddgƒ| d<|jjdgƒ| d<dg}|jj|d || | | | | d!||j dƒ|j d ƒ|j d d"ƒ|j d ƒ|d#�S)$a- list or watch objects of kind StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_stateful_set_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. :param str resource_version: 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. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1StatefulSetList If the method is called asynchronously, returns the request thread. rCrDrErrFrGrHrrrrrzVGot an unexpected keyword argument '%s' to method list_stateful_set_for_all_namespacesz/apis/apps/v1beta1/statefulsetsz{format}rrIrJrKrLrMNzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufzapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchrz*/*z Content-TyperrbrpT) rrr r!r"rrrrr#) r$r%rr&r(rr)r*r+r)r rr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rq1sl                  zBAppsV1beta1Api.list_stateful_set_for_all_namespaces_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aæ partially update the specified ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_controller_revision(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ControllerRevision If the method is called asynchronously, returns the request thread. TrrN)rÚ3patch_namespaced_controller_revision_with_http_info)r r;rrrrr r r Ú$patch_namespaced_controller_revision�s  z3AppsV1beta1Api.patch_namespaced_controller_revisioncKsºddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdddgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aõ partially update the specified ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_controller_revision_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ControllerRevision If the method is called asynchronously, returns the request thread. r;rrrrrrrrzVGot an unexpected keyword argument '%s' to method patch_namespaced_controller_revisionNzYMissing the required parameter `name` when calling `patch_namespaced_controller_revision`z^Missing the required parameter `namespace` when calling `patch_namespaced_controller_revision`zYMissing the required parameter `body` when calling `patch_namespaced_controller_revision`zD/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrzapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonz Content-TyperÚPATCHrT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rs¬sl               zBAppsV1beta1Api.patch_namespaced_controller_revision_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aÉ partially update the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_deployment(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. TrrN)rÚ*patch_namespaced_deployment_with_http_info)r r;rrrrr r r Úpatch_namespaced_deployment s  z*AppsV1beta1Api.patch_namespaced_deploymentcKsºddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdddgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aØ partially update the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_deployment_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. r;rrrrrrrrzMGot an unexpected keyword argument '%s' to method patch_namespaced_deploymentNzPMissing the required parameter `name` when calling `patch_namespaced_deployment`zUMissing the required parameter `namespace` when calling `patch_namespaced_deployment`zPMissing the required parameter `body` when calling `patch_namespaced_deployment`zd|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aÎ partially update scale of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_deployment_scale(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Scale If the method is called asynchronously, returns the request thread. TrrN)rÚ0patch_namespaced_deployment_scale_with_http_info)r r;rrrrr r r Ú!patch_namespaced_deployment_scale† s  z0AppsV1beta1Api.patch_namespaced_deployment_scalecKsºddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdddgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aÝ partially update scale of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_deployment_scale_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Scale If the method is called asynchronously, returns the request thread. r;rrrrrrrrzSGot an unexpected keyword argument '%s' to method patch_namespaced_deployment_scaleNzVMissing the required parameter `name` when calling `patch_namespaced_deployment_scale`z[Missing the required parameter `namespace` when calling `patch_namespaced_deployment_scale`zVMissing the required parameter `body` when calling `patch_namespaced_deployment_scale`zB/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scalez{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrzapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonz Content-TyperruÚAppsV1beta1ScaleT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r rx¢ sl               z?AppsV1beta1Api.patch_namespaced_deployment_scale_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aÚ partially update status of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_deployment_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. TrrN)rÚ1patch_namespaced_deployment_status_with_http_info)r r;rrrrr r r Ú"patch_namespaced_deployment_status s  z1AppsV1beta1Api.patch_namespaced_deployment_statuscKsºddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdddgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aé partially update status of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_deployment_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. r;rrrrrrrrzTGot an unexpected keyword argument '%s' to method patch_namespaced_deployment_statusNzWMissing the required parameter `name` when calling `patch_namespaced_deployment_status`z\Missing the required parameter `namespace` when calling `patch_namespaced_deployment_status`zWMissing the required parameter `body` when calling `patch_namespaced_deployment_status`zC/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/statusz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrzapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonz Content-Typerrur9T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r{ sl               z@AppsV1beta1Api.patch_namespaced_deployment_status_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aÊ partially update the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_stateful_set(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. TrrN)rÚ,patch_namespaced_stateful_set_with_http_info)r r;rrrrr r r Úpatch_namespaced_stateful_set| s  z,AppsV1beta1Api.patch_namespaced_stateful_setcKsºddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdddgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aÙ partially update the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_stateful_set_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. r;rrrrrrrrzOGot an unexpected keyword argument '%s' to method patch_namespaced_stateful_setNzRMissing the required parameter `name` when calling `patch_namespaced_stateful_set`zWMissing the required parameter `namespace` when calling `patch_namespaced_stateful_set`zRMissing the required parameter `body` when calling `patch_namespaced_stateful_set`z=/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrzapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonz Content-Typerrur@T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r}˜ sl               z;AppsV1beta1Api.patch_namespaced_stateful_set_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aÛ partially update status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_stateful_set_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. TrrN)rÚ3patch_namespaced_stateful_set_status_with_http_info)r r;rrrrr r r Ú$patch_namespaced_stateful_set_status÷ s  z3AppsV1beta1Api.patch_namespaced_stateful_set_statuscKsºddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdddgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aê partially update status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. r;rrrrrrrrzVGot an unexpected keyword argument '%s' to method patch_namespaced_stateful_set_statusNzYMissing the required parameter `name` when calling `patch_namespaced_stateful_set_status`z^Missing the required parameter `namespace` when calling `patch_namespaced_stateful_set_status`zYMissing the required parameter `body` when calling `patch_namespaced_stateful_set_status`zD/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/statusz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrzapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonz Content-Typerrur@T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r sl               zBAppsV1beta1Api.patch_namespaced_stateful_set_status_with_http_infocKs:d|d<|jdƒr"|j||f|ŽS|j||f|Ž}|SdS)a“ read the specified ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_controller_revision(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1beta1ControllerRevision If the method is called asynchronously, returns the request thread. TrrN)rÚ2read_namespaced_controller_revision_with_http_info)r r;rrrr r r Ú#read_namespaced_controller_revisionr s  z2AppsV1beta1Api.read_namespaced_controller_revisioncKs´dddddg}|jdƒ|jdƒ|jdƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krftd |ƒ‚|||<qJW|d =d|ksŒ|dd kr”td ƒ‚d|ks¨|dd kr°tdƒ‚i}djddƒ} i} d|krØ|d| d<d|krì|d| d<i} d|k�r|d| d<d|k�r|d| d<d|k�r2|d| d<i} g} i}d }|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j d ƒ|d�S)a¢ read the specified ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_controller_revision_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1beta1ControllerRevision If the method is called asynchronously, returns the request thread. r;rrÚexactÚexportrrrrrzUGot an unexpected keyword argument '%s' to method read_namespaced_controller_revisionNzXMissing the required parameter `name` when calling `read_namespaced_controller_revision`z]Missing the required parameter `namespace` when calling `read_namespaced_controller_revision`zD/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrbrT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r�� sl                 zAAppsV1beta1Api.read_namespaced_controller_revision_with_http_infocKs:d|d<|jdƒr"|j||f|ŽS|j||f|Ž}|SdS)av read the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_deployment(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. TrrN)rÚ)read_namespaced_deployment_with_http_info)r r;rrrr r r Úread_namespaced_deploymentî s  z)AppsV1beta1Api.read_namespaced_deploymentcKs´dddddg}|jdƒ|jdƒ|jdƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krftd |ƒ‚|||<qJW|d =d|ksŒ|dd kr”td ƒ‚d|ks¨|dd kr°tdƒ‚i}djddƒ} i} d|krØ|d| d<d|krì|d| d<i} d|k�r|d| d<d|k�r|d| d<d|k�r2|d| d<i} g} i}d }|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j d ƒ|d�S)a… read the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_deployment_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. r;rrrƒr„rrrrrzLGot an unexpected keyword argument '%s' to method read_namespaced_deploymentNzOMissing the required parameter `name` when calling `read_namespaced_deployment`zTMissing the required parameter `namespace` when calling `read_namespaced_deployment`z>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_deployment_scale(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Scale If the method is called asynchronously, returns the request thread. TrrN)rÚ/read_namespaced_deployment_scale_with_http_info)r r;rrrr r r Ú read_namespaced_deployment_scalej s  z/AppsV1beta1Api.read_namespaced_deployment_scalecKs„dddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|dƒD]$\}}||krbtd |ƒ‚|||<qFW|d=d|ksˆ|dd kr�td ƒ‚d|ks¤|dd kr¬td ƒ‚i}d jddƒ} i} d|krÔ|d| d<d|krè|d| d<i} d|k�r|d| d<i} g} i}d }|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j dƒ|d�S)a£ read scale of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_deployment_scale_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Scale If the method is called asynchronously, returns the request thread. r;rrrrrrrzRGot an unexpected keyword argument '%s' to method read_namespaced_deployment_scaleNzUMissing the required parameter `name` when calling `read_namespaced_deployment_scale`zZMissing the required parameter `namespace` when calling `read_namespaced_deployment_scale`zB/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scalez{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrbrzT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r‡… sd              z>AppsV1beta1Api.read_namespaced_deployment_scale_with_http_infocKs:d|d<|jdƒr"|j||f|ŽS|j||f|Ž}|SdS)a  read status of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_deployment_status(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. TrrN)rÚ0read_namespaced_deployment_status_with_http_info)r r;rrrr r r Ú!read_namespaced_deployment_statusÞ s  z0AppsV1beta1Api.read_namespaced_deployment_statuscKs„dddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|dƒD]$\}}||krbtd |ƒ‚|||<qFW|d=d|ksˆ|dd kr�td ƒ‚d|ks¤|dd kr¬td ƒ‚i}d jddƒ} i} d|krÔ|d| d<d|krè|d| d<i} d|k�r|d| d<i} g} i}d }|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j dƒ|d�S)a¯ read status of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_deployment_status_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. r;rrrrrrrzSGot an unexpected keyword argument '%s' to method read_namespaced_deployment_statusNzVMissing the required parameter `name` when calling `read_namespaced_deployment_status`z[Missing the required parameter `namespace` when calling `read_namespaced_deployment_status`zC/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/statusz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerrbr9T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r‰ù sd              z?AppsV1beta1Api.read_namespaced_deployment_status_with_http_infocKs:d|d<|jdƒr"|j||f|ŽS|j||f|Ž}|SdS)aw read the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_stateful_set(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. TrrN)rÚ+read_namespaced_stateful_set_with_http_info)r r;rrrr r r Úread_namespaced_stateful_setR s  z+AppsV1beta1Api.read_namespaced_stateful_setcKs´dddddg}|jdƒ|jdƒ|jdƒ|jd ƒtƒ}x4t|d ƒD]$\}}||krftd |ƒ‚|||<qJW|d =d|ksŒ|dd kr”td ƒ‚d|ks¨|dd kr°tdƒ‚i}djddƒ} i} d|krØ|d| d<d|krì|d| d<i} d|k�r|d| d<d|k�r|d| d<d|k�r2|d| d<i} g} i}d }|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j d ƒ|d�S)a† read the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_stateful_set_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. r;rrrƒr„rrrrrzNGot an unexpected keyword argument '%s' to method read_namespaced_stateful_setNzQMissing the required parameter `name` when calling `read_namespaced_stateful_set`zVMissing the required parameter `namespace` when calling `read_namespaced_stateful_set`z=/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerrbr@T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r‹o sl                 z:AppsV1beta1Api.read_namespaced_stateful_set_with_http_infocKs:d|d<|jdƒr"|j||f|ŽS|j||f|Ž}|SdS)a¡ read status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_stateful_set_status(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. TrrN)rÚ2read_namespaced_stateful_set_status_with_http_info)r r;rrrr r r Ú#read_namespaced_stateful_set_statusÎ s  z2AppsV1beta1Api.read_namespaced_stateful_set_statuscKs„dddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|dƒD]$\}}||krbtd |ƒ‚|||<qFW|d=d|ksˆ|dd kr�td ƒ‚d|ks¤|dd kr¬td ƒ‚i}d jddƒ} i} d|krÔ|d| d<d|krè|d| d<i} d|k�r|d| d<i} g} i}d }|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | || |d||j dƒ|j dƒ|j ddƒ|j dƒ|d�S)a° read status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.read_namespaced_stateful_set_status_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. r;rrrrrrrzUGot an unexpected keyword argument '%s' to method read_namespaced_stateful_set_statusNzXMissing the required parameter `name` when calling `read_namespaced_stateful_set_status`z]Missing the required parameter `namespace` when calling `read_namespaced_stateful_set_status`zD/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/statusz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerrbr@T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r�é sd              zAAppsV1beta1Api.read_namespaced_stateful_set_status_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aò replace the specified ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_controller_revision(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1ControllerRevision body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ControllerRevision If the method is called asynchronously, returns the request thread. TrrN)rÚ5replace_namespaced_controller_revision_with_http_info)r r;rrrrr r r Ú&replace_namespaced_controller_revisionBs  z5AppsV1beta1Api.replace_namespaced_controller_revisioncKs¶ddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)a replace the specified ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_controller_revision_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1ControllerRevision body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ControllerRevision If the method is called asynchronously, returns the request thread. r;rrrrrrrrzXGot an unexpected keyword argument '%s' to method replace_namespaced_controller_revisionNz[Missing the required parameter `name` when calling `replace_namespaced_controller_revision`z`Missing the required parameter `namespace` when calling `replace_namespaced_controller_revision`z[Missing the required parameter `body` when calling `replace_namespaced_controller_revision`zD/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperÚPUTrT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r�^sl                zDAppsV1beta1Api.replace_namespaced_controller_revision_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aÑ replace the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_deployment(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. TrrN)rÚ,replace_namespaced_deployment_with_http_info)r r;rrrrr r r Úreplace_namespaced_deployment½s  z,AppsV1beta1Api.replace_namespaced_deploymentcKs¶ddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aà replace the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_deployment_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. r;rrrrrrrrzOGot an unexpected keyword argument '%s' to method replace_namespaced_deploymentNzRMissing the required parameter `name` when calling `replace_namespaced_deployment`zWMissing the required parameter `namespace` when calling `replace_namespaced_deployment`zRMissing the required parameter `body` when calling `replace_namespaced_deployment`zd|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aÑ replace scale of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_deployment_scale(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Scale If the method is called asynchronously, returns the request thread. TrrN)rÚ2replace_namespaced_deployment_scale_with_http_info)r r;rrrrr r r Ú#replace_namespaced_deployment_scale8s  z2AppsV1beta1Api.replace_namespaced_deployment_scalecKs¶ddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aà replace scale of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_deployment_scale_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Scale If the method is called asynchronously, returns the request thread. r;rrrrrrrrzUGot an unexpected keyword argument '%s' to method replace_namespaced_deployment_scaleNzXMissing the required parameter `name` when calling `replace_namespaced_deployment_scale`z]Missing the required parameter `namespace` when calling `replace_namespaced_deployment_scale`zXMissing the required parameter `body` when calling `replace_namespaced_deployment_scale`zB/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scalez{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerr‘rzT) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r”Tsl                zAAppsV1beta1Api.replace_namespaced_deployment_scale_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aâ replace status of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_deployment_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. TrrN)rÚ3replace_namespaced_deployment_status_with_http_info)r r;rrrrr r r Ú$replace_namespaced_deployment_status³s  z3AppsV1beta1Api.replace_namespaced_deployment_statuscKs¶ddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)añ replace status of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_deployment_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param AppsV1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: AppsV1beta1Deployment If the method is called asynchronously, returns the request thread. r;rrrrrrrrzVGot an unexpected keyword argument '%s' to method replace_namespaced_deployment_statusNzYMissing the required parameter `name` when calling `replace_namespaced_deployment_status`z^Missing the required parameter `namespace` when calling `replace_namespaced_deployment_status`zYMissing the required parameter `body` when calling `replace_namespaced_deployment_status`zC/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/statusz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerr‘r9T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r–Ïsl                zBAppsV1beta1Api.replace_namespaced_deployment_status_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aÏ replace the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_stateful_set(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. TrrN)rÚ.replace_namespaced_stateful_set_with_http_info)r r;rrrrr r r Úreplace_namespaced_stateful_set.s  z.AppsV1beta1Api.replace_namespaced_stateful_setcKs¶ddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aÞ replace the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_stateful_set_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. r;rrrrrrrrzQGot an unexpected keyword argument '%s' to method replace_namespaced_stateful_setNzTMissing the required parameter `name` when calling `replace_namespaced_stateful_set`zYMissing the required parameter `namespace` when calling `replace_namespaced_stateful_set`zTMissing the required parameter `body` when calling `replace_namespaced_stateful_set`z=/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerr‘r@T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r r˜Jsl                z=AppsV1beta1Api.replace_namespaced_stateful_set_with_http_infocKs>d|d<|jdƒr$|j|||f|ŽS|j|||f|Ž}|SdS)aà replace status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_stateful_set_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. TrrN)rÚ5replace_namespaced_stateful_set_status_with_http_info)r r;rrrrr r r Ú&replace_namespaced_stateful_set_status©s  z5AppsV1beta1Api.replace_namespaced_stateful_set_statuscKs¶ddddg}|jdƒ|jdƒ|jdƒ|jdƒtƒ}x4t|d ƒD]$\}}||krdtd |ƒ‚|||<qHW|d =d|ksŠ|dd kr’td ƒ‚d|ks¦|dd kr®td ƒ‚d|ksÂ|dd krÊtdƒ‚i} djddƒ} i} d|krò|d| d<d|k�r|d| d<i} d|k�r"|d| d<i} g}i}d }d|k�rD|d}|jjdddgƒ| d<|jjdgƒ| d<dg}|jj | d| | | |||d||j dƒ|j dƒ|j ddƒ|j dƒ| d�S)aï replace status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, returns the request thread. r;rrrrrrrrzXGot an unexpected keyword argument '%s' to method replace_namespaced_stateful_set_statusNz[Missing the required parameter `name` when calling `replace_namespaced_stateful_set_status`z`Missing the required parameter `namespace` when calling `replace_namespaced_stateful_set_status`z[Missing the required parameter `body` when calling `replace_namespaced_stateful_set_status`zD/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/statusz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerr‘r@T) rrr r!r"rrrrr#) r$r%rr&r'r(rr)r*r+r)r r;rrrr,r-r.r/r#r0r1r2r3r4r5r6r"r r r ršÅsl                zDAppsV1beta1Api.replace_namespaced_stateful_set_status_with_http_info)N)KÚ__name__Ú __module__Ú __qualname__Ú__doc__r rrr8r7r<r:r?r>rBrArQrPrSrRrUrTr]r\r_r^rar`rerdrhrgrkrjrmrlrornrrrqrtrsrwrvryrxr|r{r~r}r€rr‚r�r†r…rˆr‡rŠr‰rŒr‹rŽr�r�r�r“r’r•r”r—r–r™r˜r›ršr r r r rs� YY_Y e e ehhhI__ e e e_________YY_Y_____r)rŸÚ __future__rÚsysÚosÚreÚsixrÚ configurationrrrÚobjectrr r r r Ú s