
    :g                     V    d Z ddlmZ ddlZddlZddlmZ ddlmZm	Z	  G d de
      Zy)z
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: release-1.32
    Generated by: https://openapi-generator.tech
    )absolute_importN)	ApiClient)ApiTypeErrorApiValueErrorc                       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)	AppsV1ApizNOTE: This class is auto generated by OpenAPI Generator
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    Nc                 *    |
t               }|| _        y N)r   
api_client)selfr   s     V/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/api/apps_v1_api.py__init__zAppsV1Api.__init__"   s    "J$    c                 4    d|d<    | j                   ||fi |S )a{  create_namespaced_controller_revision  # noqa: E501

        create a ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ControllerRevision body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only)4create_namespaced_controller_revision_with_http_infor   	namespacebodykwargss       r   %create_namespaced_controller_revisionz/AppsV1Api.create_namespaced_controller_revision'   s+    6 ,0'(HtHHTXc\bccr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a=  create_namespaced_controller_revision  # noqa: E501

        create a ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ControllerRevision body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ControllerRevision, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   prettydry_runfield_managerfield_validation	async_reqr   _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   fieldManagerr   fieldValidationapplication/jsonapplication/yaml#application/vnd.kubernetes.protobufapplication/cborAcceptBearerToken8/apis/apps/v1/namespaces/{namespace}/controllerrevisionsPOSTV1ControllerRevisionr   r   r    Tr!   
r   post_paramsfilesresponse_typeauth_settingsr   r   r    r!   collection_formatslocalsextendsix	iteritemsr   r   client_side_validationr   appendselect_header_acceptcall_apigetr   r   r   r   local_var_params
all_paramskeyvalr4   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr3   s                   r   r   z>AppsV1Api.create_namespaced_controller_revision_with_http_infoE   s   < "8

 		
 &6x&@AHC*$"GILM  %(S! B X&??11{JZ7Z8H8U8]  !B  C  C??11vEU7U8H8P8X |}}**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''F#!0'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )aN  create_namespaced_daemon_set  # noqa: E501

        create a DaemonSet  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )+create_namespaced_daemon_set_with_http_infor   s       r   create_namespaced_daemon_setz&AppsV1Api.create_namespaced_daemon_set   *    6 ,0'(?t??	4ZSYZZr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  create_namespaced_daemon_set  # noqa: E501

        create a DaemonSet  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   //apis/apps/v1/namespaces/{namespace}/daemonsetsr-   V1DaemonSetr   r   r    Tr!   r/   r5   r?   s                   r   rK   z5AppsV1Api.create_namespaced_daemon_set_with_http_info   s   < "8

 		
 &6x&@AHC*$">@CD  %(S! B X&??11{JZ7Z8H8U8] xyy??11vEU7U8H8P8X stt**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''=v#!''&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )aQ  create_namespaced_deployment  # noqa: E501

        create a Deployment  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )+create_namespaced_deployment_with_http_infor   s       r   create_namespaced_deploymentz&AppsV1Api.create_namespaced_deploymentE  rM   r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  create_namespaced_deployment  # noqa: E501

        create a Deployment  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Deployment, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   0/apis/apps/v1/namespaces/{namespace}/deploymentsr-   V1Deploymentr   r   r    Tr!   r/   r5   r?   s                   r   rR   z5AppsV1Api.create_namespaced_deployment_with_http_infoc  s   < "8

 		
 &6x&@AHC*$">@CD  %(S! B X&??11{JZ7Z8H8U8] xyy??11vEU7U8H8P8X stt**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''>#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )aS  create_namespaced_replica_set  # noqa: E501

        create a ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ),create_namespaced_replica_set_with_http_infor   s       r   create_namespaced_replica_setz'AppsV1Api.create_namespaced_replica_set  s*    6 ,0'(@t@@D[TZ[[r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  create_namespaced_replica_set  # noqa: E501

        create a ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   0/apis/apps/v1/namespaces/{namespace}/replicasetsr-   V1ReplicaSetr   r   r    Tr!   r/   r5   r?   s                   r   rX   z6AppsV1Api.create_namespaced_replica_set_with_http_info  s   < "8

 		
 &6x&@AHC*$"?ADE  %(S! B X&??11{JZ7Z8H8U8] yzz??11vEU7U8H8P8X tuu**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''>#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )aX  create_namespaced_stateful_set  # noqa: E501

        create a StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )-create_namespaced_stateful_set_with_http_infor   s       r   create_namespaced_stateful_setz(AppsV1Api.create_namespaced_stateful_setc  s*    6 ,0'(AtAA)T\U[\\r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a  create_namespaced_stateful_set  # noqa: E501

        create a StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   1/apis/apps/v1/namespaces/{namespace}/statefulsetsr-   V1StatefulSetr   r   r    Tr!   r/   r5   r?   s                   r   r^   z7AppsV1Api.create_namespaced_stateful_set_with_http_info  s   < "8

 		
 &6x&@AHC*$"@BEF  %(S! B X&??11{JZ7Z8H8U8] z{{??11vEU7U8H8P8X uvv**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''?#!)'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )a"  delete_collection_namespaced_controller_revision  # noqa: E501

        delete collection of ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )?delete_collection_namespaced_controller_revision_with_http_infor   r   r   s      r   0delete_collection_namespaced_controller_revisionz:AppsV1Api.delete_collection_namespaced_controller_revision  s*    J ,0'(StSST]haghhr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d |v r|d    |	j                  d!|d    f       i }
g }i }d}d"|v r|d"   }| j
                  j                  g d#      |
d$<   d%g}| j
                  j                  d&d'||	|
|||d(||j                  d)      |j                  d*      |j                  d+d,      |j                  d-      |.      S )/a"  delete_collection_namespaced_controller_revision  # noqa: E501

        delete collection of ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   	_continuer   field_selectorgrace_period_seconds7ignore_store_read_error_with_cluster_breaking_potentiallabel_selectorlimitorphan_dependentspropagation_policyresource_versionresource_version_matchsend_initial_eventstimeout_secondsr   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   ri   continuer   r"   rj   fieldSelectorrk   gracePeriodSecondsrl   0ignoreStoreReadErrorWithClusterBreakingPotentialrm   labelSelectorrn   ro   orphanDependentsrp   propagationPolicyrq   resourceVersionrr   resourceVersionMatchrs   sendInitialEventsrt   timeoutSecondsr   r%   r*   r+   r,   DELETEV1Statusr   r   r    Tr!   r/   r5   r   r   r   r@   rA   rB   rC   r4   rD   rE   rF   rG   rH   rI   r3   s                  r   rd   zIAppsV1Api.delete_collection_namespaced_controller_revision_with_http_info  sS   P "8

$ 		
 &6x&@AHC*$"RTWX  %(S! B X&??11{JZ7Z8H8U8]  !M  N  N**'7'DK$'',<X,F,R+;H+E FG**/?/L/X-=k-J KL((-=i-H-T+;I+F GH//4DEU4V4b2BCS2T UV!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX%%*62K"&//"F"Fo#qh '''F#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )a"  delete_collection_namespaced_daemon_set  # noqa: E501

        delete collection of DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )6delete_collection_namespaced_daemon_set_with_http_infore   s      r   'delete_collection_namespaced_daemon_setz1AppsV1Api.delete_collection_namespaced_daemon_set  )    J ,0'(JtJJ9_X^__r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d |v r|d    |	j                  d!|d    f       i }
g }i }d}d"|v r|d"   }| j
                  j                  g d#      |
d$<   d%g}| j
                  j                  d&d'||	|
