
    @n                    Z    d Z ddlmZ ddlZddlZddlZddlmZ ddlm	Z	  G d de
      Zy)	z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )absolute_importN)	iteritems   )	ApiClientc                       e Zd ZdZddZd Zd Zd Zd Zd Z	d	 Z
d
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d  Z!d! Z"d" Z#d# Z$d$ Z%d% Z&d& Z'd' Z(d( Z)d) Z*d* Z+d+ Z,d, Z-d- Z.d. Z/d/ Z0d0 Z1d1 Z2d2 Z3d3 Z4d4 Z5d5 Z6d6 Z7d7 Z8d8 Z9d9 Z:d: Z;d; Z<d< Z=d= Z>d> Z?d? Z@d@ ZAdA ZBdB ZCdC ZDdD ZEdE ZFdF ZGdG ZHdH ZIdI ZJdJ ZKdK ZLdL ZMdM ZNdN ZOdO ZPdP ZQdQ ZRdR ZSdS ZTdT ZUdU ZVdV ZWdW ZXdX ZYdY ZZdZ Z[d[ Z\d\ Z]d] Z^d^ Z_d_ Z`d` Zada Zbdb Zcdc Zddd Zede Zfdf Zgdg Zhdh Zidi Zjdj Zkdk Zldl Zmdm Zndn Zodo Zpdp Zqdq Zrdr Zsds Ztdt Zudu Zvdv Zwdw Zxdx Zydy Zzdz Z{d{ Z|d| Z}d} Z~d~ Zd Zy)AppsV1beta2Apiz
    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
    Nc                 *    |
