§
    Štj¥G  ã                   ó‚   — d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl	m
Z ddlmZ h d£Z G d„ de¦  «        ZdS )	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.36
    Generated by: https://openapi-generator.tech
é    )Úabsolute_importN)Úhttp_client)ÚApiValueError>
   ÚmaximumÚminimumÚpatternÚmaxItemsÚminItemsÚ	maxLengthÚ	minLengthÚ
multipleOfÚexclusiveMaximumÚexclusiveMinimumc                   ó|  — e Zd ZdZdZ	 	 	 	 	 	 	 	 dd„Zd„ Zd„ Zed„ ¦   «         Z	ed	„ ¦   «         Z
ed
„ ¦   «         Zed„ ¦   «         Zej        d„ ¦   «         Zed„ ¦   «         Zej        d„ ¦   «         Zed„ ¦   «         Zej        d„ ¦   «         Zdd„Zd„ Zd„ Zd„ Zd„ Zdd„Zed„ ¦   «         Zej        d„ ¦   «         ZdS )ÚConfigurationa€  NOTE: This class is auto generated by OpenAPI Generator

    Ref: https://openapi-generator.tech
    Do not edit the class manually.

    :param host: Base url
    :param api_key: Dict to store API key(s).
      Each entry in the dict specifies an API key.
      The dict key is the name of the security scheme in the OAS specification.
      The dict value is the API key secret.
    :param api_key_prefix: Dict to store API prefix (e.g. Bearer)
      The dict key is the name of the security scheme in the OAS specification.
      The dict value is an API key prefix when generating the auth data.
    :param username: Username for HTTP basic authentication
    :param password: Password for HTTP basic authentication
    :param discard_unknown_keys: Boolean value indicating whether to discard
      unknown properties. A server may send a response that includes additional
      properties that are not known by the client in the following scenarios:
      1. The OpenAPI document is incomplete, i.e. it does not match the server
         implementation.
      2. The client was generated using an older version of the OpenAPI document
         and the server has been upgraded since then.
      If a schema in the OpenAPI document defines the additionalProperties attribute,
      then all undeclared properties received by the server are injected into the
      additional properties map. In that case, there are undeclared properties, and
      nothing to discard.
    :param disabled_client_side_validations (string): Comma-separated list of
      JSON schema validation keywords to disable JSON schema structural validation
      rules. The following keywords may be specified: multipleOf, maximum,
      exclusiveMaximum, minimum, exclusiveMinimum, maxLength, minLength, pattern,
      maxItems, minItems.
      By default, the validation is performed for data generated locally by the client
      and data received from the server, independent of any validation performed by
      the server side. If the input data does not satisfy the JSON schema validation
      rules specified in the OpenAPI document, an exception is raised.
      If disabled_client_side_validations is set, structural validation is
      disabled. This can be useful to troubleshoot data validation problem, such as
      when the OpenAPI document validation rules do not match the actual API data
      received by the server.
    :param server_index: Index to servers configuration.
    :param server_variables: Mapping with string values to replace variables in
      templated server configuration. The validation of enums is performed for
      variables with defined enum values before.
    :param server_operation_index: Mapping from operation ID to an index to server
      configuration.
    :param server_operation_variables: Mapping from operation ID to a mapping with
      string values to replace variables in templated server configuration.
      The validation of enums is performed for variables with defined enum values before.
    :param ssl_ca_cert: str - the path to a file of concatenated CA certificates
      in PEM format

    :Example:

    API Key Authentication Example.
    Given the following security scheme in the OpenAPI specification:
      components:
        securitySchemes:
          cookieAuth:         # name for the security scheme
            type: apiKey
            in: cookie
            name: JSESSIONID  # cookie name

    You can programmatically set the cookie:

conf = client.Configuration(
    api_key={'cookieAuth': 'abc123'}
    api_key_prefix={'cookieAuth': 'JSESSIONID'}
)

    The following cookie will be added to the HTTP request:
       Cookie: JSESSIONID abc123
    NFÚ c                 óÎ  — |€dn|| _         	 |€|€dn|| _        |
pi | _        	 |	pi | _        |pi | _        	 d| _        	 i | _        |r|| _        	 i | _        |r|| _        	 d| _        	 || _	        	 || _
        	 || _        || _        i | _        	 t          j        d¦  «        | j        d<   t          j        d¦  «        | j        d<   d| _        	 d| _        	 d| _        	 d| _        	 d	| _        	 d