|||d(||j                  d)      |j                  d*      |j                  d+d,      |j                  d-      |.      S )/a"  delete_collection_namespaced_daemon_set  # noqa: E501

        delete collection of DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rh   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   ri   ru   r   r"   rj   rv   rk   rw   rl   rx   rm   ry   rn   ro   rz   rp   r{   rq   r|   rr   r}   rs   r~   rt   r   r   r%   r*   r+   rO   r   r   r   r   r    Tr!   r/   r5   r   s                  r   r   z@AppsV1Api.delete_collection_namespaced_daemon_set_with_http_info  sS   P "8

$ 		
 &6x&@AHC*$"IKNO  %(S! B X&??11{JZ7Z8H8U8]  !D  E  E**'7'DK$'',<X,F,R+;H+E FG**/?/L/X-=k-J KL((-=i-H-T+;I+F GH//4DEU4V4b2BCS2T UV!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX%%*62K"&//"F"Fo#qh '''=x#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )a"  delete_collection_namespaced_deployment  # noqa: E501

        delete collection of Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )6delete_collection_namespaced_deployment_with_http_infore   s      r   'delete_collection_namespaced_deploymentz1AppsV1Api.delete_collection_namespaced_deploymentl  r   r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d |v r|d    |	j                  d!|d    f       i }
g }i }d}d"|v r|d"   }| j
                  j                  g d#      |
d$<   d%g}| j
                  j                  d&d'||	|
|||d(||j                  d)      |j                  d*      |j                  d+d,      |j                  d-      |.      S )/a"  delete_collection_namespaced_deployment  # noqa: E501

        delete collection of Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rh   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   ri   ru   r   r"   rj   rv   rk   rw   rl   rx   rm   ry   rn   ro   rz   rp   r{   rq   r|   rr   r}   rs   r~   rt   r   r   r%   r*   r+   rU   r   r   r   r   r    Tr!   r/   r5   r   s                  r   r   z@AppsV1Api.delete_collection_namespaced_deployment_with_http_info  sS   P "8

$ 		
 &6x&@AHC*$"IKNO  %(S! B X&??11{JZ7Z8H8U8]  !D  E  E**'7'DK$'',<X,F,R+;H+E FG**/?/L/X-=k-J KL((-=i-H-T+;I+F GH//4DEU4V4b2BCS2T UV!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX%%*62K"&//"F"Fo#qh '''>#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )a"  delete_collection_namespaced_replica_set  # noqa: E501

        delete collection of ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )7delete_collection_namespaced_replica_set_with_http_infore   s      r   (delete_collection_namespaced_replica_setz2AppsV1Api.delete_collection_namespaced_replica_set)  s)    J ,0'(KtKKI`Y_``r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d |v r|d    |	j                  d!|d    f       i }
g }i }d}d"|v r|d"   }| j
                  j                  g d#      |
d$<   d%g}| j
                  j                  d&d'||	|
|||d(||j                  d)      |j                  d*      |j                  d+d,      |j                  d-      |.      S )/a"  delete_collection_namespaced_replica_set  # noqa: E501

        delete collection of ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rh   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   ri   ru   r   r"   rj   rv   rk   rw   rl   rx   rm   ry   rn   ro   rz   rp   r{   rq   r|   rr   r}   rs   r~   rt   r   r   r%   r*   r+   r[   r   r   r   r   r    Tr!   r/   r5   r   s                  r   r   zAAppsV1Api.delete_collection_namespaced_replica_set_with_http_infoQ  sS   P "8

$ 		
 &6x&@AHC*$"JLOP  %(S! B X&??11{JZ7Z8H8U8]  !E  F  F**'7'DK$'',<X,F,R+;H+E FG**/?/L/X-=k-J KL((-=i-H-T+;I+F GH//4DEU4V4b2BCS2T UV!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX%%*62K"&//"F"Fo#qh '''>#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )a
"  delete_collection_namespaced_stateful_set  # noqa: E501

        delete collection of StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )8delete_collection_namespaced_stateful_set_with_http_infore   s      r   )delete_collection_namespaced_stateful_setz3AppsV1Api.delete_collection_namespaced_stateful_set  s)    J ,0'(LtLLYaZ`aar   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d |v r|d    |	j                  d!|d    f       i }
g }i }d}d"|v r|d"   }| j
                  j                  g d#      |
d$<   d%g}| j
                  j                  d&d'||	|
|||d(||j                  d)      |j                  d*      |j                  d+d,      |j                  d-      |.      S )/a"  delete_collection_namespaced_stateful_set  # noqa: E501

        delete collection of StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 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_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything.
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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 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.
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rh   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   ri   ru   r   r"   rj   rv   rk   rw   rl   rx   rm   ry   rn   ro   rz   rp   r{   rq   r|   rr   r}   rs   r~   rt   r   r   r%   r*   r+   ra   r   r   r   r   r    Tr!   r/   r5   r   s                  r   r   zBAppsV1Api.delete_collection_namespaced_stateful_set_with_http_info  sS   P "8

