
    =Ki6                     n    S r SSKJr  SSKrSSKrSSKrSSKrSSKrSSKrSSK	J
r  SSKr " S S\5      rg)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.35
Generated by: https://openapi-generator.tech
    )absolute_importN)http_clientc                      \ rS rSrSrSr    SS jrS r\S 5       r	\S 5       r
\S 5       r\R                  S	 5       r\S
 5       r\R                  S 5       r\S 5       r\R                  S 5       rS rS rS rS rS rSS jrSrg)Configuration   au  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.

: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
Nc                 *   Xl          SU l         0 U l        U(       a  X l         0 U l        U(       a  X0l         SU l         X@l         XPl         X`l        0 U l         [        R                  " S5      U R                  S'   [        R                  " S5      U R                  S'   SU l         SU l         SU l         SU l         SU l         SU l         SU l         SU l         SU l         SU l         SU l         [,        R.                  " 5       S	-  U l         SU l        [4        R6                  " S
5      (       a  [4        R6                  " S
5      U l        [4        R6                  " S5      (       a  [4        R6                  " S5      U l        [4        R6                  " S5      (       a  [4        R6                  " S5      U l        [4        R6                  " S5      (       a  [4        R6                  " S5      U l        SU l        [4        R6                  " S5      (       a  [4        R6                  " S5      U l        [4        R6                  " S5      (       a  [4        R6                  " S5      U l         SU l         SU l         SU l         SU l         SU l         g)zConstructor
        Nclientpackage_loggerurllib3urllib3_loggerz%%(asctime)s %(levelname)s %(message)sFT   HTTPS_PROXYhttps_proxy
HTTP_PROXY
http_proxyNO_PROXYno_proxy )!hosttemp_folder_pathapi_keyapi_key_prefixrefresh_api_key_hookusernamepassworddiscard_unknown_keysloggerlogging	getLoggerlogger_formatlogger_stream_handlerlogger_file_handlerlogger_filedebug
verify_sslssl_ca_cert	cert_filekey_fileassert_hostnametls_server_namemultiprocessing	cpu_countconnection_pool_maxsizeproxyosgetenvr   proxy_headerssafe_chars_for_path_paramretriesclient_side_validation)selfr   r   r   r   r   r   s          a/var/www/html/dynamic-report/venv/lib/python3.13/site-packages/kubernetes/client/configuration.py__init__Configuration.__init__L   s_    		 $	 "L	 "0	$(!	 	 	$8!	(/(9(9((C$%(/(9(9)(D$%D	%)"	#' 		
	 	  			#	#	 (7'@'@'BQ'F$	 
99]##"))M2JTZ99]##"))M2JTZ99\""<1HDJ99\""<1HDJ99Z  "))J2G$-99Z  "))J2G$-		!	)+&		 '+#    c           	      ~   U R                   nUR                  U5      nX1[        U 5      '   U R                  R	                  5        H-  u  pEUS;  d  M  [        X4[        R                  " XQ5      5        M/     [        R                  " U R                  5      Ul        U R                  Ul	        U R                  Ul
        U$ )N)r   r"   )	__class____new__id__dict__itemssetattrcopydeepcopyr   r#   r$   )r5   memoclsresultkvs         r6   __deepcopy__Configuration.__deepcopy__   s    nnS!RXMM'')DA994==#9: * 		$++.!--zzr9   c                 :    [         R                  " U5      U l        g)zSet default instance of configuration.

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

:param default: object of Configuration
N)rA   rB   _default)rD   defaults     r6   set_defaultConfiguration.set_default   s     }}W-r9   c                 p    U R                   b   [        R                  " U R                   5      $ [        5       $ )zReturn 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.
)rK   rA   rB   r   )rD   s    r6   get_default_copyConfiguration.get_default_copy   s)     <<#==..r9   c                     U R                   $ )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r5   s    r6   r#   Configuration.logger_file   s     !!!r9   c                 P   Xl         U R                   (       a  [        R                  " U R                   5      U l        U R                  R	                  U R
                  5        [        R                  " U R                  5       H   u  p#UR                  U R                  5        M"     gg)rS   N)
rT   r   FileHandlerr"   setFormatterlogger_formattersix	iteritemsr   
addHandlerr5   value_r   s       r6   r#   rV      sz     # (/':':4;M;M'ND$$$11$2G2GH ]]4;;7	!!$":":; 8 r9   c                     U R                   $ )IDebug status

:param value: The debug status, True or False.
:type: bool
)_Configuration__debugrU   s    r6   r$   Configuration.debug  s     ||r9   c                    Xl         U R                   (       a^  [        R                  " U R                  5       H$  u  p#UR	                  [
        R                  5        M&     S[        R                  l	        g[        R                  " U R                  5       H$  u  p#UR	                  [
        R                  5        M&     S[        R                  l	        g)rb      r   N)rc   r[   r\   r   setLevelr   DEBUGhttplibHTTPConnection
debuglevelWARNINGr^   s       r6   r$   rd     s     << ]]4;;7	. 8 12G""- !]]4;;7	0 8 12G""-r9   c                     U R                   $ )The logger format.

The logger_formatter will be updated when sets logger_format.

:param value: The format string.
:type: str
)_Configuration__logger_formatrU   s    r6   r    Configuration.logger_format!  s     ###r9   c                 Z    Xl         [        R                  " U R                   5      U l        g)rn   N)ro   r   	FormatterrZ   )r5   r_   s     r6   r    rp   ,  s#      % ' 1 1$2F2F Gr9   c                     U R                   b  U R                  U 5        U R                  R                  U5      nU(       a-  U R                  R                  U5      nU(       a	  U< SU< 3$ U$ g)zGets API key (with prefix if set).

:param identifier: The identifier of apiKey.
:return: The token for api key authentication.
N )r   r   getr   )r5   
identifierkeyprefixs       r6   get_api_key_with_prefix%Configuration.get_api_key_with_prefix8  sc     $$0%%d+llz*((,,Z8F"(#..
 r9   c                     SnU R                   b  U R                   nSnU R                  b  U R                  n[        R                  R	                  US-   U-   S9R                  S5      $ )zcGets HTTP basic authentication header (string).

:return: The token for basic HTTP authentication.
r   :)
basic_authauthorization)r   r   r   utilmake_headersru   )r5   r   r   s      r6   get_basic_auth_token"Configuration.get_basic_auth_tokenH  sf    
 ==$}}H==$}}H||((#~0 ) 

#o
	r9   c                 \    0 nSU R                   ;   a  SSSU R                  S5      S.US'   U$ )zVGets Auth Settings dict for api client.

:return: The Auth Settings information dict.
r~   r   header)typeinrw   r_   BearerToken)r   ry   )r5   auths     r6   auth_settingsConfiguration.auth_settingsW  s?    
 dll*!&55oF	#D r9   c                 Z    SR                  [        R                  [        R                  S9$ )zRGets 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.35
SDK Package Version: 35.0.0)env	pyversion)formatsysplatformversionrU   s    r6   to_debug_reportConfiguration.to_debug_reportf  s$    
-
 v#,,#++v>	?r9   c                     SSS./$ )zCGets an array of host settings

:return: An array of host settings
/zNo description provided)urldescription rU   s    r6   get_host_settingsConfiguration.get_host_settingsr  s     8
 	
r9   c           	         Uc  0 OUnU R                  5       n X1   nUS   nUS   R                  5        H`  u  pgUR                  XgS   5      nSU;   a)  XS   ;  a!  [        SR                  XbU   US   5      5      eUR                  SU-   S-   U5      nMb     U$ ! [         a%    [        SR                  U[	        U5      5      5      ef = f)	zGets 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
:return: URL based on host settings
zIInvalid 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   
IndexError
ValueErrorr   lenr?   ru   replace)	r5   indexr   serversserverr   variable_namevariable
used_values	            r6   get_host_from_settings$Configuration.get_host_from_settings~  s    $+B	((*	E^F Um (.k':'@'@'B#M"8:J ("=*AA ((.%'? /)12 2 ++cM1C7DC (C 
-  	E((.uc'l(CE E	Es   B /C
)__debug__logger_file__logger_formatr   r   r)   r'   r4   r-   r$   r   r   r(   r   r#   r"   r    rZ   r!   r   r   r.   r1   r   r3   r2   r&   r   r*   r   r%   )zhttp://localhostNNNNF)N)__name__
__module____qualname____firstlineno____doc__rK   r7   rH   classmethodrM   rP   propertyr#   setterr$   r    ry   r   r   r   r   r   __static_attributes__r   r9   r6   r   r      s    -^ H..2)-&+n+` . .   	" 	" < <$   \\2 2* $ $ 	H 	H 
?

!r9   r   )r   
__future__r   rA   r   r+   r   r   r[   	six.movesr   ri   r/   objectr   r   r9   r6   <module>r      s5    '    
  
 , 	EF Er9   