| _        	 d	| _        	 || _        	 d| _        	 d| _        	 d| _        	 d| _        	 d| _        	 d| _        	 d| _        	 d| _        	 d| _        	 d| _         	 d
| _!        d| _"        dS )zConstructor
        Nzhttp://localhostr   ÚclientÚpackage_loggerÚurllib3Úurllib3_loggerz%%(asctime)s %(levelname)s %(message)sFTéd   r   )#Ú
_base_pathÚserver_indexÚserver_operation_indexÚserver_variablesÚserver_operation_variablesÚtemp_folder_pathÚapi_keyÚapi_key_prefixÚrefresh_api_key_hookÚusernameÚpasswordÚdiscard_unknown_keysÚ disabled_client_side_validationsÚloggerÚloggingÚ	getLoggerÚlogger_formatÚlogger_stream_handlerÚlogger_file_handlerÚlogger_fileÚdebugÚ
verify_sslÚdisable_strict_ssl_verificationÚssl_ca_certÚ	cert_fileÚkey_fileÚassert_hostnameÚtls_server_nameÚconnection_pool_maxsizeÚproxyÚproxy_headersÚsafe_chars_for_path_paramÚretriesÚclient_side_validationÚsocket_options)ÚselfÚhostr   r    r"   r#   r$   r%   r   r   r   r   r0   s                úa/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/kubernetes/aio/client/configuration.pyÚ__init__zConfiguration.__init__l   s$  € ð 15°Ð,Ð,À$ˆŒð	à!-Ð!5¸$¸,˜A˜AÈLˆÔØ&<Ð&BÀˆÔ#ð	à 0Ð 6°BˆÔØ*DÐ*JÈˆÔ'ð	à $ˆÔð	ð ˆŒØð 	#Ø"ˆDŒLð	à ˆÔØð 	1Ø"0ˆDÔð	à$(ˆÔ!ð	à ˆŒð	à ˆŒð	à$8ˆÔ!Ø0PˆÔ-ØˆŒð	å(/Ô(9¸(Ñ(CÔ(CˆŒÐ$Ñ%Ý(/Ô(9¸)Ñ(DÔ(DˆŒÐ$Ñ%ØDˆÔð	à%)ˆÔ"ð	à#'ˆÔ ð	àˆÔð	àˆŒ
ð	ð ˆŒð	ð 05ˆÔ,ð	ð 'ˆÔð	àˆŒð	àˆŒð	à#ˆÔð	à#ˆÔð	ð  $ˆÔð	ð (+ˆÔ$ð	ð ˆŒ
ð	à!ˆÔð	à)+ˆÔ&ð	àˆŒð	ð '+ˆÔ#à"ˆÔð	ð 	ó    c           	      ó\  — | j         }|                     |¦  «        }||t          | ¦  «        <   | j                             ¦   «         D ]-\  }}|dvr$t          ||t          j        ||¦  «        ¦  «         Œ.t          j        | j        ¦  «        |_        | j	        |_	        | j
        |_
        |S )N)r&   r+   )Ú	__class__Ú__new__ÚidÚ__dict__ÚitemsÚsetattrÚcopyÚdeepcopyr&   r,   r-   )r<   ÚmemoÚclsÚresultÚkÚvs         r>   Ú__deepcopy__zConfiguration.__deepcopy__ê   s¡   € ØŒnˆØ—’˜SÑ!Ô!ˆØˆ�R�‰XŒX‰Ø”M×'Ò'Ñ)Ô)ð 	;ð 	;‰DˆAˆqØÐ9Ð9Ð9Ý˜ ¥4¤=°°DÑ#9Ô#9Ñ:Ô:Ð:øåœ	 $¤+Ñ.Ô.ˆŒà!Ô-ˆÔØ”zˆŒØˆr@   c                 ó  — t                                | ||¦  «         |dk    rit          t          d |                     d¦  «        ¦  «        ¦  «        }|D ]-}|t
          vr"t          d                     |¦  «        ¦  «        ‚Œ.|| _        d S d S )Nr%   ú,zInvalid keyword: '{0}'')	ÚobjectÚ__setattr__ÚsetÚfilterÚsplitÚJSON_SCHEMA_VALIDATION_KEYWORDSr   ÚformatÚ!_disabled_client_side_validations)r<   ÚnameÚvalueÚsrN   s        r>   rS   zConfiguration.__setattr__ø   s¤   € Ý×Ò˜4  uÑ-Ô-Ð-ØÐ5Ò5Ð5Ý•F˜4 §¢¨SÑ!1Ô!1Ñ2Ô2Ñ3Ô3ˆAØð =ð =�ØÕ;Ð;Ð;Ý'Ø1×8Ò8¸Ñ;Ô;ñ=ô =ð =ð <ð 67ˆDÔ2Ð2Ð2ð 6Ð5r@   c                 ó8   — t          j        |¦  «        | _        dS )zÄSet default instance of configuration.

        It stores default configuration, which can be
        returned by get_default_copy method.

        :param default: object of Configuration
        N)rH   rI   Ú_default)rK   Údefaults     r>   Úset_defaultzConfiguration.set_default  s   € õ ”} WÑ-Ô-ˆŒˆˆr@   c                 ó`   — | j         €!|                      t          ¦   «         ¦  «         | j         S )z[Get default instance of configuration.

        :return: The Configuration object.
        )r^   r`   r   ©rK   s    r>   Úget_defaultzConfiguration.get_default  s*   € ð Œ<ÐØ�OŠO�M™OœOÑ,Ô,Ð,ØŒ|Ðr@   c                 ó^   — | j         �t          j        | j         ¦  «        S t          ¦   «         S )a  Return new instance of configuration.

        This method returns newly created, based on default constructor,
        object of Configuration class or returns a copy of default
        configuration passed by the set_default method.

        :return: The configuration object.
        )r^   rH   rI   r   rb   s    r>   Úget_default_copyzConfiguration.get_default_copy  s(   € ð Œ<Ð#Ý”= ¤Ñ.Ô.Ð.Ý‰ŒÐr@   c                 ó   — | j         S )úîThe logger file.

        If the logger_file is None, then add stream handler and remove file
        handler. Otherwise, add file handler and remove stream handler.

        :param value: The logger_file path.
        :type: str
        )Ú_Configuration__logger_file©r<   s    r>   r,   zConfiguration.logger_file%  s   € ð Ô!Ð!r@   c                 ó  — || _         | j         rvt          j        | j         ¦  «        | _        | j                             | j        ¦  «         t          j        | j        ¦  «        D ]!\  }}| 	                    | j        ¦  «         Œ dS dS )rg   N)