$ 		
 &6x&@AHC*$"KMPQ  %(S! B X&??11{JZ7Z8H8U8]  !F  G  G**'7'DK$'',<X,F,R+;H+E FG**/?/L/X-=k-J KL((-=i-H-T+;I+F GH//4DEU4V4b2BCS2T UV!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX%%*62K"&//"F"Fo#qh '''?#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a  delete_namespaced_controller_revision  # noqa: E501

        delete a ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )4delete_namespaced_controller_revision_with_http_infor   namer   r   s       r   %delete_namespaced_controller_revisionz/AppsV1Api.delete_namespaced_controller_revision  s*    < ,0'(HtHHyc\bccr   c                 F   t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d       |!      S )"aL  delete_namespaced_controller_revision  # noqa: E501

        delete a ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        	r   r   r   r   rk   rl   ro   rp   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"   rk   rw   rl   rx   ro   rz   rp   r{   r   r%   r*   r+   ?/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}r   r   r   r   r    Tr!   r/   r5   r   r   r   r   r@   rA   rB   rC   r4   rD   rE   rF   rG   rH   rI   r3   s                   r   r   z>AppsV1Api.delete_namespaced_controller_revision_with_http_info  s   B "8


 		
 &6x&@AHC*$"GILM  %(S! B X&??11vEU7U8H8P8X |}}??11{JZ7Z8H8U8]  !B  C  C%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^%%*62K"&//"F"Fo#qh '''Mx#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )af  delete_namespaced_daemon_set  # noqa: E501

        delete a DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )+delete_namespaced_daemon_set_with_http_infor   s       r   delete_namespaced_daemon_setz&AppsV1Api.delete_namespaced_daemon_setA  *    < ,0'(?t??iZSYZZr   c                 F   t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d       |!      S )"a(  delete_namespaced_daemon_set  # noqa: E501

        delete a DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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"   rk   rw   rl   rx   ro   rz   rp   r{   r   r%   r*   r+   6/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}r   r   r   r   r    Tr!   r/   r5   r   s                   r   r   z5AppsV1Api.delete_namespaced_daemon_set_with_http_infob  s   B "8


 		
 &6x&@AHC*$">@CD  %(S! B X&??11vEU7U8H8P8X stt??11{JZ7Z8H8U8] xyy%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^%%*62K"&//"F"Fo#qh '''Dh#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )ah  delete_namespaced_deployment  # noqa: E501

        delete a Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )+delete_namespaced_deployment_with_http_infor   s       r   delete_namespaced_deploymentz&AppsV1Api.delete_namespaced_deployment  r   r   c                 F   t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d       |!      S )"a*  delete_namespaced_deployment  # noqa: E501

        delete a Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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"   rk   rw   rl   rx   ro   rz   rp   r{   r   r%   r*   r+   7/apis/apps/v1/namespaces/{namespace}/deployments/{name}r   r   r   r   r    Tr!   r/   r5   r   s                   r   r   z5AppsV1Api.delete_namespaced_deployment_with_http_info   s   B "8


 		
 &6x&@AHC*$">@CD  %(S! B X&??11vEU7U8H8P8X stt??11{JZ7Z8H8U8] xyy%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^%%*62K"&//"F"Fo#qh '''Ex#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )aj  delete_namespaced_replica_set  # noqa: E501

        delete a ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ),delete_namespaced_replica_set_with_http_infor   s       r   delete_namespaced_replica_setz'AppsV1Api.delete_namespaced_replica_set}  s*    < ,0'(@t@@y[TZ[[r   c                 F   t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d       |!      S )"a,  delete_namespaced_replica_set  # noqa: E501

        delete a ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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"   rk   rw   rl   rx   ro   rz   rp   r{   r   r%   r*   r+   7/apis/apps/v1/namespaces/{namespace}/replicasets/{name}r   r   r   r   r    Tr!   r/   r5   r   s                   r   r   z6AppsV1Api.delete_namespaced_replica_set_with_http_info  s   B "8


 		
 &6x&@AHC*$"?ADE  %(S! B X&??11vEU7U8H8P8X tuu??11{JZ7Z8H8U8] yzz%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^%%*62K"&//"F"Fo#qh '''Ex#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )an  delete_namespaced_stateful_set  # noqa: E501

        delete a StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Status
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )-delete_namespaced_stateful_set_with_http_infor   s       r   delete_namespaced_stateful_setz(AppsV1Api.delete_namespaced_stateful_set	  s*    < ,0'(AtAA$	\U[\\r   c                 F   t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       d|v r|d   |
j                  d|d   f       i }g }i }d}d|v r|d   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d       |!      S )"a0  delete_namespaced_stateful_set  # noqa: E501

        delete a StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
        :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.
        :param V1DeleteOptions body:
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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"   rk   rw   rl   rx   ro   rz   rp   r{   r   r%   r*   r+   8/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}r   r   r   r   r    Tr!   r/   r5   r   s                   r   r   z7AppsV1Api.delete_namespaced_stateful_set_with_http_info<	  s   B "8


 		
 &6x&@AHC*$"@BEF  %(S! B X&??11vEU7U8H8P8X uvv??11{JZ7Z8H8U8] z{{%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH!%55:JKa:b:n!57GH^7_ `aDHXX]m  oh  ^i  ^u!SUe  g`  Va  !b  c"227GH[7\7h!35EFY5Z [\#338HI]8^8j!46FG[6\ ]^%%*62K"&//"F"Fo#qh '''F#!$'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 0    d|d<    | j                   di |S )a  get_api_resources  # noqa: E501

        get available resources  # noqa: E501
        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: execute request asynchronously
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1APIResourceList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr    ) get_api_resources_with_http_infor   r   s     r   get_api_resourceszAppsV1Api.get_api_resources	  s%    * ,0'(4t44>v>>r   c                    t               }g }|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= i }i }g }i }	g }
i }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_api_resources  # noqa: E501

        get available resources  # noqa: E501
        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: execute request asynchronously
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   zCGot an unexpected keyword argument '%s' to method get_api_resourcesNr%   r*   r+   z/apis/apps/v1/GETV1APIResourceListr   r   r    Tr!   r/   )	r6   r7   r8   r9   r   r   r<   r=   r>   r   r   r@   rA   rB   rC   r4   rD   rE   rF   rG   rH   rI   r3   s                 r   r   z*AppsV1Api.get_api_resources_with_http_info	  sB   0 "8

	
 &6x&@AHC*$"3589  %(S! B X&"&//"F"Fo#qh '''e#!-'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 0    d|d<    | j                   di |S )a  list_controller_revision_for_all_namespaces  # noqa: E501

        list or watch objects of kind ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ControllerRevisionList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   ):list_controller_revision_for_all_namespaces_with_http_infor   s     r   +list_controller_revision_for_all_namespacesz5AppsV1Api.list_controller_revision_for_all_namespaces"
  s'    @ ,0'(NtNNXQWXXr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= i }i }g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d	|d   f       d
|v r|d
   |j                  d|d
   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d       |j                  d!d"      |j                  d#      |$      S )%a  list_controller_revision_for_all_namespaces  # noqa: E501

        list or watch objects of kind ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ControllerRevisionList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        allow_watch_bookmarksri   rj   rm   rn   r   rq   rr   rs   rt   watchr   r   z]Got an unexpected keyword argument '%s' to method list_controller_revision_for_all_namespacesr   NallowWatchBookmarksri   ru   rj   rv   rm   ry   rn   r   rq   r|   rr   r}   rs   r~   rt   r   r   r&   r'   r(   r)   zapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchzapplication/cbor-seqr*   r+   z!/apis/apps/v1/controllerrevisionsr   V1ControllerRevisionListr   r   r    Tr!   r/   
r6   r7   r8   r9   r   r;   r   r<   r=   r>   r   s                 r   r   zDAppsV1Api.list_controller_revision_for_all_namespaces_with_http_infoE
  sL   F "8

 		
 &6x&@AHC*$"MORS  %(S! B X&"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE'',<X,F,R+;H+E FG!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h '''/#!4'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 0    d|d<    | j                   di |S )a  list_daemon_set_for_all_namespaces  # noqa: E501

        list or watch objects of kind DaemonSet  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )1list_daemon_set_for_all_namespaces_with_http_infor   s     r   "list_daemon_set_for_all_namespacesz,AppsV1Api.list_daemon_set_for_all_namespaces
  &    @ ,0'(EtEEOOOr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= i }i }g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d	|d   f       d
|v r|d
   |j                  d|d
   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d       |j                  d!d"      |j                  d#      |$      S )%a  list_daemon_set_for_all_namespaces  # noqa: E501

        list or watch objects of kind DaemonSet  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSetList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   zTGot an unexpected keyword argument '%s' to method list_daemon_set_for_all_namespacesr   Nr   ri   ru   rj   rv   rm   ry   rn   r   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   z/apis/apps/v1/daemonsetsr   V1DaemonSetListr   r   r    Tr!   r/   r   r   s                 r   r   z;AppsV1Api.list_daemon_set_for_all_namespaces_with_http_info
  sL   F "8

 		
 &6x&@AHC*$"DFIJ  %(S! B X&"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE'',<X,F,R+;H+E FG!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h '''&#!+'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 0    d|d<    | j                   di |S )a  list_deployment_for_all_namespaces  # noqa: E501

        list or watch objects of kind Deployment  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DeploymentList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )1list_deployment_for_all_namespaces_with_http_infor   s     r   "list_deployment_for_all_namespacesz,AppsV1Api.list_deployment_for_all_namespacesb  r   r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= i }i }g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d	|d   f       d
|v r|d
   |j                  d|d
   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d       |j                  d!d"      |j                  d#      |$      S )%a  list_deployment_for_all_namespaces  # noqa: E501

        list or watch objects of kind Deployment  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DeploymentList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   zTGot an unexpected keyword argument '%s' to method list_deployment_for_all_namespacesr   Nr   ri   ru   rj   rv   rm   ry   rn   r   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   z/apis/apps/v1/deploymentsr   V1DeploymentListr   r   r    Tr!   r/   r   r   s                 r   r   z;AppsV1Api.list_deployment_for_all_namespaces_with_http_info  sL   F "8

 		
 &6x&@AHC*$"DFIJ  %(S! B X&"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE'',<X,F,R+;H+E FG!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h ''''#!,'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )af  list_namespaced_controller_revision  # noqa: E501

        list or watch objects of kind ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ControllerRevisionList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )2list_namespaced_controller_revision_with_http_infore   s      r   #list_namespaced_controller_revisionz-AppsV1Api.list_namespaced_controller_revision  s)    B ,0'(FtFFy[TZ[[r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       i }
g }i }d}| j
                  j                  g d      |
d<   dg}| j
                  j                  dd||	|
|||d ||j                  d!      |j                  d"      |j                  d#d$      |j                  d%      |&      S )'a(  list_namespaced_controller_revision  # noqa: E501

        list or watch objects of kind ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ControllerRevisionList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   ri   rj   rm   rn   rq   rr   rs   rt   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   r   r   ri   ru   rj   rv   rm   ry   rn   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   r,   r   r   r   r   r    Tr!   r/   r5   r   s                  r   r   z<AppsV1Api.list_namespaced_controller_revision_with_http_info&  s   H "8

 		
 &6x&@AHC*$"EGJK  %(S! B X&??11{JZ7Z8H8U8]   A  A**'7'DK$'',<X,F,R+;H+E FG"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h '''F#!4'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )aB  list_namespaced_daemon_set  # noqa: E501

        list or watch objects of kind DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ))list_namespaced_daemon_set_with_http_infore   s      r   list_namespaced_daemon_setz$AppsV1Api.list_namespaced_daemon_set  (    B ,0'(=t==iR6RRr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       i }
g }i }d}| j
                  j                  g d      |