t               }|| _        y N)r   
api_client)selfr   s     :lib/third_party/kubernetes/client/apis/apps_v1beta2_api.py__init__zAppsV1beta2Api.__init__    s    ;j DO    c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a2  
        create a ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_controller_revision(namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ControllerRevision body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get4create_namespaced_controller_revision_with_http_infor   	namespacebodykwargsdatas        r   %create_namespaced_controller_revisionz4AppsV1beta2Api.create_namespaced_controller_revision%   sd    4 (,F#$zz+FTFF
T%#% % ItHH
T%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )aI  
        create a ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.create_namespaced_controller_revision_with_http_info(namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ControllerRevision body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   prettydry_runfield_managerr   r   _preload_content_request_timeoutr   zWGot an unexpected keyword argument '%s' to method create_namespaced_controller_revisionr   Nz_Missing the required parameter `namespace` when calling `create_namespaced_controller_revision`r   zZMissing the required parameter `body` when calling `create_namespaced_controller_revision`r   r   dryRunr   fieldManagerapplication/jsonapplication/yaml#application/vnd.kubernetes.protobufAccept*/*Content-TypeBearerToken=/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisionsPOSTV1beta2ControllerRevisionT
r   post_paramsfilesresponse_typeauth_settingsr   r   r    r!   collection_formats
appendlocalsr   	TypeError
ValueErrorr   select_header_acceptselect_header_content_typecall_apir   r   r   r   r   
all_paramsparamskeyvalr4   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr3   s                   r   r   zCAppsV1beta2Api.create_namespaced_controller_revision_with_http_infoH   sG   : MJk"./()()XFfX./S	J	 K  	 fSk 0 	x6!vk':'B
k  	f&."8
f  Kf!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##G1#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        create a DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_daemon_set(namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   +create_namespaced_daemon_set_with_http_infor   s        r   create_namespaced_daemon_setz+AppsV1beta2Api.create_namespaced_daemon_set   d    4 (,F#$zz+=T==
T%#% % @t??
T%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        create a DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_daemon_set_with_http_info(namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zNGot an unexpected keyword argument '%s' to method create_namespaced_daemon_setr   NzVMissing the required parameter `namespace` when calling `create_namespaced_daemon_set`r   zQMissing the required parameter `body` when calling `create_namespaced_daemon_set`r   r   r"   r   r#   r$   r(   r)   r*   r+   4/apis/apps/v1beta2/namespaces/{namespace}/daemonsetsr-   V1beta2DaemonSetTr/   r5   r=   s                   r   rI   z:AppsV1beta2Api.create_namespaced_daemon_set_with_http_info   sH   8 MJk"./()()XFfX./S	J	 BDGH I 	IfSk	 0
 	x6!vk':'B
b  	f&."8
]  Kf!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##>(#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        create a Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_deployment(namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   +create_namespaced_deployment_with_http_infor   s        r   create_namespaced_deploymentz+AppsV1beta2Api.create_namespaced_deployment9  rK   r   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a   
        create a Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_deployment_with_http_info(namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zNGot an unexpected keyword argument '%s' to method create_namespaced_deploymentr   NzVMissing the required parameter `namespace` when calling `create_namespaced_deployment`r   zQMissing the required parameter `body` when calling `create_namespaced_deployment`r   r   r"   r   r#   r$   r(   r)   r*   r+   5/apis/apps/v1beta2/namespaces/{namespace}/deploymentsr-   V1beta2DeploymentTr/   r5   r=   s                   r   rP   z:AppsV1beta2Api.create_namespaced_deployment_with_http_info\  sH   8 MJk"./()()XFfX./S	J	 BDGH I 	IfSk	 0
 	x6!vk':'B
b  	f&."8
]  Kf!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##?)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        create a ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_replica_set(namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   ,create_namespaced_replica_set_with_http_infor   s        r   create_namespaced_replica_setz,AppsV1beta2Api.create_namespaced_replica_set  sd    4 (,F#$zz+>T>>
T%#% % At@@
T%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a!  
        create a ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_replica_set_with_http_info(namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zOGot an unexpected keyword argument '%s' to method create_namespaced_replica_setr   NzWMissing the required parameter `namespace` when calling `create_namespaced_replica_set`r   zRMissing the required parameter `body` when calling `create_namespaced_replica_set`r   r   r"   r   r#   r$   r(   r)   r*   r+   5/apis/apps/v1beta2/namespaces/{namespace}/replicasetsr-   V1beta2ReplicaSetTr/   r5   r=   s                   r   rV   z;AppsV1beta2Api.create_namespaced_replica_set_with_http_info  sH   8 MJk"./()()XFfX./S	J	 CEHI J 	JfSk	 0
 	x6!vk':'B
c  	f&."8
^  Kf!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##?)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        create a StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_namespaced_stateful_set(namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   -create_namespaced_stateful_set_with_http_infor   s        r   create_namespaced_stateful_setz-AppsV1beta2Api.create_namespaced_stateful_setK  sd    4 (,F#$zz+?T??
T%#% % BtAA
T%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a-  
        create a StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.create_namespaced_stateful_set_with_http_info(namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zPGot an unexpected keyword argument '%s' to method create_namespaced_stateful_setr   NzXMissing the required parameter `namespace` when calling `create_namespaced_stateful_set`r   zSMissing the required parameter `body` when calling `create_namespaced_stateful_set`r   r   r"   r   r#   r$   r(   r)   r*   r+   6/apis/apps/v1beta2/namespaces/{namespace}/statefulsetsr-   V1beta2StatefulSetTr/   r5   r=   s                   r   r\   z<AppsV1beta2Api.create_namespaced_stateful_set_with_http_infon  sH   : MJk"./()()XFfX./S	J	 DFIJ K 	KfSk	 0
 	x6!vk':'B
d  	f&."8
_  Kf!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##@*#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )a  
        delete collection of ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_namespaced_controller_revision(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        Tr   r   )r   ?delete_collection_namespaced_controller_revision_with_http_infor   r   r   r   s       r   0delete_collection_namespaced_controller_revisionz?AppsV1beta2Api.delete_collection_namespaced_controller_revision  sf    T (,F#$zz+QTQQ
  O$
N
N
  kr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        delete collection of ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_namespaced_controller_revision_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        	r   r   	_continuefield_selectorlabel_selectorlimitresource_versiontimeout_secondswatchr   r   r    r!   r   zbGot an unexpected keyword argument '%s' to method delete_collection_namespaced_controller_revisionr   NzjMissing the required parameter `namespace` when calling `delete_collection_namespaced_controller_revision`r   rg   continuerh   fieldSelectorri   labelSelectorrj   rk   resourceVersionrl   timeoutSecondsrm   r$   r(   r)   r*   r+   r,   DELETEV1StatusTr/   r5   r   r   r   r>   r?   r@   rA   r4   rB   rC   rD   rE   rF   rG   r3   s                  r   rb   zNAppsV1beta2Api.delete_collection_namespaced_controller_revision_with_http_info)  s   VJ k"./()()XFfX./S	J	JLOPQ 	Q fSk 0 	x6!vk':'B
v  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oolm ( %)OO""E7+ .! #OM??##G #**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )ao  
        delete collection of DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_collection_namespaced_daemon_set(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        Tr   r   )r   6delete_collection_namespaced_daemon_set_with_http_inforc   s       r   'delete_collection_namespaced_daemon_setz6AppsV1beta2Api.delete_collection_namespaced_daemon_set  a    P (,F#$zz+HTHH
  KtJJ
tkr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        delete collection of DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_namespaced_daemon_set_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        rf   r   r   r    r!   r   zYGot an unexpected keyword argument '%s' to method delete_collection_namespaced_daemon_setr   NzaMissing the required parameter `namespace` when calling `delete_collection_namespaced_daemon_set`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r$   r(   r)   r*   r+   rM   rs   rt   Tr/   r5   ru   s                  r   rw   zEAppsV1beta2Api.delete_collection_namespaced_daemon_set_with_http_info  s   VJ k"./()()XFfX./S	J	 M  	 fSk 0 	x6!vk':'B
m  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oolm ( %)OO""E7+ .! #OM??##> #**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )ap  
        delete collection of Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_collection_namespaced_deployment(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        Tr   r   )r   6delete_collection_namespaced_deployment_with_http_inforc   s       r   'delete_collection_namespaced_deploymentz6AppsV1beta2Api.delete_collection_namespaced_deployment  ry   r   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        delete collection of Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_namespaced_deployment_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        rf   r   r   r    r!   r   zYGot an unexpected keyword argument '%s' to method delete_collection_namespaced_deploymentr   NzaMissing the required parameter `namespace` when calling `delete_collection_namespaced_deployment`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r$   r(   r)   r*   r+   rS   rs   rt   Tr/   r5   ru   s                  r   r|   zEAppsV1beta2Api.delete_collection_namespaced_deployment_with_http_info  s   VJ k"./()()XFfX./S	J	 M  	 fSk 0 	x6!vk':'B
m  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oolm ( %)OO""E7+ .! #OM??##? #**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )aq  
        delete collection of ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_collection_namespaced_replica_set(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        Tr   r   )r   7delete_collection_namespaced_replica_set_with_http_inforc   s       r   (delete_collection_namespaced_replica_setz7AppsV1beta2Api.delete_collection_namespaced_replica_set  sa    P (,F#$zz+ITII
  LtKK
tkr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        delete collection of ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_namespaced_replica_set_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        rf   r   r   r    r!   r   zZGot an unexpected keyword argument '%s' to method delete_collection_namespaced_replica_setr   NzbMissing the required parameter `namespace` when calling `delete_collection_namespaced_replica_set`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r$   r(   r)   r*   r+   rY   rs   rt   Tr/   r5   ru   s                  r   r   zFAppsV1beta2Api.delete_collection_namespaced_replica_set_with_http_info  s   VJ k"./()()XFfX./S	J	 N  	 fSk 0 	x6!vk':'B
n  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oolm ( %)OO""E7+ .! #OM??##? #**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )as  
        delete collection of StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_collection_namespaced_stateful_set(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        Tr   r   )r   8delete_collection_namespaced_stateful_set_with_http_inforc   s       r   )delete_collection_namespaced_stateful_setz8AppsV1beta2Api.delete_collection_namespaced_stateful_set  sa    P (,F#$zz+JTJJ
  MtLL
tkr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        delete collection of StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_collection_namespaced_stateful_set_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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.
        rf   r   r   r    r!   r   z[Got an unexpected keyword argument '%s' to method delete_collection_namespaced_stateful_setr   NzcMissing the required parameter `namespace` when calling `delete_collection_namespaced_stateful_set`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r$   r(   r)   r*   r+   r_   rs   rt   Tr/   r5   ru   s                  r   r   zGAppsV1beta2Api.delete_collection_namespaced_stateful_set_with_http_info  s   VJ k"./()()XFfX./S	J	 O  	 fSk 0 	x6!vk':'B
o  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oolm ( %)OO""E7+ .! #OM??##@ #**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )aD	  
        delete a ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_controller_revision(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   4delete_namespaced_controller_revision_with_http_infor   namer   r   r   s        r   %delete_namespaced_controller_revisionz4AppsV1beta2Api.delete_namespaced_controller_revisiony  se    R (,F#$zz+FTFF
	%#% % ItHH
	%#%tkr   c                 
   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |       S )!a[	  
        delete a ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.delete_namespaced_controller_revision_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   grace_period_secondsorphan_dependentspropagation_policyr   r   r    r!   r   zWGot an unexpected keyword argument '%s' to method delete_namespaced_controller_revisionr   NzZMissing the required parameter `name` when calling `delete_namespaced_controller_revision`r   z_Missing the required parameter `namespace` when calling `delete_namespaced_controller_revision`r   r   r"   r   gracePeriodSecondsr   orphanDependentsr   propagationPolicyr   r$   r(   r)   r*   r+   D/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}rs   rt   Tr/   r5   r   r   r   r   r>   r?   r@   rA   r4   rB   rC   rD   rE   rF   rG   r3   s                   r   r   zCAppsV1beta2Api.delete_namespaced_controller_revision_with_http_info  s   XJ k"./()()XFfX./S	J	 K  	 fSk 0 	xf&."8
f  	6!vk':'B
k  K"6Nk&f!'!4k+L68VH%567F8VI%678'(>!?
@Bf$-v6I/JKLv%.7K0LMNMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##N #**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a)	  
        delete a DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_daemon_set(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   +delete_namespaced_daemon_set_with_http_infor   s        r   delete_namespaced_daemon_setz+AppsV1beta2Api.delete_namespaced_daemon_set,  e    R (,F#$zz+=T==
	%#% % @t??
	%#%tkr   c                 
   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |       S )!a8	  
        delete a DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_daemon_set_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zNGot an unexpected keyword argument '%s' to method delete_namespaced_daemon_setr   NzQMissing the required parameter `name` when calling `delete_namespaced_daemon_set`r   zVMissing the required parameter `namespace` when calling `delete_namespaced_daemon_set`r   r   r"   r   r   r   r   r   r   r   r$   r(   r)   r*   r+   ;/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}rs   rt   Tr/   r5   r   s                   r   r   z:AppsV1beta2Api.delete_namespaced_daemon_set_with_http_info^  s   VJ k"./()()XFfX./S	J	 BDGH I 	IfSk	 0
 	xf&."8
]  	6!vk':'B
b  K"6Nk&f!'!4k+L68VH%567F8VI%678'(>!?
@Bf$-v6I/JKLv%.7K0LMNMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##E #**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a+	  
        delete a Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_deployment(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   +delete_namespaced_deployment_with_http_infor   s        r   delete_namespaced_deploymentz+AppsV1beta2Api.delete_namespaced_deployment  r   r   c                 
   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |       S )!a:	  
        delete a Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_deployment_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zNGot an unexpected keyword argument '%s' to method delete_namespaced_deploymentr   NzQMissing the required parameter `name` when calling `delete_namespaced_deployment`r   zVMissing the required parameter `namespace` when calling `delete_namespaced_deployment`r   r   r"   r   r   r   r   r   r   r   r$   r(   r)   r*   r+   </apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}rs   rt   Tr/   r5   r   s                   r   r   z:AppsV1beta2Api.delete_namespaced_deployment_with_http_info	  s   VJ k"./()()XFfX./S	J	 BDGH I 	IfSk	 0
 	xf&."8
]  	6!vk':'B
b  K"6Nk&f!'!4k+L68VH%567F8VI%678'(>!?
@Bf$-v6I/JKLv%.7K0LMNMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##F #**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a,	  
        delete a ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_replica_set(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   ,delete_namespaced_replica_set_with_http_infor   s        r   delete_namespaced_replica_setz,AppsV1beta2Api.delete_namespaced_replica_set	  se    R (,F#$zz+>T>>
	%#% % At@@
	%#%tkr   c                 
   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |       S )!a;	  
        delete a ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_replica_set_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zOGot an unexpected keyword argument '%s' to method delete_namespaced_replica_setr   NzRMissing the required parameter `name` when calling `delete_namespaced_replica_set`r   zWMissing the required parameter `namespace` when calling `delete_namespaced_replica_set`r   r   r"   r   r   r   r   r   r   r   r$   r(   r)   r*   r+   </apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}rs   rt   Tr/   r5   r   s                   r   r   z;AppsV1beta2Api.delete_namespaced_replica_set_with_http_info	  s   VJ k"./()()XFfX./S	J	 CEHI J 	JfSk	 0
 	xf&."8
^  	6!vk':'B
c  K"6Nk&f!'!4k+L68VH%567F8VI%678'(>!?
@Bf$-v6I/JKLv%.7K0LMNMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##F #**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a/	  
        delete a StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_stateful_set(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   -delete_namespaced_stateful_set_with_http_infor   s        r   delete_namespaced_stateful_setz-AppsV1beta2Api.delete_namespaced_stateful_set?
  se    R (,F#$zz+?T??
	%#% % BtAA
	%#%tkr   c                 
   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |       S )!a>	  
        delete a StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_namespaced_stateful_set_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 V1DeleteOptions body:
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :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. Acceptable
        values are: 'Orphan' - orphan the dependents; 'Background' - allow the
        garbage collector to delete the dependents in the background;
        'Foreground' - a cascading policy that deletes all dependents in the
        foreground.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zPGot an unexpected keyword argument '%s' to method delete_namespaced_stateful_setr   NzSMissing the required parameter `name` when calling `delete_namespaced_stateful_set`r   zXMissing the required parameter `namespace` when calling `delete_namespaced_stateful_set`r   r   r"   r   r   r   r   r   r   r   r$   r(   r)   r*   r+   =/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}rs   rt   Tr/   r5   r   s                   r   r   z<AppsV1beta2Api.delete_namespaced_stateful_set_with_http_infoq
  s   VJ k"./()()XFfX./S	J	 DFIJ K 	KfSk	 0
 	xf&."8
_  	6!vk':'B
d  K"6Nk&f!'!4k+L68VH%567F8VI%678'(>!?
@Bf$-v6I/JKLv%.7K0LMNMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##G #**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|S )a  
        get available resources
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_api_resources(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :return: V1APIResourceList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r    )r    get_api_resources_with_http_infor   r   r   s      r   get_api_resourcesz AppsV1beta2Api.get_api_resources
  sK     (,F#$zz+2T22<V<<4t44>v>tkr   c                 r   g }|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }i }	g }
i }d}| j                  j                  g d      |	d	<   | j                  j                  g d      |	d
<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        get available resources
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.get_api_resources_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :return: V1APIResourceList
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r    r!   r   zCGot an unexpected keyword argument '%s' to method get_api_resourcesNr$   r(   r*   r+   z/apis/apps/v1beta2/GETV1APIResourceListTr/   	r6   r7   r   r8   r   r:   r;   r<   r   r   r   r>   r?   r@   rA   r4   rB   rC   rD   rE   rF   rG   r3   s                 r   r   z/AppsV1beta2Api.get_api_resources_with_http_info  ss    Jk"./()()XFfX./S	J	 79<= > 	>fSk	 0
 	xKLMKOK"oolm ( %)OO""#rs .! #OM??##)#**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|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 pass async_req=True
        >>> thread =
        api.list_controller_revision_for_all_namespaces(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2ControllerRevisionList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   r   )r   :list_controller_revision_for_all_namespaces_with_http_infor   s      r   +list_controller_revision_for_all_namespacesz:AppsV1beta2Api.list_controller_revision_for_all_namespacesH  s[    L (,F#$zz+LTLL   OtNN tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }d|v r|j                  d	|d   f       d
|v r|j                  d|d
   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   | j                  j                  dg      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  d      |      S ) a2  
        list or watch objects of kind ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.list_controller_revision_for_all_namespaces_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2ControllerRevisionList
                 If the method is called asynchronously,
                 returns the request thread.
        rg   rh   ri   rj   r   rk   rl   rm   r   r   r    r!   r   z]Got an unexpected keyword argument '%s' to method list_controller_revision_for_all_namespacesrg   rn   rh   ro   ri   rp   rj   r   rk   rq   rl   rr   rm   Nr%   r&   r'   zapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchr(   r)   r*   r+   z&/apis/apps/v1beta2/controllerrevisionsr   V1beta2ControllerRevisionListTr/   r   r   s                 r   r   zIAppsV1beta2Api.list_controller_revision_for_all_namespaces_with_http_info  s   PJ k"./()()XFfX./S	J	EGJKL 	L fSk 0 	xKLf:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O4568VH%567V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##05#**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|S )a   
        list or watch objects of kind DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_daemon_set_for_all_namespaces(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2DaemonSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   r   )r   1list_daemon_set_for_all_namespaces_with_http_infor   s      r   "list_daemon_set_for_all_namespacesz1AppsV1beta2Api.list_daemon_set_for_all_namespaces)  L    J (,F#$zz+CTCCMfMMEtEEOOtkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }d|v r|j                  d	|d   f       d
|v r|j                  d|d
   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   | j                  j                  dg      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  d      |      S ) a  
        list or watch objects of kind DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.list_daemon_set_for_all_namespaces_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2DaemonSetList
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zTGot an unexpected keyword argument '%s' to method list_daemon_set_for_all_namespacesrg   rn   rh   ro   ri   rp   rj   r   rk   rq   rl   rr   rm   Nr   r(   r)   r*   r+   z/apis/apps/v1beta2/daemonsetsr   V1beta2DaemonSetListTr/   r   r   s                 r   r   z@AppsV1beta2Api.list_daemon_set_for_all_namespaces_with_http_infou  s   NJ k"./()()XFfX./S	J	 HJMN O 	OfSk	 0
 	xKLf:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O4568VH%567V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##',#**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|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 pass async_req=True
        >>> thread = api.list_deployment_for_all_namespaces(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2DeploymentList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   r   )r   1list_deployment_for_all_namespaces_with_http_infor   s      r   "list_deployment_for_all_namespacesz1AppsV1beta2Api.list_deployment_for_all_namespaces  r   r   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }d|v r|j                  d	|d   f       d
|v r|j                  d|d
   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   | j                  j                  dg      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread =
        api.list_deployment_for_all_namespaces_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2DeploymentList
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zTGot an unexpected keyword argument '%s' to method list_deployment_for_all_namespacesrg   rn   rh   ro   ri   rp   rj   r   rk   rq   rl   rr   rm   Nr   r(   r)   r*   r+   z/apis/apps/v1beta2/deploymentsr   V1beta2DeploymentListTr/   r   r   s                 r   r   z@AppsV1beta2Api.list_deployment_for_all_namespaces_with_http_infoQ  s   NJ k"./()()XFfX./S	J	 HJMN O 	OfSk	 0
 	xKLf:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O4568VH%567V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##(-#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|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 pass async_req=True
        >>> thread = api.list_namespaced_controller_revision(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2ControllerRevisionList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   2list_namespaced_controller_revision_with_http_inforc   s       r   #list_namespaced_controller_revisionz2AppsV1beta2Api.list_namespaced_controller_revision  sa    P (,F#$zz+DTDD
  GtFF
tkr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  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 pass async_req=True
        >>> thread =
        api.list_namespaced_controller_revision_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2ControllerRevisionList
                 If the method is called asynchronously,
                 returns the request thread.
        rf   r   r   r    r!   r   zUGot an unexpected keyword argument '%s' to method list_namespaced_controller_revisionr   Nz]Missing the required parameter `namespace` when calling `list_namespaced_controller_revision`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r   r(   r)   r*   r+   r,   r   r   Tr/   r5   ru   s                  r   r   zAAppsV1beta2Api.list_namespaced_controller_revision_with_http_info2  s   VJ k"./()()XFfX./S	J	 IKNO P 	PfSk	 0
 	x6!vk':'B
i  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##G5#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )ao  
        list or watch objects of kind DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_namespaced_daemon_set(namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2DaemonSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )list_namespaced_daemon_set_with_http_inforc   s       r   list_namespaced_daemon_setz)AppsV1beta2Api.list_namespaced_daemon_set  V    N (,F#$zz+;T;;IPPP=t==
tkr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        list or watch objects of kind DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_namespaced_daemon_set_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2DaemonSetList
                 If the method is called asynchronously,
                 returns the request thread.
        rf   r   r   r    r!   r   zLGot an unexpected keyword argument '%s' to method list_namespaced_daemon_setr   NzTMissing the required parameter `namespace` when calling `list_namespaced_daemon_set`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r   r(   r)   r*   r+   rM   r   r   Tr/   r5   ru   s                  r   r   z8AppsV1beta2Api.list_namespaced_daemon_set_with_http_info  s   RJ k"./()()XFfX./S	J	 @BEF G 	GfSk	 0
 	x6!vk':'B
`  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##>,#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )aq  
        list or watch objects of kind Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_namespaced_deployment(namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2DeploymentList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )list_namespaced_deployment_with_http_inforc   s       r   list_namespaced_deploymentz)AppsV1beta2Api.list_namespaced_deployment  r   r   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  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 pass async_req=True
        >>> thread = api.list_namespaced_deployment_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2DeploymentList
                 If the method is called asynchronously,
                 returns the request thread.
        rf   r   r   r    r!   r   zLGot an unexpected keyword argument '%s' to method list_namespaced_deploymentr   NzTMissing the required parameter `namespace` when calling `list_namespaced_deployment`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r   r(   r)   r*   r+   rS   r   r   Tr/   r5   ru   s                  r   r   z8AppsV1beta2Api.list_namespaced_deployment_with_http_info  s   RJ k"./()()XFfX./S	J	 @BEF G 	GfSk	 0
 	x6!vk':'B
`  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##?-#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )ar  
        list or watch objects of kind ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_namespaced_replica_set(namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2ReplicaSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   *list_namespaced_replica_set_with_http_inforc   s       r   list_namespaced_replica_setz*AppsV1beta2Api.list_namespaced_replica_set  s`    N (,F#$zz+<T<<
  ?t>>
tkr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  d      |!      S )"a  
        list or watch objects of kind ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_namespaced_replica_set_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2ReplicaSetList
                 If the method is called asynchronously,
                 returns the request thread.
        rf   r   r   r    r!   r   zMGot an unexpected keyword argument '%s' to method list_namespaced_replica_setr   NzUMissing the required parameter `namespace` when calling `list_namespaced_replica_set`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r   r(   r)   r*   r+   rY   r   V1beta2ReplicaSetListTr/   r5   ru   s                  r   r   z9AppsV1beta2Api.list_namespaced_replica_set_with_http_info  s   RJ k"./()()XFfX./S	J	 ACFG H 	HfSk	 0
 	x6!vk':'B
a  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##?-#**[)%zz*BC$6=$67- $ / /r   c                 ~    d|d<   |j                  d      r | j                  |fi |S  | j                  |fi |}|S )au  
        list or watch objects of kind StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_namespaced_stateful_set(namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2StatefulSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   +list_namespaced_stateful_set_with_http_inforc   s       r   list_namespaced_stateful_setz+AppsV1beta2Api.list_namespaced_stateful_set  sa    N (,F#$zz+=T==
  @t??
tkr   c                 T   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      i }i }d|v r|d   |d<   g }	d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       d|v r|	j                  d|d   f       i }
g }i }d	}| j
                  j                  g d      |
d<   | j
                  j                  dg      |
d<   dg}| j
                  j                  dd||	|
|||d||j                  d      |j                  d      |j                  dd       |j                  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 pass async_req=True
        >>> thread = api.list_namespaced_stateful_set_with_http_info(namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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 _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2StatefulSetList
                 If the method is called asynchronously,
                 returns the request thread.
        rf   r   r   r    r!   r   zNGot an unexpected keyword argument '%s' to method list_namespaced_stateful_setr   NzVMissing the required parameter `namespace` when calling `list_namespaced_stateful_set`r   rg   rn   rh   ro   ri   rp   rj   rk   rq   rl   rr   rm   r   r(   r)   r*   r+   r_   r   V1beta2StatefulSetListTr/   r5   ru   s                  r   r   z:AppsV1beta2Api.list_namespaced_stateful_set_with_http_info  s   RJ k"./()()XFfX./S	J	 BDGH I 	IfSk	 0
 	x6!vk':'B
b  Kf!'!4k+L68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##@.#**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|S )a  
        list or watch objects of kind ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_replica_set_for_all_namespaces(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2ReplicaSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   r   )r   2list_replica_set_for_all_namespaces_with_http_infor   s      r   #list_replica_set_for_all_namespacesz2AppsV1beta2Api.list_replica_set_for_all_namespaceso  sL    J (,F#$zz+DTDDNvNNFtFFPPtkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }d|v r|j                  d	|d   f       d
|v r|j                  d|d
   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   | j                  j                  dg      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  d      |      S ) a  
        list or watch objects of kind ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.list_replica_set_for_all_namespaces_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2ReplicaSetList
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zUGot an unexpected keyword argument '%s' to method list_replica_set_for_all_namespacesrg   rn   rh   ro   ri   rp   rj   r   rk   rq   rl   rr   rm   Nr   r(   r)   r*   r+   z/apis/apps/v1beta2/replicasetsr   r   Tr/   r   r   s                 r   r   zAAppsV1beta2Api.list_replica_set_for_all_namespaces_with_http_info  s   NJ k"./()()XFfX./S	J	 IKNO P 	PfSk	 0
 	xKLf:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O4568VH%567V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##(-#**[)%zz*BC$6=$67- $ / /r   c                 z    d|d<   |j                  d      r | j                  di |S  | j                  di |}|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 pass async_req=True
        >>> thread = api.list_stateful_set_for_all_namespaces(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2StatefulSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   r   )r   3list_stateful_set_for_all_namespaces_with_http_infor   s      r   $list_stateful_set_for_all_namespacesz3AppsV1beta2Api.list_stateful_set_for_all_namespacesK  sQ    J (,F#$zz+ETEEOOOGtGG tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= i }i }g }d|v r|j                  d	|d   f       d
|v r|j                  d|d
   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   | j                  j                  dg      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread =
        api.list_stateful_set_for_all_namespaces_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str _continue: The continue option should be set when retrieving
        more results from the server. Since this value is server defined,
        clients may only use the continue value from a previous query result
        with identical query parameters (except for the value of continue) and
        the server may reject a continue value it does not recognize. If the
        specified continue value is no longer valid whether due to expiration
        (generally five to fifteen minutes) or a configuration change on the
        server, the server will respond with a 410 ResourceExpired error
        together with a continue token. If the client needs a consistent list,
        it must restart their list without the continue field. Otherwise, the
        client may send another list request with the token received with the
        410 error, the server will respond with a list starting from the next
        key, but from the latest snapshot, which is inconsistent from the
        previous list results - objects that are created, modified, or deleted
        after the first list request will be included in the response, as long
        as their keys are after the "next key".  This field is not supported
        when watch is true. Clients may start a watch from the last
        resourceVersion value returned by the server and not miss any
        modifications.
        :param str field_selector: A selector to restrict the list of returned
        objects by their fields. Defaults to everything.
        :param str label_selector: A selector to restrict the list of returned
        objects by their labels. Defaults to everything.
        :param int limit: limit is a maximum number of responses to return for a
        list call. If more items exist, the server will set the `continue` field
        on the list metadata to a value that can be used with the same initial
        query to retrieve the next set of results. Setting a limit may return
        fewer than the requested amount of items (up to zero items) in the event
        all requested objects are filtered out and clients should only use the
        presence of the continue field to determine whether more results are
        available. Servers may choose not to support the limit argument and will
        return all of the available results. If limit is specified and the
        continue field is empty, clients may assume that no more results are
        available. This field is not supported if watch is true.  The server
        guarantees that the objects returned when using continue will be
        identical to issuing a single list call without a limit - that is, no
        objects created, modified, or deleted after the first request is issued
        will be included in any subsequent continued requests. This is sometimes
        referred to as a consistent snapshot, and ensures that a client that is
        using limit to receive smaller chunks of a very large result can ensure
        they see all possible objects. If objects are updated during a chunked
        list the version of the object that was present at the time the first
        list result was calculated is returned.
        :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. This limits
        the duration of the call, regardless of any activity or inactivity.
        :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: V1beta2StatefulSetList
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zVGot an unexpected keyword argument '%s' to method list_stateful_set_for_all_namespacesrg   rn   rh   ro   ri   rp   rj   r   rk   rq   rl   rr   rm   Nr   r(   r)   r*   r+   z/apis/apps/v1beta2/statefulsetsr   r   Tr/   r   r   s                 r   r   zBAppsV1beta2Api.list_stateful_set_for_all_namespaces_with_http_info  s   NJ k"./()()XFfX./S	J	 JLOP Q 	QfSk	 0
 	xKLf:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O4568VH%567V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##).#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update the specified ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_controller_revision(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   3patch_namespaced_controller_revision_with_http_infor   r   r   r   r   r   s         r   $patch_namespaced_controller_revisionz3AppsV1beta2Api.patch_namespaced_controller_revision(  i    B (,F#$zz+ETEE
	4+#)+ + HtGG
	4+#)+tkr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update the specified ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.patch_namespaced_controller_revision_with_http_info(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   forcer   r   r    r!   r   zVGot an unexpected keyword argument '%s' to method patch_namespaced_controller_revisionr   NzYMissing the required parameter `name` when calling `patch_namespaced_controller_revision`r   z^Missing the required parameter `namespace` when calling `patch_namespaced_controller_revision`r   zYMissing the required parameter `body` when calling `patch_namespaced_controller_revision`r   r   r"   r   r#   r   r$   r(   zapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonr*   r+   r   PATCHr.   Tr/   r5   r   r   r   r   r   r>   r?   r@   rA   r4   rB   rC   rD   rE   rF   rG   r3   s                    r   r   zBAppsV1beta2Api.patch_namespaced_controller_revision_with_http_infoR  s   FJ k"./()()XFfX./S	J	 JLOP Q 	QfSk	 0
 	xf&."8
e  	6!vk':'B
j  	f&."8
e  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##N1#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_daemon_set(name, namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   *patch_namespaced_daemon_set_with_http_infor   s         r   patch_namespaced_daemon_setz*AppsV1beta2Api.patch_namespaced_daemon_set  h    @ (,F#$zz+<T<<
	4+#)+ + ?t>>
	4+#)+tkr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_daemon_set_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zMGot an unexpected keyword argument '%s' to method patch_namespaced_daemon_setr   NzPMissing the required parameter `name` when calling `patch_namespaced_daemon_set`r   zUMissing the required parameter `namespace` when calling `patch_namespaced_daemon_set`r   zPMissing the required parameter `body` when calling `patch_namespaced_daemon_set`r   r   r"   r   r#   r   r$   r(   r   r*   r+   r   r   rN   Tr/   r5   r   s                    r   r   z9AppsV1beta2Api.patch_namespaced_daemon_set_with_http_info  s   DJ k"./()()XFfX./S	J	 ACFG H 	HfSk	 0
 	xf&."8
\  	6!vk':'B
a  	f&."8
\  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##E(#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update status of the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_daemon_set_status(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   1patch_namespaced_daemon_set_status_with_http_infor   s         r   "patch_namespaced_daemon_set_statusz1AppsV1beta2Api.patch_namespaced_daemon_set_statusl  i    @ (,F#$zz+CTCC
	4+#)+ + FtEE
	4+#)+tkr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update status of the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_daemon_set_status_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zTGot an unexpected keyword argument '%s' to method patch_namespaced_daemon_set_statusr   NzWMissing the required parameter `name` when calling `patch_namespaced_daemon_set_status`r   z\Missing the required parameter `namespace` when calling `patch_namespaced_daemon_set_status`r   zWMissing the required parameter `body` when calling `patch_namespaced_daemon_set_status`r   r   r"   r   r#   r   r$   r(   r   r*   r+   B/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/statusr   rN   Tr/   r5   r   s                    r   r   z@AppsV1beta2Api.patch_namespaced_daemon_set_status_with_http_info  s   DJ k"./()()XFfX./S	J	 HJMN O 	OfSk	 0
 	xf&."8
c  	6!vk':'B
h  	f&."8
c  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##L(#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_deployment(name, namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   *patch_namespaced_deployment_with_http_infor   s         r   patch_namespaced_deploymentz*AppsV1beta2Api.patch_namespaced_deployment  r   r   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_deployment_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zMGot an unexpected keyword argument '%s' to method patch_namespaced_deploymentr   NzPMissing the required parameter `name` when calling `patch_namespaced_deployment`r   zUMissing the required parameter `namespace` when calling `patch_namespaced_deployment`r   zPMissing the required parameter `body` when calling `patch_namespaced_deployment`r   r   r"   r   r#   r   r$   r(   r   r*   r+   r   r   rT   Tr/   r5   r   s                    r   r   z9AppsV1beta2Api.patch_namespaced_deployment_with_http_info6  s   DJ k"./()()XFfX./S	J	 ACFG H 	HfSk	 0
 	xf&."8
\  	6!vk':'B
a  	f&."8
\  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##F)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|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 pass async_req=True
        >>> thread = api.patch_namespaced_deployment_scale(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   0patch_namespaced_deployment_scale_with_http_infor   s         r   !patch_namespaced_deployment_scalez0AppsV1beta2Api.patch_namespaced_deployment_scale  si    @ (,F#$zz+BTBB
	4+#)+ + EtDD
	4+#)+tkr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread = api.patch_namespaced_deployment_scale_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zSGot an unexpected keyword argument '%s' to method patch_namespaced_deployment_scaler   NzVMissing the required parameter `name` when calling `patch_namespaced_deployment_scale`r   z[Missing the required parameter `namespace` when calling `patch_namespaced_deployment_scale`r   zVMissing the required parameter `body` when calling `patch_namespaced_deployment_scale`r   r   r"   r   r#   r   r$   r(   r   r*   r+   B/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scaler   V1beta2ScaleTr/   r5   r   s                    r   r  z?AppsV1beta2Api.patch_namespaced_deployment_scale_with_http_info  s   DJ k"./()()XFfX./S	J	 GILM N 	NfSk	 0
 	xf&."8
b  	6!vk':'B
g  	f&."8
b  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##L$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|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 pass async_req=True
        >>> thread = api.patch_namespaced_deployment_status(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   1patch_namespaced_deployment_status_with_http_infor   s         r   "patch_namespaced_deployment_statusz1AppsV1beta2Api.patch_namespaced_deployment_statusO  r   r   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread = api.patch_namespaced_deployment_status_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zTGot an unexpected keyword argument '%s' to method patch_namespaced_deployment_statusr   NzWMissing the required parameter `name` when calling `patch_namespaced_deployment_status`r   z\Missing the required parameter `namespace` when calling `patch_namespaced_deployment_status`r   zWMissing the required parameter `body` when calling `patch_namespaced_deployment_status`r   r   r"   r   r#   r   r$   r(   r   r*   r+   C/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/statusr   rT   Tr/   r5   r   s                    r   r  z@AppsV1beta2Api.patch_namespaced_deployment_status_with_http_infox  s   DJ k"./()()XFfX./S	J	 HJMN O 	OfSk	 0
 	xf&."8
c  	6!vk':'B
h  	f&."8
c  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##M)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_replica_set(name, namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   +patch_namespaced_replica_set_with_http_infor   s         r   patch_namespaced_replica_setz+AppsV1beta2Api.patch_namespaced_replica_set  si    @ (,F#$zz+=T==
	4+#)+ + @t??
	4+#)+tkr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_replica_set_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zNGot an unexpected keyword argument '%s' to method patch_namespaced_replica_setr   NzQMissing the required parameter `name` when calling `patch_namespaced_replica_set`r   zVMissing the required parameter `namespace` when calling `patch_namespaced_replica_set`r   zQMissing the required parameter `body` when calling `patch_namespaced_replica_set`r   r   r"   r   r#   r   r$   r(   r   r*   r+   r   r   rZ   Tr/   r5   r   s                    r   r  z:AppsV1beta2Api.patch_namespaced_replica_set_with_http_info  s   DJ k"./()()XFfX./S	J	 BDGH I 	IfSk	 0
 	xf&."8
]  	6!vk':'B
b  	f&."8
]  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##F)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update scale of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_replica_set_scale(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   1patch_namespaced_replica_set_scale_with_http_infor   s         r   "patch_namespaced_replica_set_scalez1AppsV1beta2Api.patch_namespaced_replica_set_scale  r   r   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update scale of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_replica_set_scale_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zTGot an unexpected keyword argument '%s' to method patch_namespaced_replica_set_scaler   NzWMissing the required parameter `name` when calling `patch_namespaced_replica_set_scale`r   z\Missing the required parameter `namespace` when calling `patch_namespaced_replica_set_scale`r   zWMissing the required parameter `body` when calling `patch_namespaced_replica_set_scale`r   r   r"   r   r#   r   r$   r(   r   r*   r+   B/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scaler   r  Tr/   r5   r   s                    r   r  z@AppsV1beta2Api.patch_namespaced_replica_set_scale_with_http_info  s   DJ k"./()()XFfX./S	J	 HJMN O 	OfSk	 0
 	xf&."8
c  	6!vk':'B
h  	f&."8
c  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##L$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update status of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_replica_set_status(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   2patch_namespaced_replica_set_status_with_http_infor   s         r   #patch_namespaced_replica_set_statusz2AppsV1beta2Api.patch_namespaced_replica_set_status2  i    B (,F#$zz+DTDD
	4+#)+ + GtFF
	4+#)+tkr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update status of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.patch_namespaced_replica_set_status_with_http_info(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zUGot an unexpected keyword argument '%s' to method patch_namespaced_replica_set_statusr   NzXMissing the required parameter `name` when calling `patch_namespaced_replica_set_status`r   z]Missing the required parameter `namespace` when calling `patch_namespaced_replica_set_status`r   zXMissing the required parameter `body` when calling `patch_namespaced_replica_set_status`r   r   r"   r   r#   r   r$   r(   r   r*   r+   C/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/statusr   rZ   Tr/   r5   r   s                    r   r  zAAppsV1beta2Api.patch_namespaced_replica_set_status_with_http_info\  s   FJ k"./()()XFfX./S	J	 IKNO P 	PfSk	 0
 	xf&."8
d  	6!vk':'B
i  	f&."8
d  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##M)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_stateful_set(name, namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   ,patch_namespaced_stateful_set_with_http_infor   s         r   patch_namespaced_stateful_setz,AppsV1beta2Api.patch_namespaced_stateful_set  si    @ (,F#$zz+>T>>
	4+#)+ + At@@
	4+#)+tkr   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_stateful_set_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zOGot an unexpected keyword argument '%s' to method patch_namespaced_stateful_setr   NzRMissing the required parameter `name` when calling `patch_namespaced_stateful_set`r   zWMissing the required parameter `namespace` when calling `patch_namespaced_stateful_set`r   zRMissing the required parameter `body` when calling `patch_namespaced_stateful_set`r   r   r"   r   r#   r   r$   r(   r   r*   r+   r   r   r`   Tr/   r5   r   s                    r   r  z;AppsV1beta2Api.patch_namespaced_stateful_set_with_http_info  s   DJ k"./()()XFfX./S	J	 CEHI J 	JfSk	 0
 	xf&."8
^  	6!vk':'B
c  	f&."8
^  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##G*#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        partially update scale of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.patch_namespaced_stateful_set_scale(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   2patch_namespaced_stateful_set_scale_with_http_infor   s         r   #patch_namespaced_stateful_set_scalez2AppsV1beta2Api.patch_namespaced_stateful_set_scalev  r  r   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        partially update scale of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.patch_namespaced_stateful_set_scale_with_http_info(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zUGot an unexpected keyword argument '%s' to method patch_namespaced_stateful_set_scaler   NzXMissing the required parameter `name` when calling `patch_namespaced_stateful_set_scale`r   z]Missing the required parameter `namespace` when calling `patch_namespaced_stateful_set_scale`r   zXMissing the required parameter `body` when calling `patch_namespaced_stateful_set_scale`r   r   r"   r   r#   r   r$   r(   r   r*   r+   C/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scaler   r  Tr/   r5   r   s                    r   r  zAAppsV1beta2Api.patch_namespaced_stateful_set_scale_with_http_info  s   FJ k"./()()XFfX./S	J	 IKNO P 	PfSk	 0
 	xf&."8
d  	6!vk':'B
i  	f&."8
d  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##M$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|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 pass async_req=True
        >>> thread = api.patch_namespaced_stateful_set_status(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   3patch_namespaced_stateful_set_status_with_http_infor   s         r   $patch_namespaced_stateful_set_statusz3AppsV1beta2Api.patch_namespaced_stateful_set_status  r   r   c                     g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread =
        api.patch_namespaced_stateful_set_status_with_http_info(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint. This field is
        required for apply requests (application/apply-patch) but optional for
        non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
        :param bool force: Force is going to "force" Apply requests. It means
        user will re-acquire conflicting fields owned by other people. Force
        flag must be unset for non-apply patch requests.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r    r!   r   zVGot an unexpected keyword argument '%s' to method patch_namespaced_stateful_set_statusr   NzYMissing the required parameter `name` when calling `patch_namespaced_stateful_set_status`r   z^Missing the required parameter `namespace` when calling `patch_namespaced_stateful_set_status`r   zYMissing the required parameter `body` when calling `patch_namespaced_stateful_set_status`r   r   r"   r   r#   r   r$   r(   r   r*   r+   D/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/statusr   r`   Tr/   r5   r   s                    r   r$  zBAppsV1beta2Api.patch_namespaced_stateful_set_status_with_http_infoC  s   FJ k"./()()XFfX./S	J	 JLOP Q 	QfSk	 0
 	xf&."8
e  	6!vk':'B
j  	f&."8
e  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##N*#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )aB  
        read the specified ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_controller_revision(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   2read_namespaced_controller_revision_with_http_infor   s        r   #read_namespaced_controller_revisionz2AppsV1beta2Api.read_namespaced_controller_revision  sd    . (,F#$zz+DTDD
	%#% % GtFF
	%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )aY  
        read the specified ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.read_namespaced_controller_revision_with_http_info(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   exactexportr   r   r    r!   r   zUGot an unexpected keyword argument '%s' to method read_namespaced_controller_revisionr   NzXMissing the required parameter `name` when calling `read_namespaced_controller_revision`r   z]Missing the required parameter `namespace` when calling `read_namespaced_controller_revision`r   r-  r.  r$   r(   r)   r*   r+   r   r   r.   Tr/   r5   r   s                   r   r)  zAAppsV1beta2Api.read_namespaced_controller_revision_with_http_info  sL   4 DJk"./()()XFfX./S	J	 IKNO P 	PfSk	 0
 	xf&."8
d  	6!vk':'B
i  K"6Nk&f!'!4k+L68VH%567&7F7O4568VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##N1#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_daemon_set(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )read_namespaced_daemon_set_with_http_infor   s        r   read_namespaced_daemon_setz)AppsV1beta2Api.read_namespaced_daemon_set@  c    . (,F#$zz+;T;;
	%#% % >t==
	%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a-  
        read the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_daemon_set_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        r,  r   r   r    r!   r   zLGot an unexpected keyword argument '%s' to method read_namespaced_daemon_setr   NzOMissing the required parameter `name` when calling `read_namespaced_daemon_set`r   zTMissing the required parameter `namespace` when calling `read_namespaced_daemon_set`r   r-  r.  r$   r(   r)   r*   r+   r   r   rN   Tr/   r5   r   s                   r   r0  z8AppsV1beta2Api.read_namespaced_daemon_set_with_http_info`  sL   2 DJk"./()()XFfX./S	J	 @BEF G 	GfSk	 0
 	xf&."8
[  	6!vk':'B
`  K"6Nk&f!'!4k+L68VH%567&7F7O4568VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##E(#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read status of the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_daemon_set_status(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   0read_namespaced_daemon_set_status_with_http_infor   s        r   !read_namespaced_daemon_set_statusz0AppsV1beta2Api.read_namespaced_daemon_set_status  d    $ (,F#$zz+BTBB
	%#% % EtDD
	%#%tkr   c                 (   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        read status of the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_daemon_set_status_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (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: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r    r!   r   zSGot an unexpected keyword argument '%s' to method read_namespaced_daemon_set_statusr   NzVMissing the required parameter `name` when calling `read_namespaced_daemon_set_status`r   z[Missing the required parameter `namespace` when calling `read_namespaced_daemon_set_status`r   r$   r(   r)   r*   r+   r   r   rN   Tr/   r5   r   s                   r   r5  z?AppsV1beta2Api.read_namespaced_daemon_set_status_with_http_info  s   ( 1Jk"./()()XFfX./S	J	 GILM N 	NfSk	 0
 	xf&."8
b  	6!vk':'B
g  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##L(#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a!  
        read the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_deployment(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   )read_namespaced_deployment_with_http_infor   s        r   read_namespaced_deploymentz)AppsV1beta2Api.read_namespaced_deployment8  r2  r   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a0  
        read the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_deployment_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        r,  r   r   r    r!   r   zLGot an unexpected keyword argument '%s' to method read_namespaced_deploymentr   NzOMissing the required parameter `name` when calling `read_namespaced_deployment`r   zTMissing the required parameter `namespace` when calling `read_namespaced_deployment`r   r-  r.  r$   r(   r)   r*   r+   r   r   rT   Tr/   r5   r   s                   r   r;  z8AppsV1beta2Api.read_namespaced_deployment_with_http_infoX  sL   2 DJk"./()()XFfX./S	J	 @BEF G 	GfSk	 0
 	xf&."8
[  	6!vk':'B
`  K"6Nk&f!'!4k+L68VH%567&7F7O4568VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##F)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read scale of the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_deployment_scale(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   /read_namespaced_deployment_scale_with_http_infor   s        r    read_namespaced_deployment_scalez/AppsV1beta2Api.read_namespaced_deployment_scale  sd    $ (,F#$zz+ATAA
	%#% % DtCC
	%#%tkr   c                 (   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread = api.read_namespaced_deployment_scale_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        r9  r   r   r    r!   r   zRGot an unexpected keyword argument '%s' to method read_namespaced_deployment_scaler   NzUMissing the required parameter `name` when calling `read_namespaced_deployment_scale`r   zZMissing the required parameter `namespace` when calling `read_namespaced_deployment_scale`r   r$   r(   r)   r*   r+   r  r   r  Tr/   r5   r   s                   r   r?  z>AppsV1beta2Api.read_namespaced_deployment_scale_with_http_info  s   ( 1Jk"./()()XFfX./S	J	 FHKL M 	MfSk	 0
 	xf&."8
a  	6!vk':'B
f  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##L$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read status of the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_deployment_status(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   0read_namespaced_deployment_status_with_http_infor   s        r   !read_namespaced_deployment_statusz0AppsV1beta2Api.read_namespaced_deployment_status0  r7  r   c                 (   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread = api.read_namespaced_deployment_status_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        r9  r   r   r    r!   r   zSGot an unexpected keyword argument '%s' to method read_namespaced_deployment_statusr   NzVMissing the required parameter `name` when calling `read_namespaced_deployment_status`r   z[Missing the required parameter `namespace` when calling `read_namespaced_deployment_status`r   r$   r(   r)   r*   r+   r
  r   rT   Tr/   r5   r   s                   r   rC  z?AppsV1beta2Api.read_namespaced_deployment_status_with_http_infoK  s   ( 1Jk"./()()XFfX./S	J	 GILM N 	NfSk	 0
 	xf&."8
b  	6!vk':'B
g  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##M)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a"  
        read the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_replica_set(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   *read_namespaced_replica_set_with_http_infor   s        r   read_namespaced_replica_setz*AppsV1beta2Api.read_namespaced_replica_set  sc    . (,F#$zz+<T<<
	%#% % ?t>>
	%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a1  
        read the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_replica_set_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        r,  r   r   r    r!   r   zMGot an unexpected keyword argument '%s' to method read_namespaced_replica_setr   NzPMissing the required parameter `name` when calling `read_namespaced_replica_set`r   zUMissing the required parameter `namespace` when calling `read_namespaced_replica_set`r   r-  r.  r$   r(   r)   r*   r+   r   r   rZ   Tr/   r5   r   s                   r   rG  z9AppsV1beta2Api.read_namespaced_replica_set_with_http_info  sL   2 DJk"./()()XFfX./S	J	 ACFG H 	HfSk	 0
 	xf&."8
\  	6!vk':'B
a  K"6Nk&f!'!4k+L68VH%567&7F7O4568VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##F)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read scale of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_replica_set_scale(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   0read_namespaced_replica_set_scale_with_http_infor   s        r   !read_namespaced_replica_set_scalez0AppsV1beta2Api.read_namespaced_replica_set_scale(  r7  r   c                 (   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        read scale of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_replica_set_scale_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        r9  r   r   r    r!   r   zSGot an unexpected keyword argument '%s' to method read_namespaced_replica_set_scaler   NzVMissing the required parameter `name` when calling `read_namespaced_replica_set_scale`r   z[Missing the required parameter `namespace` when calling `read_namespaced_replica_set_scale`r   r$   r(   r)   r*   r+   r  r   r  Tr/   r5   r   s                   r   rK  z?AppsV1beta2Api.read_namespaced_replica_set_scale_with_http_infoC  s   ( 1Jk"./()()XFfX./S	J	 GILM N 	NfSk	 0
 	xf&."8
b  	6!vk':'B
g  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##L$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read status of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_replica_set_status(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   1read_namespaced_replica_set_status_with_http_infor   s        r   "read_namespaced_replica_set_statusz1AppsV1beta2Api.read_namespaced_replica_set_status  d    $ (,F#$zz+CTCC
	%#% % FtEE
	%#%tkr   c                 (   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        read status of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_replica_set_status_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (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: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        r9  r   r   r    r!   r   zTGot an unexpected keyword argument '%s' to method read_namespaced_replica_set_statusr   NzWMissing the required parameter `name` when calling `read_namespaced_replica_set_status`r   z\Missing the required parameter `namespace` when calling `read_namespaced_replica_set_status`r   r$   r(   r)   r*   r+   r  r   rZ   Tr/   r5   r   s                   r   rO  z@AppsV1beta2Api.read_namespaced_replica_set_status_with_http_info  s   ( 1Jk"./()()XFfX./S	J	 HJMN O 	OfSk	 0
 	xf&."8
c  	6!vk':'B
h  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##M)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a&  
        read the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_stateful_set(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   +read_namespaced_stateful_set_with_http_infor   s        r   read_namespaced_stateful_setz+AppsV1beta2Api.read_namespaced_stateful_set   sd    . (,F#$zz+=T==
	%#% % @t??
	%#%tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a5  
        read the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_stateful_set_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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'. Deprecated. Planned for
        removal in 1.18.
        :param bool export: Should this value be exported.  Export strips fields
        that a user can not specify. Deprecated. Planned for removal in 1.18.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        r,  r   r   r    r!   r   zNGot an unexpected keyword argument '%s' to method read_namespaced_stateful_setr   NzQMissing the required parameter `name` when calling `read_namespaced_stateful_set`r   zVMissing the required parameter `namespace` when calling `read_namespaced_stateful_set`r   r-  r.  r$   r(   r)   r*   r+   r   r   r`   Tr/   r5   r   s                   r   rT  z:AppsV1beta2Api.read_namespaced_stateful_set_with_http_info2   sL   2 DJk"./()()XFfX./S	J	 BDGH I 	IfSk	 0
 	xf&."8
]  	6!vk':'B
b  K"6Nk&f!'!4k+L68VH%567&7F7O4568VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##G*#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read scale of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_stateful_set_scale(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   1read_namespaced_stateful_set_scale_with_http_infor   s        r   "read_namespaced_stateful_set_scalez1AppsV1beta2Api.read_namespaced_stateful_set_scale   rQ  r   c                 (   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  
        read scale of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_stateful_set_scale_with_http_info(name,
        namespace, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        r9  r   r   r    r!   r   zTGot an unexpected keyword argument '%s' to method read_namespaced_stateful_set_scaler   NzWMissing the required parameter `name` when calling `read_namespaced_stateful_set_scale`r   z\Missing the required parameter `namespace` when calling `read_namespaced_stateful_set_scale`r   r$   r(   r)   r*   r+   r"  r   r  Tr/   r5   r   s                   r   rX  z@AppsV1beta2Api.read_namespaced_stateful_set_scale_with_http_info   s   ( 1Jk"./()()XFfX./S	J	 HJMN O 	OfSk	 0
 	xf&."8
c  	6!vk':'B
h  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##M$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  ||fi |S  | j                  ||fi |}|S )a  
        read status of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.read_namespaced_stateful_set_status(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   2read_namespaced_stateful_set_status_with_http_infor   s        r   #read_namespaced_stateful_set_statusz2AppsV1beta2Api.read_namespaced_stateful_set_status
!  sd    $ (,F#$zz+DTDD
	%#% % GtFF
	%#%tkr   c                 (   g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d|v r|
j                  d|d   f       i }g }i }d	}| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread =
        api.read_namespaced_stateful_set_status_with_http_info(name, namespace,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :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: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        r9  r   r   r    r!   r   zUGot an unexpected keyword argument '%s' to method read_namespaced_stateful_set_statusr   NzXMissing the required parameter `name` when calling `read_namespaced_stateful_set_status`r   z]Missing the required parameter `namespace` when calling `read_namespaced_stateful_set_status`r   r$   r(   r)   r*   r+   r'  r   r`   Tr/   r5   r   s                   r   r\  zAAppsV1beta2Api.read_namespaced_stateful_set_status_with_http_info%!  s   * 1Jk"./()()XFfX./S	J	 IKNO P 	PfSk	 0
 	xf&."8
d  	6!vk':'B
i  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##N*#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a  
        replace the specified ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_controller_revision(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ControllerRevision (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ControllerRevision body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   5replace_namespaced_controller_revision_with_http_infor   s         r   &replace_namespaced_controller_revisionz5AppsV1beta2Api.replace_namespaced_controller_revision!  sh    8 (,F#$zz+GTGG
	4+#)+ + JtII
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        replace the specified ControllerRevision
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.replace_namespaced_controller_revision_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ControllerRevision (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ControllerRevision body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   r   r   r    r!   r   zXGot an unexpected keyword argument '%s' to method replace_namespaced_controller_revisionr   Nz[Missing the required parameter `name` when calling `replace_namespaced_controller_revision`r   z`Missing the required parameter `namespace` when calling `replace_namespaced_controller_revision`r   z[Missing the required parameter `body` when calling `replace_namespaced_controller_revision`r   r   r"   r   r#   r$   r(   r)   r*   r+   r   PUTr.   Tr/   r5   r   s                    r   r`  zDAppsV1beta2Api.replace_namespaced_controller_revision_with_http_info!  s   <J k"./()()XFfX./S	J	 L  	 fSk 0 	xf&."8
g  	6!vk':'B
l  	f&."8
g  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##N1#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a\  
        replace the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_daemon_set(name, namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   ,replace_namespaced_daemon_set_with_http_infor   s         r   replace_namespaced_daemon_setz,AppsV1beta2Api.replace_namespaced_daemon_set"  h    6 (,F#$zz+>T>>
	4+#)+ + At@@
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ak  
        replace the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_daemon_set_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zOGot an unexpected keyword argument '%s' to method replace_namespaced_daemon_setr   NzRMissing the required parameter `name` when calling `replace_namespaced_daemon_set`r   zWMissing the required parameter `namespace` when calling `replace_namespaced_daemon_set`r   zRMissing the required parameter `body` when calling `replace_namespaced_daemon_set`r   r   r"   r   r#   r$   r(   r)   r*   r+   r   rd  rN   Tr/   r5   r   s                    r   rf  z;AppsV1beta2Api.replace_namespaced_daemon_set_with_http_info;"  s   :J k"./()()XFfX./S	J	 CEHI J 	JfSk	 0
 	xf&."8
^  	6!vk':'B
c  	f&."8
^  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##E(#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )am  
        replace status of the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_daemon_set_status(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   3replace_namespaced_daemon_set_status_with_http_infor   s         r   $replace_namespaced_daemon_set_statusz3AppsV1beta2Api.replace_namespaced_daemon_set_status"  h    8 (,F#$zz+ETEE
	4+#)+ + HtGG
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  
        replace status of the specified DaemonSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.replace_namespaced_daemon_set_status_with_http_info(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the DaemonSet (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zVGot an unexpected keyword argument '%s' to method replace_namespaced_daemon_set_statusr   NzYMissing the required parameter `name` when calling `replace_namespaced_daemon_set_status`r   z^Missing the required parameter `namespace` when calling `replace_namespaced_daemon_set_status`r   zYMissing the required parameter `body` when calling `replace_namespaced_daemon_set_status`r   r   r"   r   r#   r$   r(   r)   r*   r+   r   rd  rN   Tr/   r5   r   s                    r   rk  zBAppsV1beta2Api.replace_namespaced_daemon_set_status_with_http_info"  s   <J k"./()()XFfX./S	J	 JLOP Q 	QfSk	 0
 	xf&."8
e  	6!vk':'B
j  	f&."8
e  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##L(#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a`  
        replace the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_deployment(name, namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Deployment (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   ,replace_namespaced_deployment_with_http_infor   s         r   replace_namespaced_deploymentz,AppsV1beta2Api.replace_namespaced_deploymentA#  rh  r   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ao  
        replace the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_deployment_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Deployment (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zOGot an unexpected keyword argument '%s' to method replace_namespaced_deploymentr   NzRMissing the required parameter `name` when calling `replace_namespaced_deployment`r   zWMissing the required parameter `namespace` when calling `replace_namespaced_deployment`r   zRMissing the required parameter `body` when calling `replace_namespaced_deployment`r   r   r"   r   r#   r$   r(   r)   r*   r+   r   rd  rT   Tr/   r5   r   s                    r   rp  z;AppsV1beta2Api.replace_namespaced_deployment_with_http_infoe#  s   :J k"./()()XFfX./S	J	 CEHI J 	JfSk	 0
 	xf&."8
^  	6!vk':'B
c  	f&."8
^  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##F)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a`  
        replace scale of the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_deployment_scale(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   2replace_namespaced_deployment_scale_with_http_infor   s         r   #replace_namespaced_deployment_scalez2AppsV1beta2Api.replace_namespaced_deployment_scale#  sh    8 (,F#$zz+DTDD
	4+#)+ + GtFF
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )aw  
        replace scale of the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.replace_namespaced_deployment_scale_with_http_info(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zUGot an unexpected keyword argument '%s' to method replace_namespaced_deployment_scaler   NzXMissing the required parameter `name` when calling `replace_namespaced_deployment_scale`r   z]Missing the required parameter `namespace` when calling `replace_namespaced_deployment_scale`r   zXMissing the required parameter `body` when calling `replace_namespaced_deployment_scale`r   r   r"   r   r#   r$   r(   r)   r*   r+   r  rd  r  Tr/   r5   r   s                    r   rt  zAAppsV1beta2Api.replace_namespaced_deployment_scale_with_http_info#  s   <J k"./()()XFfX./S	J	 IKNO P 	PfSk	 0
 	xf&."8
d  	6!vk':'B
i  	f&."8
d  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##L$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )aq  
        replace status of the specified Deployment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_deployment_status(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Deployment (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   3replace_namespaced_deployment_status_with_http_infor   s         r   $replace_namespaced_deployment_statusz3AppsV1beta2Api.replace_namespaced_deployment_statusk$  rm  r   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  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 pass async_req=True
        >>> thread =
        api.replace_namespaced_deployment_status_with_http_info(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Deployment (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zVGot an unexpected keyword argument '%s' to method replace_namespaced_deployment_statusr   NzYMissing the required parameter `name` when calling `replace_namespaced_deployment_status`r   z^Missing the required parameter `namespace` when calling `replace_namespaced_deployment_status`r   zYMissing the required parameter `body` when calling `replace_namespaced_deployment_status`r   r   r"   r   r#   r$   r(   r)   r*   r+   r
  rd  rT   Tr/   r5   r   s                    r   rx  zBAppsV1beta2Api.replace_namespaced_deployment_status_with_http_info$  s   <J k"./()()XFfX./S	J	 JLOP Q 	QfSk	 0
 	xf&."8
e  	6!vk':'B
j  	f&."8
e  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##M)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )aa  
        replace the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_replica_set(name, namespace, body,
        async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   -replace_namespaced_replica_set_with_http_infor   s         r   replace_namespaced_replica_setz-AppsV1beta2Api.replace_namespaced_replica_set%  sh    6 (,F#$zz+?T??
	4+#)+ + BtAA
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ap  
        replace the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_replica_set_with_http_info(name,
        namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zPGot an unexpected keyword argument '%s' to method replace_namespaced_replica_setr   NzSMissing the required parameter `name` when calling `replace_namespaced_replica_set`r   zXMissing the required parameter `namespace` when calling `replace_namespaced_replica_set`r   zSMissing the required parameter `body` when calling `replace_namespaced_replica_set`r   r   r"   r   r#   r$   r(   r)   r*   r+   r   rd  rZ   Tr/   r5   r   s                    r   r|  z<AppsV1beta2Api.replace_namespaced_replica_set_with_http_info%%  s   :J k"./()()XFfX./S	J	 DFIJ K 	KfSk	 0
 	xf&."8
_  	6!vk':'B
d  	f&."8
_  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##F)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )aa  
        replace scale of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_replica_set_scale(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   3replace_namespaced_replica_set_scale_with_http_infor   s         r   $replace_namespaced_replica_set_scalez3AppsV1beta2Api.replace_namespaced_replica_set_scale%  rm  r   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ax  
        replace scale of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread =
        api.replace_namespaced_replica_set_scale_with_http_info(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zVGot an unexpected keyword argument '%s' to method replace_namespaced_replica_set_scaler   NzYMissing the required parameter `name` when calling `replace_namespaced_replica_set_scale`r   z^Missing the required parameter `namespace` when calling `replace_namespaced_replica_set_scale`r   zYMissing the required parameter `body` when calling `replace_namespaced_replica_set_scale`r   r   r"   r   r#   r$   r(   r)   r*   r+   r  rd  r  Tr/   r5   r   s                    r   r  zBAppsV1beta2Api.replace_namespaced_replica_set_scale_with_http_info%  s   <J k"./()()XFfX./S	J	 JLOP Q 	QfSk	 0
 	xf&."8
e  	6!vk':'B
j  	f&."8
e  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##L$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )ar  
        replace status of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_replica_set_status(name, namespace,
        body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (required)
        :param str namespace: object name and auth scope, such as for teams and
        projects (required)
        :param V1beta2ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should
        not be persisted. An invalid or unrecognized dryRun directive will
        result in an error response and no further processing of the request.
        Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the
        actor or entity that is making these changes. The value must be less
        than or 128 characters long, and only contain printable characters, as
        defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   4replace_namespaced_replica_set_status_with_http_infor   s         r   %replace_namespaced_replica_set_statusz4AppsV1beta2Api.replace_namespaced_replica_set_status+&  sh    8 (,F#$zz+FTFF
	4+#)+ + ItHH
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )aA  
        replace status of the specified ReplicaSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_replica_set_status_with_http_info(name, namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the ReplicaSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1beta2ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zWGot an unexpected keyword argument '%s' to method replace_namespaced_replica_set_statusr   NzZMissing the required parameter `name` when calling `replace_namespaced_replica_set_status`r   z_Missing the required parameter `namespace` when calling `replace_namespaced_replica_set_status`r   zZMissing the required parameter `body` when calling `replace_namespaced_replica_set_status`r   r   r"   r   r#   r$   r(   r)   r*   r+   r  rd  rZ   Tr/   r5   r   s                    r   r  zCAppsV1beta2Api.replace_namespaced_replica_set_status_with_http_infoP&  s   *J k"./()()XFfX./S	J	 K  	 fSk 0 	xf&."8
f  	6!vk':'B
k  	f&."8
f  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##M)#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a&  
        replace the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_stateful_set(name, namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the StatefulSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1beta2StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   .replace_namespaced_stateful_set_with_http_infor   s         r   replace_namespaced_stateful_setz.AppsV1beta2Api.replace_namespaced_stateful_set&  sh    & (,F#$zz+@T@@
	4+#)+ + CtBB
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a5  
        replace the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_stateful_set_with_http_info(name, namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the StatefulSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1beta2StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zQGot an unexpected keyword argument '%s' to method replace_namespaced_stateful_setr   NzTMissing the required parameter `name` when calling `replace_namespaced_stateful_set`r   zYMissing the required parameter `namespace` when calling `replace_namespaced_stateful_set`r   zTMissing the required parameter `body` when calling `replace_namespaced_stateful_set`r   r   r"   r   r#   r$   r(   r)   r*   r+   r   rd  r`   Tr/   r5   r   s                    r   r  z=AppsV1beta2Api.replace_namespaced_stateful_set_with_http_info&  s   *J k"./()()XFfX./S	J	 EGJK L 	LfSk	 0
 	xf&."8
`  	6!vk':'B
e  	f&."8
`  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##G*#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a#  
        replace scale of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_stateful_set_scale(name, namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1beta2Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   4replace_namespaced_stateful_set_scale_with_http_infor   s         r   %replace_namespaced_stateful_set_scalez4AppsV1beta2Api.replace_namespaced_stateful_set_scale='  sh    ( (,F#$zz+FTFF
	4+#)+ + ItHH
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a2  
        replace scale of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1beta2Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2Scale
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zWGot an unexpected keyword argument '%s' to method replace_namespaced_stateful_set_scaler   NzZMissing the required parameter `name` when calling `replace_namespaced_stateful_set_scale`r   z_Missing the required parameter `namespace` when calling `replace_namespaced_stateful_set_scale`r   zZMissing the required parameter `body` when calling `replace_namespaced_stateful_set_scale`r   r   r"   r   r#   r$   r(   r)   r*   r+   r"  rd  r  Tr/   r5   r   s                    r   r  zCAppsV1beta2Api.replace_namespaced_stateful_set_scale_with_http_infoZ'  s   *J k"./()()XFfX./S	J	 K  	 fSk 0 	xf&."8
f  	6!vk':'B
k  	f&."8
f  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##M$#**[)%zz*BC$6=$67- $ / /r   c                     d|d<   |j                  d      r | j                  |||fi |S  | j                  |||fi |}|S )a7  
        replace status of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_stateful_set_status(name, namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the StatefulSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1beta2StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   5replace_namespaced_stateful_set_status_with_http_infor   s         r   &replace_namespaced_stateful_set_statusz5AppsV1beta2Api.replace_namespaced_stateful_set_status'  sh    ( (,F#$zz+GTGG
	4+#)+ + JtII
	4+#)+tkr   c                    g d}|j                  d       |j                  d       |j                  d       |j                  d       t               }t        |d         D ]  \  }}||vrt        d|z        |||<    |d= d|vs|d   t	        d
      d|vs|d   t	        d      d|vs|d   t	        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|j                  d|d   f       d|v r|j                  d|d   f       d|v r|j                  d|d   f       i }g }i }d	}d|v r|d   }| j
                  j                  g d      |d<   | j
                  j                  dg      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )aF  
        replace status of the specified StatefulSet
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str name: name of the StatefulSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1beta2StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed.
        :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
        :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
        :return: V1beta2StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        rc  r   r   r    r!   r   zXGot an unexpected keyword argument '%s' to method replace_namespaced_stateful_set_statusr   Nz[Missing the required parameter `name` when calling `replace_namespaced_stateful_set_status`r   z`Missing the required parameter `namespace` when calling `replace_namespaced_stateful_set_status`r   z[Missing the required parameter `body` when calling `replace_namespaced_stateful_set_status`r   r   r"   r   r#   r$   r(   r)   r*   r+   r'  rd  r`   Tr/   r5   r   s                    r   r  zDAppsV1beta2Api.replace_namespaced_stateful_set_status_with_http_info'  s   *J k"./()()XFfX./S	J	 L  	 fSk 0 	xf&."8
g  	6!vk':'B
l  	f&."8
g  K"6Nk&f!'!4k+L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##N*#**[)%zz*BC$6=$67- $ / /r   r
   )__name__
__module____qualname____doc__r   r   r   rJ   rI   rQ   rP   rW   rV   r]   r\   rd   rb   rx   rw   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   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  r  r  r  r  r   r  r%  r$  r*  r)  r1  r0  r6  r5  r<  r;  r@  r?  rD  rC  rH  rG  rL  rK  rP  rO  rU  rT  rY  rX  r]  r\  ra  r`  rg  rf  rl  rk  rq  rp  ru  rt  ry  rx  r}  r|  r  r  r  r  r  r  r  r  r  r  r   r   r   r   r      s5   !
!Ff/P!Fd/L!Fd/L!Fd/L!Fe/NRhZ/xObZ/xObZ/xObZ/xObZ/x0d/B0d}/~0d}/~0d}/~0d}/~(B/HM^P/dJXN/`JXN/`ObY/vM^W/rM^W/rN`W/rN`W/rJXN/`KZN/`(Tw/r'Rv/p'Rv/p'Rv/p'Rv/p'Rv/p'Rv/p'Rv/p(Tw/r'Rv/p(Tw/r(Tw/r@b/H@a/F6X/t@a/F6X/t6X/t@a/F6X/t6X/t@a/F6X/t6Y/v#Jp/d"Hn/`#Jo/b"Hn/`#Jo/b#Jo/b"Hn/`#Jo/b#Jg/R8f/P:g/R:g/r   r   )r  
__future__r   sysosresixr   r   r   objectr   r   r   r   <module>r     s0   	 ' 
 	 	  "n`/V n`/r   