rh   r'   ÚFileHandlerr+   ÚsetFormatterÚlogger_formatterÚsixÚ	iteritemsr&   Ú
addHandler©r<   r[   Ú_r&   s       r>   r,   zConfiguration.logger_file1  s–   € ð #ˆÔØÔð 	<õ (/Ô':¸4Ô;MÑ'NÔ'NˆDÔ$ØÔ$×1Ò1°$Ô2GÑHÔHÐHÝ œ]¨4¬;Ñ7Ô7ð <ð <‘	��6Ø×!Ò! $Ô":Ñ;Ô;Ð;Ð;ð	<ð 	<ð
<ð <r@   c                 ó   — | j         S )úaDebug status

        :param value: The debug status, True or False.
        :type: bool
        )Ú_Configuration__debugri   s    r>   r-   zConfiguration.debugD  s   € ð Œ|Ðr@   c                 ób  — || _         | j         rQt          j        | j        ¦  «        D ]$\  }}|                     t
          j        ¦  «         Œ%dt          j        _	        dS t          j        | j        ¦  «        D ]$\  }}|                     t
          j
        ¦  «         Œ%dt          j        _	        dS )rt   é   r   N)ru   rn   ro   r&   ÚsetLevelr'   ÚDEBUGÚhttplibÚHTTPConnectionÚ