d<   dg}| j
                  j                  dd||	|
|||d ||j                  d!      |j                  d"      |j                  d#d$      |j                  d%      |&      S )'a  list_namespaced_daemon_set  # noqa: E501

        list or watch objects of kind DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSetList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r   ri   ru   rj   rv   rm   ry   rn   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   rO   r   r   r   r   r    Tr!   r/   r5   r   s                  r   r   z3AppsV1Api.list_namespaced_daemon_set_with_http_info  s   H "8

 		
 &6x&@AHC*$"<>AB  %(S! B X&??11{JZ7Z8H8U8] vww**'7'DK$'',<X,F,R+;H+E FG"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h '''=u#!+'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )aD  list_namespaced_deployment  # noqa: E501

        list or watch objects of kind Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DeploymentList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ))list_namespaced_deployment_with_http_infore   s      r   list_namespaced_deploymentz$AppsV1Api.list_namespaced_deploymentT  r   r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       i }
g }i }d}| j
                  j                  g d      |
d<   dg}| j
                  j                  dd||	|
|||d ||j                  d!      |j                  d"      |j                  d#d$      |j                  d%      |&      S )'a  list_namespaced_deployment  # noqa: E501

        list or watch objects of kind Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DeploymentList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r   ri   ru   rj   rv   rm   ry   rn   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   rU   r   r   r   r   r    Tr!   r/   r5   r   s                  r   r   z3AppsV1Api.list_namespaced_deployment_with_http_infox  s   H "8

 		
 &6x&@AHC*$"<>AB  %(S! B X&??11{JZ7Z8H8U8] vww**'7'DK$'',<X,F,R+;H+E FG"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h '''>#!,'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )aF  list_namespaced_replica_set  # noqa: E501

        list or watch objects of kind ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )*list_namespaced_replica_set_with_http_infore   s      r   list_namespaced_replica_setz%AppsV1Api.list_namespaced_replica_set  s(    B ,0'(>t>>ySFSSr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       i }
g }i }d}| j
                  j                  g d      |
d<   dg}| j
                  j                  dd||	|
|||d ||j                  d!      |j                  d"      |j                  d#d$      |j                  d%      |&      S )'a  list_namespaced_replica_set  # noqa: E501

        list or watch objects of kind ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSetList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r   ri   ru   rj   rv   rm   ry   rn   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   r[   r   V1ReplicaSetListr   r   r    Tr!   r/   r5   r   s                  r   r   z4AppsV1Api.list_namespaced_replica_set_with_http_info!  s   H "8

 		
 &6x&@AHC*$"=?BC  %(S! B X&??11{JZ7Z8H8U8] wxx**'7'DK$'',<X,F,R+;H+E FG"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h '''>#!,'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 2    d|d<    | j                   |fi |S )aJ  list_namespaced_stateful_set  # noqa: E501

        list or watch objects of kind StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )+list_namespaced_stateful_set_with_http_infore   s      r   list_namespaced_stateful_setz&AppsV1Api.list_namespaced_stateful_set  s(    B ,0'(?t??	TVTTr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      i }i }d|v r|d   |d<   g }	d|v r|d   |	j                  d|d   f       d	|v r|d	   |	j                  d
|d	   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       d|v r|d   |	j                  d|d   f       i }
g }i }d}| j
                  j                  g d      |
d<   dg}| j
                  j                  dd||	|
|||d ||j                  d!      |j                  d"      |j                  d#d$      |j                  d%      |&      S )'a  list_namespaced_stateful_set  # noqa: E501

        list or watch objects of kind StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSetList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r   ri   ru   rj   rv   rm   ry   rn   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   ra   r   V1StatefulSetListr   r   r    Tr!   r/   r5   r   s                  r   r   z5AppsV1Api.list_namespaced_stateful_set_with_http_info  s   H "8

 		
 &6x&@AHC*$">@CD  %(S! B X&??11{JZ7Z8H8U8] xyy**'7'DK$'',<X,F,R+;H+E FG"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h '''?#!-'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 0    d|d<    | j                   di |S )a  list_replica_set_for_all_namespaces  # noqa: E501

        list or watch objects of kind ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )2list_replica_set_for_all_namespaces_with_http_infor   s     r   #list_replica_set_for_all_namespacesz-AppsV1Api.list_replica_set_for_all_namespacesO  s&    @ ,0'(FtFFPPPr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= i }i }g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d	|d   f       d
|v r|d
   |j                  d|d
   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d       |j                  d!d"      |j                  d#      |$      S )%a  list_replica_set_for_all_namespaces  # noqa: E501

        list or watch objects of kind ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSetList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   zUGot an unexpected keyword argument '%s' to method list_replica_set_for_all_namespacesr   Nr   ri   ru   rj   rv   rm   ry   rn   r   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   z/apis/apps/v1/replicasetsr   r   r   r   r    Tr!   r/   r   r   s                 r   r   z<AppsV1Api.list_replica_set_for_all_namespaces_with_http_infor  sL   F "8

 		
 &6x&@AHC*$"EGJK  %(S! B X&"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE'',<X,F,R+;H+E FG!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h ''''#!,'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 0    d|d<    | j                   di |S )a  list_stateful_set_for_all_namespaces  # noqa: E501

        list or watch objects of kind StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSetList
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )3list_stateful_set_for_all_namespaces_with_http_infor   s     r   $list_stateful_set_for_all_namespacesz.AppsV1Api.list_stateful_set_for_all_namespaces  s&    @ ,0'(GtGGQ&QQr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= i }i }g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d	|d   f       d
|v r|d
   |j                  d|d
   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }	g }
i }d}| j                  j                  g d      |	d<   dg}| j                  j                  dd|||	||
|d||j                  d      |j                  d       |j                  d!d"      |j                  d#      |$      S )%a  list_stateful_set_for_all_namespaces  # noqa: E501

        list or watch objects of kind StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param str resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param str resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.  Defaults to unset
        :param bool send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event  will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.  When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan   is interpreted as "data at least as new as the provided `resourceVersion`"   and the bookmark event is send when the state is synced   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.   If `resourceVersion` is unset, this is interpreted as "consistent read" and the   bookmark event is send when the state is synced at least to the moment   when request started being processed. - `resourceVersionMatch` set to any other value or unset   Invalid error is returned.  Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSetList, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   zVGot an unexpected keyword argument '%s' to method list_stateful_set_for_all_namespacesr   Nr   ri   ru   rj   rv   rm   ry   rn   r   rq   r|   rr   r}   rs   r~   rt   r   r   r   r*   r+   z/apis/apps/v1/statefulsetsr   r   r   r   r    Tr!   r/   r   r   s                 r   r   z=AppsV1Api.list_stateful_set_for_all_namespaces_with_http_info  sL   F "8

 		
 &6x&@AHC*$"FHKL  %(S! B X&"&66;KLc;d;p!68HI`8a bc**/?/L/X-=k-J KL//4DEU4V4b2BCS2T UV//4DEU4V4b2BCS2T UV&&+;G+D+P*:7*C DE'',<X,F,R+;H+E FG!116FGY6Z6f!24DEW4X YZ#'77<LMe<f<r!79IJb9c de $449IJ_9`9l!46FG\6] ^_ 005EFW5X5d!13CDU3V WX&&+;G+D+P*:7*C DE"&//"F"F ]#^h '''(%#!-'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a'  patch_namespaced_controller_revision  # noqa: E501

        partially update the specified ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )3patch_namespaced_controller_revision_with_http_infor   r   r   r   r   s        r   $patch_namespaced_controller_revisionz.AppsV1Api.patch_namespaced_controller_revision  -    : ,0'(GtGGiY]haghhr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_controller_revision  # noqa: E501

        partially update the specified ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ControllerRevision, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   r   forcer   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   r%   r*   zapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonzapplication/apply-patch+yamlzapplication/apply-patch+cborContent-Typer+   r   PATCHr.   r   r   r    Tr!   r/   r6   r7   r8   r9   r   r   r:   r   r;   r<   select_header_content_typer=   r>   r   r   r   r   r   r@   rA   rB   rC   r4   rD   rE   rF   rG   rH   rI   r3   s                    r   r   z=AppsV1Api.patch_namespaced_controller_revision_with_http_info  s   @ "8	

 		
 &6x&@AHC*$"FHKL  %(S! B X&??11vEU7U8H8P8X {||??11{JZ7Z8H8U8]  !A  B  B??11vEU7U8H8P8X {||%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''Mw#!0'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_daemon_set  # noqa: E501

        partially update the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )*patch_namespaced_daemon_set_with_http_infor   s        r   patch_namespaced_daemon_setz%AppsV1Api.patch_namespaced_daemon_set0  -    : ,0'(>t>>tYPT_X^__r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_daemon_set  # noqa: E501

        partially update the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   r   r   rP   r   r   r    Tr!   r/   r   r   s                    r   r   z4AppsV1Api.patch_namespaced_daemon_set_with_http_infoP  s   @ "8	

 		
 &6x&@AHC*$"=?BC  %(S! B X&??11vEU7U8H8P8X rss??11{JZ7Z8H8U8] wxx??11vEU7U8H8P8X rss%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''Dg#!''&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_daemon_set_status  # noqa: E501

        partially update status of the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )1patch_namespaced_daemon_set_status_with_http_infor   s        r   "patch_namespaced_daemon_set_statusz,AppsV1Api.patch_namespaced_daemon_set_status  -    : ,0'(EtEEdIW[f_effr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_daemon_set_status  # noqa: E501

        partially update status of the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r+   =/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/statusr   rP   r   r   r    Tr!   r/   r   r   s                    r   r  z;AppsV1Api.patch_namespaced_daemon_set_status_with_http_info  s   @ "8	

 		
 &6x&@AHC*$"DFIJ  %(S! B X&??11vEU7U8H8P8X yzz??11{JZ7Z8H8U8] ~??11vEU7U8H8P8X yzz%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''KW#!''&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_deployment  # noqa: E501

        partially update the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )*patch_namespaced_deployment_with_http_infor   s        r   patch_namespaced_deploymentz%AppsV1Api.patch_namespaced_deploymentr  r  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_deployment  # noqa: E501

        partially update the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Deployment, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   r   r   rV   r   r   r    Tr!   r/   r   r   s                    r   r  z4AppsV1Api.patch_namespaced_deployment_with_http_info  s   @ "8	

 		
 &6x&@AHC*$"=?BC  %(S! B X&??11vEU7U8H8P8X rss??11{JZ7Z8H8U8] wxx??11vEU7U8H8P8X rss%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''Ew#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_deployment_scale  # noqa: E501

        partially update scale of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )0patch_namespaced_deployment_scale_with_http_infor   s        r   !patch_namespaced_deployment_scalez+AppsV1Api.patch_namespaced_deployment_scale  s-    : ,0'(DtDDT9VZe^deer   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_deployment_scale  # noqa: E501

        partially update scale of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r+   =/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scaler   V1Scaler   r   r    Tr!   r/   r   r   s                    r   r  z:AppsV1Api.patch_namespaced_deployment_scale_with_http_info3  s   @ "8	

 		
 &6x&@AHC*$"CEHI  %(S! B X&??11vEU7U8H8P8X xyy??11{JZ7Z8H8U8] }~~??11vEU7U8H8P8X xyy%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''KW#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_deployment_status  # noqa: E501

        partially update status of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )1patch_namespaced_deployment_status_with_http_infor   s        r   "patch_namespaced_deployment_statusz,AppsV1Api.patch_namespaced_deployment_status  r  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_deployment_status  # noqa: E501

        partially update status of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Deployment, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r+   >/apis/apps/v1/namespaces/{namespace}/deployments/{name}/statusr   rV   r   r   r    Tr!   r/   r   r   s                    r   r  z;AppsV1Api.patch_namespaced_deployment_status_with_http_info  s   @ "8	

 		
 &6x&@AHC*$"DFIJ  %(S! B X&??11vEU7U8H8P8X yzz??11{JZ7Z8H8U8] ~??11vEU7U8H8P8X yzz%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''Lg#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_replica_set  # noqa: E501

        partially update the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )+patch_namespaced_replica_set_with_http_infor   s        r   patch_namespaced_replica_setz&AppsV1Api.patch_namespaced_replica_setU  s-    : ,0'(?t??iQU`Y_``r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_replica_set  # noqa: E501

        partially update the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   r   r   r\   r   r   r    Tr!   r/   r   r   s                    r   r  z5AppsV1Api.patch_namespaced_replica_set_with_http_infou  s   @ "8	

 		
 &6x&@AHC*$">@CD  %(S! B X&??11vEU7U8H8P8X stt??11{JZ7Z8H8U8] xyy??11vEU7U8H8P8X stt%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''Ew#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a
  patch_namespaced_replica_set_scale  # noqa: E501

        partially update scale of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )1patch_namespaced_replica_set_scale_with_http_infor   s        r   "patch_namespaced_replica_set_scalez,AppsV1Api.patch_namespaced_replica_set_scale  r  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_replica_set_scale  # noqa: E501

        partially update scale of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r+   =/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scaler   r  r   r   r    Tr!   r/   r   r   s                    r   r  z;AppsV1Api.patch_namespaced_replica_set_scale_with_http_info  s   @ "8	

 		
 &6x&@AHC*$"DFIJ  %(S! B X&??11vEU7U8H8P8X yzz??11{JZ7Z8H8U8] ~??11vEU7U8H8P8X yzz%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''KW#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_replica_set_status  # noqa: E501

        partially update status of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )2patch_namespaced_replica_set_status_with_http_infor   s        r   #patch_namespaced_replica_set_statusz-AppsV1Api.patch_namespaced_replica_set_status  -    : ,0'(FtFFtYX\g`fggr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_replica_set_status  # noqa: E501

        partially update status of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r+   >/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/statusr   r\   r   r   r    Tr!   r/   r   r   s                    r   r#  z<AppsV1Api.patch_namespaced_replica_set_status_with_http_info  s   @ "8	

 		
 &6x&@AHC*$"EGJK  %(S! B X&??11vEU7U8H8P8X z{{??11{JZ7Z8H8U8]   A  A??11vEU7U8H8P8X z{{%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''Lg#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_stateful_set  # noqa: E501

        partially update the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ),patch_namespaced_stateful_set_with_http_infor   s        r   patch_namespaced_stateful_setz'AppsV1Api.patch_namespaced_stateful_set8  s-    : ,0'(@t@@yRVaZ`aar   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_stateful_set  # noqa: E501

        partially update the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   rb   r   r   r    Tr!   r/   r   r   s                    r   r)  z6AppsV1Api.patch_namespaced_stateful_set_with_http_infoX  s   @ "8	

 		
 &6x&@AHC*$"?ADE  %(S! B X&??11vEU7U8H8P8X tuu??11{JZ7Z8H8U8] yzz??11vEU7U8H8P8X tuu%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''F#!)'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_stateful_set_scale  # noqa: E501

        partially update scale of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )2patch_namespaced_stateful_set_scale_with_http_infor   s        r   #patch_namespaced_stateful_set_scalez-AppsV1Api.patch_namespaced_stateful_set_scale  r%  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_stateful_set_scale  # noqa: E501

        partially update scale of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r+   >/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scaler   r  r   r   r    Tr!   r/   r   r   s                    r   r-  z<AppsV1Api.patch_namespaced_stateful_set_scale_with_http_info  s   @ "8	

 		
 &6x&@AHC*$"EGJK  %(S! B X&??11vEU7U8H8P8X z{{??11{JZ7Z8H8U8]   A  A??11vEU7U8H8P8X z{{%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''Lg#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  patch_namespaced_stateful_set_status  # noqa: E501

        partially update status of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )3patch_namespaced_stateful_set_status_with_http_infor   s        r   $patch_namespaced_stateful_set_statusz.AppsV1Api.patch_namespaced_stateful_set_statusz  r   r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |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  patch_namespaced_stateful_set_status  # noqa: E501

        partially update status of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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 str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :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.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r+   ?/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/statusr   rb   r   r   r    Tr!   r/   r   r   s                    r   r2  z=AppsV1Api.patch_namespaced_stateful_set_status_with_http_info  s   @ "8	

 		
 &6x&@AHC*$"FHKL  %(S! B X&??11vEU7U8H8P8X {||??11{JZ7Z8H8U8]  !A  B  B??11vEU7U8H8P8X {||%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ&&+;G+D+P*:7*C DE%%*62K"&//"F"Fo#qh )-(R(R v)wn% '''Mw#!)'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a  read_namespaced_controller_revision  # noqa: E501

        read the specified ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )2read_namespaced_controller_revision_with_http_infor   s       r   #read_namespaced_controller_revisionz-AppsV1Api.read_namespaced_controller_revision  *    0 ,0'(FtFFtYaZ`aar   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a\  read_namespaced_controller_revision  # noqa: E501

        read the specified ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ControllerRevision, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        r   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    Tr!   r/   r5   r   s                   r   r7  z<AppsV1Api.read_namespaced_controller_revision_with_http_info6  s   6 "8


 		
 &6x&@AHC*$"EGJK  %(S! B X&??11vEU7U8H8P8X z{{??11{JZ7Z8H8U8]   A  A%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''Mu#!0'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )am  read_namespaced_daemon_set  # noqa: E501

        read the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ))read_namespaced_daemon_set_with_http_infor   s       r   read_namespaced_daemon_setz$AppsV1Api.read_namespaced_daemon_set  *    0 ,0'(=t==dIXQWXXr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a/  read_namespaced_daemon_set  # noqa: E501

        read the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   rP   r   r   r    Tr!   r/   r5   r   s                   r   r=  z3AppsV1Api.read_namespaced_daemon_set_with_http_info  s   6 "8


 		
 &6x&@AHC*$"<>AB  %(S! B X&??11vEU7U8H8P8X qrr??11{JZ7Z8H8U8] vww%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''De#!''&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a  read_namespaced_daemon_set_status  # noqa: E501

        read status of the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )0read_namespaced_daemon_set_status_with_http_infor   s       r   !read_namespaced_daemon_set_statusz+AppsV1Api.read_namespaced_daemon_set_status  *    0 ,0'(DtDDT9_X^__r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )aG  read_namespaced_daemon_set_status  # noqa: E501

        read status of the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   rP   r   r   r    Tr!   r/   r5   r   s                   r   rB  z:AppsV1Api.read_namespaced_daemon_set_status_with_http_info6  s   6 "8


 		
 &6x&@AHC*$"CEHI  %(S! B X&??11vEU7U8H8P8X xyy??11{JZ7Z8H8U8] }~~%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''KU#!''&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )ap  read_namespaced_deployment  # noqa: E501

        read the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ))read_namespaced_deployment_with_http_infor   s       r   read_namespaced_deploymentz$AppsV1Api.read_namespaced_deployment  r?  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a2  read_namespaced_deployment  # noqa: E501

        read the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Deployment, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   rV   r   r   r    Tr!   r/   r5   r   s                   r   rG  z3AppsV1Api.read_namespaced_deployment_with_http_info  s   6 "8


 		
 &6x&@AHC*$"<>AB  %(S! B X&??11vEU7U8H8P8X qrr??11{JZ7Z8H8U8] vww%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''Eu#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a{  read_namespaced_deployment_scale  # noqa: E501

        read scale of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )/read_namespaced_deployment_scale_with_http_infor   s       r    read_namespaced_deployment_scalez*AppsV1Api.read_namespaced_deployment_scale  s*    0 ,0'(CtCCD)^W]^^r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a=  read_namespaced_deployment_scale  # noqa: E501

        read scale of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r    Tr!   r/   r5   r   s                   r   rK  z9AppsV1Api.read_namespaced_deployment_scale_with_http_info6  s   6 "8


 		
 &6x&@AHC*$"BDGH  %(S! B X&??11vEU7U8H8P8X wxx??11{JZ7Z8H8U8] |}}%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''KU#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a  read_namespaced_deployment_status  # noqa: E501

        read status of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )0read_namespaced_deployment_status_with_http_infor   s       r   !read_namespaced_deployment_statusz+AppsV1Api.read_namespaced_deployment_status  rD  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )aJ  read_namespaced_deployment_status  # noqa: E501

        read status of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Deployment, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   rV   r   r   r    Tr!   r/   r5   r   s                   r   rO  z:AppsV1Api.read_namespaced_deployment_status_with_http_info  s   6 "8


 		
 &6x&@AHC*$"CEHI  %(S! B X&??11vEU7U8H8P8X xyy??11{JZ7Z8H8U8] }~~%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''Le#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )ar  read_namespaced_replica_set  # noqa: E501

        read the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )*read_namespaced_replica_set_with_http_infor   s       r   read_namespaced_replica_setz%AppsV1Api.read_namespaced_replica_set  s*    0 ,0'(>t>>tYYRXYYr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a4  read_namespaced_replica_set  # noqa: E501

        read the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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    Tr!   r/   r5   r   s                   r   rS  z4AppsV1Api.read_namespaced_replica_set_with_http_info6  s   6 "8


 		
 &6x&@AHC*$"=?BC  %(S! B X&??11vEU7U8H8P8X rss??11{JZ7Z8H8U8] wxx%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''Eu#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a}  read_namespaced_replica_set_scale  # noqa: E501

        read scale of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )0read_namespaced_replica_set_scale_with_http_infor   s       r   !read_namespaced_replica_set_scalez+AppsV1Api.read_namespaced_replica_set_scale  rD  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a?  read_namespaced_replica_set_scale  # noqa: E501

        read scale of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r    Tr!   r/   r5   r   s                   r   rW  z:AppsV1Api.read_namespaced_replica_set_scale_with_http_info  s   6 "8


 		
 &6x&@AHC*$"CEHI  %(S! B X&??11vEU7U8H8P8X xyy??11{JZ7Z8H8U8] }~~%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''KU#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a  read_namespaced_replica_set_status  # noqa: E501

        read status of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )1read_namespaced_replica_set_status_with_http_infor   s       r   "read_namespaced_replica_set_statusz,AppsV1Api.read_namespaced_replica_set_status  *    0 ,0'(EtEEdI`Y_``r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )aL  read_namespaced_replica_set_status  # noqa: E501

        read status of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   r   r    Tr!   r/   r5   r   s                   r   r[  z;AppsV1Api.read_namespaced_replica_set_status_with_http_info6  s   6 "8


 		
 &6x&@AHC*$"DFIJ  %(S! B X&??11vEU7U8H8P8X yzz??11{JZ7Z8H8U8] ~%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''Le#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )aw  read_namespaced_stateful_set  # noqa: E501

        read the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )+read_namespaced_stateful_set_with_http_infor   s       r   read_namespaced_stateful_setz&AppsV1Api.read_namespaced_stateful_set  s*    0 ,0'(?t??iZSYZZr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )a9  read_namespaced_stateful_set  # noqa: E501

        read the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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   rb   r   r   r    Tr!   r/   r5   r   s                   r   r`  z5AppsV1Api.read_namespaced_stateful_set_with_http_info  s   6 "8


 		
 &6x&@AHC*$">@CD  %(S! B X&??11vEU7U8H8P8X stt??11{JZ7Z8H8U8] xyy%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''F#!)'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a  read_namespaced_stateful_set_scale  # noqa: E501

        read scale of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )1read_namespaced_stateful_set_scale_with_http_infor   s       r   "read_namespaced_stateful_set_scalez,AppsV1Api.read_namespaced_stateful_set_scale  r]  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )aB  read_namespaced_stateful_set_scale  # noqa: E501

        read scale of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   r0  r   r  r   r   r    Tr!   r/   r5   r   s                   r   rd  z;AppsV1Api.read_namespaced_stateful_set_scale_with_http_info6  s   6 "8


 		
 &6x&@AHC*$"DFIJ  %(S! B X&??11vEU7U8H8P8X yzz??11{JZ7Z8H8U8] ~%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''Le#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 4    d|d<    | j                   ||fi |S )a  read_namespaced_stateful_set_status  # noqa: E501

        read status of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )2read_namespaced_stateful_set_status_with_http_infor   s       r   #read_namespaced_stateful_set_statusz-AppsV1Api.read_namespaced_stateful_set_status  r9  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      i }i }	d|v r|d   |	d<   d|v r|d   |	d<   g }
d
|v r|d
   |
j                  d
|d
   f       i }g }i }d}| j
                  j                  g d      |d<   dg}| j
                  j                  dd|	|
||||d||j                  d      |j                  d      |j                  dd      |j                  d      |      S )aQ  read_namespaced_stateful_set_status  # noqa: E501

        read status of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :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. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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+   r5  r   rb   r   r   r    Tr!   r/   r5   r   s                   r   rh  z<AppsV1Api.read_namespaced_stateful_set_status_with_http_info  s   6 "8


 		
 &6x&@AHC*$"EGJK  %(S! B X&??11vEU7U8H8P8X z{{??11{JZ7Z8H8U8]   A  A%%"26":K**'7'DK$'',<X,F,R+;H+E FG"&//"F"Fo#qh '''Mu#!)'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_controller_revision  # noqa: E501

        replace the specified ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the ControllerRevision (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ControllerRevision body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ControllerRevision
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )5replace_namespaced_controller_revision_with_http_infor   s        r   &replace_namespaced_controller_revisionz0AppsV1Api.replace_namespaced_controller_revision  .    8 ,0'(ItII$PY[_jcijjr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  replace_namespaced_controller_revision  # noqa: E501

        replace the specified ControllerRevision  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the ControllerRevision (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ControllerRevision body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ControllerRevision, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        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.   r   r   r    Tr!   r/   r5   r   s                    r   rl  z?AppsV1Api.replace_namespaced_controller_revision_with_http_info:  s   > "8

 		
 &6x&@AHC*$"HJMN  %(S! B X&??11vEU7U8H8P8X }~~??11{JZ7Z8H8U8]  !C  D  D??11vEU7U8H8P8X }~~%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''Mu#!0'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_daemon_set  # noqa: E501

        replace the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the DaemonSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ),replace_namespaced_daemon_set_with_http_infor   s        r   replace_namespaced_daemon_setz'AppsV1Api.replace_namespaced_daemon_set  -    8 ,0'(@t@@yRVaZ`aar   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a_  replace_namespaced_daemon_set  # noqa: E501

        replace the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the DaemonSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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   rq  rP   r   r   r    Tr!   r/   r5   r   s                    r   rs  z6AppsV1Api.replace_namespaced_daemon_set_with_http_info  s   > "8

 		
 &6x&@AHC*$"?ADE  %(S! B X&??11vEU7U8H8P8X tuu??11{JZ7Z8H8U8] yzz??11vEU7U8H8P8X tuu%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''De#!''&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_daemon_set_status  # noqa: E501

        replace status of the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the DaemonSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1DaemonSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )3replace_namespaced_daemon_set_status_with_http_infor   s        r   $replace_namespaced_daemon_set_statusz.AppsV1Api.replace_namespaced_daemon_set_statusK  -    8 ,0'(GtGGiY]haghhr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )aw  replace_namespaced_daemon_set_status  # noqa: E501

        replace status of the specified DaemonSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the DaemonSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1DaemonSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1DaemonSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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	  rq  rP   r   r   r    Tr!   r/   r5   r   s                    r   rx  z=AppsV1Api.replace_namespaced_daemon_set_status_with_http_infoj  s   > "8

 		
 &6x&@AHC*$"FHKL  %(S! B X&??11vEU7U8H8P8X {||??11{JZ7Z8H8U8]  !A  B  B??11vEU7U8H8P8X {||%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''KU#!''&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_deployment  # noqa: E501

        replace the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Deployment (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ),replace_namespaced_deployment_with_http_infor   s        r   replace_namespaced_deploymentz'AppsV1Api.replace_namespaced_deployment  ru  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ac  replace_namespaced_deployment  # noqa: E501

        replace the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Deployment (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Deployment, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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   rq  rV   r   r   r    Tr!   r/   r5   r   s                    r   r}  z6AppsV1Api.replace_namespaced_deployment_with_http_info   s   > "8

 		
 &6x&@AHC*$"?ADE  %(S! B X&??11vEU7U8H8P8X tuu??11{JZ7Z8H8U8] yzz??11vEU7U8H8P8X tuu%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''Eu#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_deployment_scale  # noqa: E501

        replace scale of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )2replace_namespaced_deployment_scale_with_http_infor   s        r   #replace_namespaced_deployment_scalez-AppsV1Api.replace_namespaced_deployment_scale{   s-    8 ,0'(FtFFtYX\g`fggr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ai  replace_namespaced_deployment_scale  # noqa: E501

        replace scale of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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  rq  r  r   r   r    Tr!   r/   r5   r   s                    r   r  z<AppsV1Api.replace_namespaced_deployment_scale_with_http_info   s   > "8

 		
 &6x&@AHC*$"EGJK  %(S! B X&??11vEU7U8H8P8X z{{??11{JZ7Z8H8U8]   A  A??11vEU7U8H8P8X z{{%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''KU#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_deployment_status  # noqa: E501

        replace status of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Deployment (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Deployment
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )3replace_namespaced_deployment_status_with_http_infor   s        r   $replace_namespaced_deployment_statusz.AppsV1Api.replace_namespaced_deployment_status!  rz  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a{  replace_namespaced_deployment_status  # noqa: E501

        replace status of the specified Deployment  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Deployment (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Deployment body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Deployment, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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  rq  rV   r   r   r    Tr!   r/   r5   r   s                    r   r  z=AppsV1Api.replace_namespaced_deployment_status_with_http_info2!  s   > "8

 		
 &6x&@AHC*$"FHKL  %(S! B X&??11vEU7U8H8P8X {||??11{JZ7Z8H8U8]  !A  B  B??11vEU7U8H8P8X {||%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''Le#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_replica_set  # noqa: E501

        replace the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the ReplicaSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )-replace_namespaced_replica_set_with_http_infor   s        r   replace_namespaced_replica_setz(AppsV1Api.replace_namespaced_replica_set!  s-    8 ,0'(AtAA$	SWb[abbr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ae  replace_namespaced_replica_set  # noqa: E501

        replace the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the ReplicaSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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   rq  r\   r   r   r    Tr!   r/   r5   r   s                    r   r  z7AppsV1Api.replace_namespaced_replica_set_with_http_info!  s   > "8

 		
 &6x&@AHC*$"@BEF  %(S! B X&??11vEU7U8H8P8X uvv??11{JZ7Z8H8U8] z{{??11vEU7U8H8P8X uvv%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''Eu#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_replica_set_scale  # noqa: E501

        replace scale of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )3replace_namespaced_replica_set_scale_with_http_infor   s        r   $replace_namespaced_replica_set_scalez.AppsV1Api.replace_namespaced_replica_set_scaleC"  rz  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ak  replace_namespaced_replica_set_scale  # noqa: E501

        replace scale of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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!  rq  r  r   r   r    Tr!   r/   r5   r   s                    r   r  z=AppsV1Api.replace_namespaced_replica_set_scale_with_http_infob"  s   > "8

 		
 &6x&@AHC*$"FHKL  %(S! B X&??11vEU7U8H8P8X {||??11{JZ7Z8H8U8]  !A  B  B??11vEU7U8H8P8X {||%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''KU#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_replica_set_status  # noqa: E501

        replace status of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the ReplicaSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1ReplicaSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )4replace_namespaced_replica_set_status_with_http_infor   s        r   %replace_namespaced_replica_set_statusz/AppsV1Api.replace_namespaced_replica_set_status"  -    8 ,0'(HtHHyZ^ibhiir   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a}  replace_namespaced_replica_set_status  # noqa: E501

        replace status of the specified ReplicaSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the ReplicaSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1ReplicaSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1ReplicaSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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'  rq  r\   r   r   r    Tr!   r/   r5   r   s                    r   r  z>AppsV1Api.replace_namespaced_replica_set_status_with_http_info"  s   > "8

 		
 &6x&@AHC*$"GILM  %(S! B X&??11vEU7U8H8P8X |}}??11{JZ7Z8H8U8]  !B  C  C??11vEU7U8H8P8X |}}%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''Le#!('&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_stateful_set  # noqa: E501

        replace the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the StatefulSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   ).replace_namespaced_stateful_set_with_http_infor   s        r   replace_namespaced_stateful_setz)AppsV1Api.replace_namespaced_stateful_sets#  s-    8 ,0'(BtBB4TXc\bccr   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )ak  replace_namespaced_stateful_set  # noqa: E501

        replace the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the StatefulSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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   rq  rb   r   r   r    Tr!   r/   r5   r   s                    r   r  z8AppsV1Api.replace_namespaced_stateful_set_with_http_info#  s   > "8

 		
 &6x&@AHC*$"ACFG  %(S! B X&??11vEU7U8H8P8X vww??11{JZ7Z8H8U8] {||??11vEU7U8H8P8X vww%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''F#!)'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_stateful_set_scale  # noqa: E501

        replace scale of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1Scale
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )4replace_namespaced_stateful_set_scale_with_http_infor   s        r   %replace_namespaced_stateful_set_scalez/AppsV1Api.replace_namespaced_stateful_set_scale$  r  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )an  replace_namespaced_stateful_set_scale  # noqa: E501

        replace scale of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the Scale (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1Scale body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1Scale, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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+   r0  rq  r  r   r   r    Tr!   r/   r5   r   s                    r   r  z>AppsV1Api.replace_namespaced_stateful_set_scale_with_http_info*$  s   > "8

 		
 &6x&@AHC*$"GILM  %(S! B X&??11vEU7U8H8P8X |}}??11{JZ7Z8H8U8]  !B  C  C??11vEU7U8H8P8X |}}%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''Le#!#'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 6    d|d<    | j                   |||fi |S )a  replace_namespaced_stateful_set_status  # noqa: E501

        replace status of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the StatefulSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: V1StatefulSet
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   )5replace_namespaced_stateful_set_status_with_http_infor   s        r   &replace_namespaced_stateful_set_statusz0AppsV1Api.replace_namespaced_stateful_set_status$  rn  r   c                    t               }g d}|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= | j
                  j                  rd|vs|d   t        d      | j
                  j                  rd|vs|d   t        d	      | j
                  j                  rd