debuglevelÚWARNINGrq   s       r>   r-   zConfiguration.debugM  s¥   € ð ˆŒØŒ<ð 	2å œ]¨4¬;Ñ7Ô7ð /ð /‘	��6Ø—’¥¤Ñ.Ô.Ð.Ð.à01�GÔ"Ô-Ð-Ð-õ !œ]¨4¬;Ñ7Ô7ð 1ð 1‘	��6Ø—’¥¤Ñ0Ô0Ð0Ð0à01�GÔ"Ô-Ð-Ð-r@   c                 ó   — | j         S )úŸThe logger format.

        The logger_formatter will be updated when sets logger_format.

        :param value: The format string.
        :type: str
        )Ú_Configuration__logger_formatri   s    r>   r)   zConfiguration.logger_formatc  s   € ð Ô#Ð#r@   c                 óP   — || _         t          j        | j         ¦  «        | _        dS )r   N)r€   r'   Ú	Formatterrm   ©r<   r[   s     r>   r)   zConfiguration.logger_formatn  s(   € ð  %ˆÔÝ 'Ô 1°$Ô2FÑ GÔ GˆÔÐÐr@   c              ƒ   ó6  K  — | j         �1|                       | ¦  «        }t          j        |¦  «        r|ƒ d{V —† | j                             ||�| j                             |¦  «        nd¦  «        }|r%| j                             |¦  «        }|r|›d|›�S |S dS )zÔGets API key (with prefix if set).

        :param identifier: The identifier of apiKey.
        :param alias: The alternative identifier of apiKey.
        :return: The token for api key authentication.
        Nú )r!   ÚasyncioÚiscoroutiner   Úgetr    )r<   Ú
identifierÚaliasrL   ÚkeyÚprefixs         r>   Úget_api_key_with_prefixz%Configuration.get_api_key_with_prefixz  sÀ   è è € ð Ô$Ð0Ø×.Ò.¨tÑ4Ô4ˆFÝÔ" 6Ñ*Ô*ð Ø�������ØŒl×Ò˜zÀeÐFW¨4¬<×+;Ò+;¸EÑ+BÔ+BÐ+BÐ]aÑbÔbˆØð 	ØÔ(×,Ò,¨ZÑ8Ô8ˆFØð Ø"( & &¨#¨#Ð.Ð.à�
ð	ð 	r@   c                 ó´   — d}| j         �| j         }d}| j        �| j        }t          j                             |dz   |z   ¬¦  «                             d¦  «        S )zsGets HTTP basic authentication header (string).

        :return: The token for basic HTTP authentication.
        r   Nú:)Ú
basic_authÚauthorization)r"   r#   r   ÚutilÚmake_headersrˆ   )r<   r"   r#   s      r>   Úget_basic_auth_tokenz"Configuration.get_basic_auth_token�  sd   € ð
 ˆØŒ=Ð$Ø”}ˆHØˆØŒ=Ð$Ø”}ˆHÝŒ|×(Ò(Ø #‘~¨Ñ0ð )ñ 
ô 
ç
Š#ˆoÑ
Ô
ð	r@   c              ƒ   ó|   K  — i }d| j         v s	d| j         v r%ddd|                      dd¬¦  «        ƒ d{V —†dœ|d<   |S )zfGets Auth Settings dict for api client.

        :return: The Auth Settings information dict.
        ÚBearerTokenr‘   r   Úheader)rŠ   N)ÚtypeÚinr‹   r[   )r   r�   )r<   Úauths     r>   Úauth_settingszConfiguration.auth_settingsœ  s„   è è € ð
 ˆð ˜DœLÐ(Ð(¨O¸t¼|Ð,KÐ,Kà!ØØ&Ø#×;Ò;Ø!¨ð  <ñ  ô  ð ð ð ð ð ð ð	#ð #ˆD�Ñð ˆr@   c                 óX   — d                      t          j        t          j        ¬¦  «        S )zbGets the essential information for debugging.

        :return: The report for debugging.
        z{Python SDK Debug Report:
OS: {env}
Python Version: {pyversion}
Version of the API: release-1.36
SDK Package Version: 36.0.3)ÚenvÚ	pyversion)rX   ÚsysÚplatformÚversionri   s    r>   Úto_debug_reportzConfiguration.to_debug_report³  s#   € ð
-÷
 Šv�#œ,µ#´+ˆvÑ>Ô>ð	?r@   c                 ó   — dddœgS )zSGets an array of host settings

        :return: An array of host settings
        r   zNo description provided)ÚurlÚdescription© ri   s    r>   Úget_host_settingszConfiguration.get_host_settings¿  s   € ð Ø8ðð ð