|vs|d
   t        d      i }	i }
d|v r|d   |
d<   d|v r|d   |
d<   g }d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       d|v r|d   |j                  d|d   f       i }g }i }d}d
|v r|d
   }| j
                  j                  g d      |d<   dg}| j
                  j                  dd|
|||||d||j                  d      |j                  d      |j                  dd      |j                  d      |	      S )a  replace_namespaced_stateful_set_status  # noqa: E501

        replace status of the specified StatefulSet  # noqa: E501
        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: execute request asynchronously
        :param str name: name of the StatefulSet (required)
        :param str namespace: object name and auth scope, such as for teams and projects (required)
        :param V1StatefulSet body: (required)
        :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
        :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.
        :param str field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
        :param _return_http_data_only: response data without head status code
                                       and headers
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :param _request_timeout: timeout setting for this request. If one
                                 number provided, it will be total request
                                 timeout. It can also be a pair (tuple) of
                                 (connection, read) timeouts.
        :return: tuple(V1StatefulSet, status_code(int), headers(HTTPHeaderDict))
                 If the method is called asynchronously,
                 returns the request thread.
        rp  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+   r5  rq  rb   r   r   r    Tr!   r/   r5   r   s                    r   r  z?AppsV1Api.replace_namespaced_stateful_set_status_with_http_info$  s   > "8

 		
 &6x&@AHC*$"HJMN  %(S! B X&??11vEU7U8H8P8X }~~??11{JZ7Z8H8U8]  !C  D  D??11vEU7U8H8P8X }~~%%"26":K**'7'DK$'',<X,F,R+;H+E FG((-=i-H-T+;I+F GH..3CO3T3`1A/1R ST!116FGY6Z6f!24DEW4X YZ%%*62K"&//"F"Fo#qh '''Mu#!)'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   r
   )__name__