ð 	
r@   c           	      ó<  — |€| j         S |€i n|}|€|                      ¦   «         n|}	 ||         }n># t          $ r1 t          d                     |t          |¦  «        ¦  «        ¦  «        ‚w xY w|d         }|                     di ¦  «                             ¦   «         D ]{\  }}|                     ||d         ¦  «        }d|v r:||d         vr0t          d                     |||         |d         ¦  «        ¦  «        ‚|                     d|z   d	z   |¦  «        }Œ||S )
a  Gets host URL based on the index and variables
        :param index: array index of the host settings
        :param variables: hash of variable and the corresponding value
        :param servers: an array of host settings or None
        :return: URL based on host settings
        NzIInvalid index {0} when selecting the host settings. Must be less than {1}r¤   Ú	variablesÚdefault_valueÚenum_valueszFThe variable `{0}` in the host URL has invalid value {1}. Must be {2}.Ú{Ú})	r   r§   Ú
IndexErrorÚ
ValueErrorrX   Úlenrˆ   rF   Úreplace)	r<   Úindexr©   ÚserversÚserverr¤   Úvariable_nameÚvariableÚ
used_values	            r>   Úget_host_from_settingsz$Configuration.get_host_from_settingsË  sm  € ð ˆ=Ø”?Ð"à#Ð+�B�B°ˆ	Ø.5¨o�$×(Ò(Ñ*Ô*Ð*À7ˆð	EØ˜U”^ˆFˆFøÝð 	Eð 	Eð 	EÝð(ß(.ª¨uµc¸'±l´lÑ(CÔ(CñEô Eð Eð	Eøøøð
 �UŒmˆð (.§z¢z°+¸rÑ'BÔ'B×'HÒ'HÑ'JÔ'Jð 	Eð 	EÑ#ˆM˜8Ø"ŸšØ˜x¨Ô8ñ:ô :ˆJð  Ð(Ð(Ø"¨(°=Ô*AÐAÐAÝ ð(ß(.ªØ% y°Ô'?Ø  Ô/ñ)1ô )1ñ2ô 2ð 2ð —+’+˜c MÑ1°CÑ7¸ÑDÔDˆCˆCàˆ
s	   ©2 ²;A-c                 óD   — |                       | j        | j        ¬¦  «        S )zReturn generated host.)r©   )r¸   r   r   ri   s    r>   r=   zConfiguration.hostò  s#   € ð ×*Ò*¨4Ô+<ÈÔH]Ð*Ñ^Ô^Ð^r@   c                 ó"   — || _         d| _        dS )zFix base path.N)r   r   rƒ   s     r>   r=   zConfiguration.host÷  s   € ð  ˆŒØ ˆÔÐÐr@   )NNNNNFr   NNNNN)N)NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r^   r?   rO   rS   Úclassmethodr`   rc   re   Úpropertyr,   Úsetterr-   r)   r�   r”   r›   r¢   r§   r¸   r=   r¦   r@   r>   r   r       s  € € € € € ðGð GðR €Hà Ø.2Ø)-Ø&+Ø24Ø59ØIMØ!ð|ð |ð |ð |ð|ð ð ð7ð 7ð 7ð ð.ð .ñ „[ð.ð ðð ñ „[ðð ðð ñ „[ðð ð	"ð 	"ñ „Xð	"ð Ôð<ð <ñ Ôð<ð$ ðð ñ „Xðð „\ð2ð 2ñ „\ð2ð* ð$ð $ñ „Xð$ð Ôð	Hð 	Hñ Ôð	Hðð ð ð ð&ð ð ðð ð ð.
?ð 
?ð 
?ð

ð 

ð 

ð%ð %ð %ð %ðN ð_ð _ñ „Xð_ð 
„[ð!ð !ñ „[ð!ð !ð !r@   r   )r¾   Ú
__future__r   r†   rH   r'   rŸ   r   rn   Ú	six.movesr   rz   Ú kubernetes.aio.client.exceptionsr   rW   rR   r   r¦   r@   r>   ú<module>rÅ      sÍ   ððð ð 'Ð &Ð &Ð &Ð &Ð &à €€€Ø €€€Ø €€€Ø 
€
€
€
Ø €€€à 
€
€
€
Ø ,Ð ,Ð ,Ð ,Ð ,Ð ,Ø :Ð :Ð :Ð :Ð :Ð :ð#ð #ð #Ð ð[!ð [!ð [!ð [!ð [!�Fñ [!ô [!ð [!ð [!ð [!r@   