__module____qualname____doc__r   r   r   rL   rK   rS   rR   rY   rX   r_   r^   rf   rd   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-  r3  r2  r8  r7  r>  r=  rC  rB  rH  rG  rL  rK  rP  rO  rT  rS  rX  rW  r\  r[  ra  r`  re  rd  ri  rh  rm  rl  rt  rs  ry  rx  r~  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   r   r      sP   %
d<o3b[<o3b[<o3b\<o3b]<o3b&iPS3j&`PS3j&`PS3j&aPS3j&bPS3jdB{3z[B{3z[B{3z\B{3z]B{3z?0O3b!YF{3z!PF{3z!PF{3z"\HC3J"SHC3J"SHC3J"THC3J"UHC3J!QF{3z!RF{3zi@3B`@3Bg@3B`@3Bf@3Bg@3Ba@3Bg@3Bh@3Bb@3Bh@3Bi@3Bb6c3JY6c3J`6c3JY6c3J_6c3J`6c3JZ6c3J`6c3Ja6c3J[6c3Ja6c3Jb6c3Jk>w3rb>w3ri>w3rb>w3rh>w3ri>w3rc>w3ri>w3rj>w3rd>w3rj>w3rk>w3r   r   )r  
__future__r   rer8   kubernetes.client.api_clientr   kubernetes.client.exceptionsr   r   objectr   r   r   r   <module>r     s/    ' 	  2^T3 ^T3r   