
                             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J	r	  SSKJ
r
  SSKJr   " S S\5      r " S	 S
\
" \\5      5      rg)z
Kubernetes

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

OpenAPI spec version: v1.14.4

Generated by: https://github.com/swagger-api/swagger-codegen.git
    )absolute_importN)	iteritems)with_metaclass)http_clientc                   4   ^  \ rS rSrU 4S jrS rS rSrU =r$ )TypeWithDefault   c                 <   > [         [        U ]  XU5        S U l        g N)superr   __init___default)clsnamebasesdct	__class__s       2lib/third_party/kubernetes/client/configuration.pyr   TypeWithDefault.__init__   s    	/3(c:CL    c                     U R                   S :X  a  [        R                  U 5      U l         [        R                  " U R                   5      $ r   )r   type__call__copy)r   s    r   r   TypeWithDefault.__call__!   s1    
||t]]3'cl99S\\""r   c                 :    [         R                   " U5      U l        g r   )r   r   )r   defaults     r   set_defaultTypeWithDefault.set_default&   s    99W%CLr    )	__name__
__module____qualname____firstlineno__r   r   r   __static_attributes____classcell__)r   s   @r   r   r      s    #
& &r   r   c                       \ rS rSrSrS 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g)Configuration*   z
NOTE: This class is auto generated by the swagger code generator program.
Ref: https://github.com/swagger-api/swagger-codegen
Do not edit the class manually.
c                    SU l         SU l        0 U l        0 U l        SU l        SU 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        [&        R(                  " 5       S-  U l        SU l        SU l        g)z
Constructor
zhttps://localhostN clientpackage_loggerurllib3urllib3_loggerz%%(asctime)s %(levelname)s %(message)sFT   )hosttemp_folder_pathapi_keyapi_key_prefixusernamepassword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multiprocessing	cpu_countconnection_pool_maxsizeproxysafe_chars_for_path_paramselfs    r   r   Configuration.__init__1   s    
 $DI D DLDDMDM DK$+$5$5h$?DKK !$+$5$5i$@DKK !@D!%D#DDDJ DODDNDMD $3#<#<#>#BD  DJ%'D"r   c                     U R                   $ )z
Gets the logger_file.
)_Configuration__logger_filerI   s    r   r=   Configuration.logger_filek   s    
 r   c                    Xl         U R                   (       a  [        R                  " U R                   5      U l        U R                  R	                  U R
                  5        [        U R                  5       HN  u  p#UR                  U R                  5        U R                  (       d  M3  UR                  U R                  5        MP     g[        R                  " 5       U l	        U R                  R	                  U R
                  5        [        U R                  5       HN  u  p#UR                  U R                  5        U R                  (       d  M3  UR                  U R                  5        MP     g)z
Sets 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
N)rM   r8   FileHandlerr<   setFormatterlogger_formatterr   r7   
addHandlerr;   removeHandlerStreamHandlerrJ   value_r7   s       r   r=   rN   r   s     ")!4!4T5G5G!Hd
++D,A,AB -)!$223%%%


t99
: . $+#8#8#:d 
  --d.C.CD -)!$445###


t77
8 .r   c                     U R                   $ )z
Gets the debug status.
)_Configuration__debugrI   s    r   r>   Configuration.debug   s    
 <<r   c                 |   Xl         U R                   (       aS  [        U R                  5       H$  u  p#UR                  [        R
                  5        M&     S[        R                  l        g[        U R                  5       H$  u  p#UR                  [        R                  5        M&     S[        R                  l        g)zT
Sets the debug status.

:param value: The debug status, True or False.
:type: bool
   r   N)
rZ   r   r7   setLevelr8   DEBUGhttplibHTTPConnection
debuglevelWARNINGrV   s       r   r>   r[      s|     L|| -)!& . +,g' !-)!( . +,g'r   c                     U R                   $ )z
Gets the logger_format.
)_Configuration__logger_formatrI   s    r   r:   Configuration.logger_format   s    
 r   c                 Z    Xl         [        R                  " U R                   5      U l        g)z
Sets the logger_format.

The logger_formatter will be updated when sets logger_format.

:param value: The format string.
:type: str
N)re   r8   	FormatterrR   )rJ   rW   s     r   r:   rf      s#     !#--d.B.BCDr   c                 &   U R                   R                  U5      (       aB  U R                  R                  U5      (       a"  U R                  U   S-   U R                   U   -   $ U R                   R                  U5      (       a  U R                   U   $ g)z
Gets API key (with prefix if set).

:param identifier: The identifier of apiKey.
:return: The token for api key authentication.
 N)r3   getr4   )rJ   
identifiers     r   get_api_key_with_prefix%Configuration.get_api_key_with_prefix   s|     ||
##(;(;(?(?
(K(K  ,s2T\\*5MMM			*	%	%\\*%% 
&r   c                     [         R                  R                  U R                  S-   U R                  -   S9R                  S5      $ )zd
Gets HTTP basic authentication header (string).

:return: The token for basic HTTP authentication.
:)
basic_authauthorization)r.   utilmake_headersr5   r6   rk   rI   s    r   get_basic_auth_token"Configuration.get_basic_auth_token   s:     <<$$0Cdmm0S$TO,-r   c                 2    SSSSU R                  S5      S.0$ )zW
Gets Auth Settings dict for api client.

:return: The Auth Settings information dict.
BearerTokenr3   headerrr   )r   inkeyrW   )rm   rI   s    r   auth_settingsConfiguration.auth_settings   s-     	"11/B	
 r   c                 Z    SR                  [        R                  [        R                  S9$ )zS
Gets the essential information for debugging.

:return: The report for debugging.
zPython SDK Debug Report:
OS: {env}
Python Version: {pyversion}
Version of the API: v1.14.4
SDK Package Version: 10.0.0-snapshot)env	pyversion)formatsysplatformversionrI   s    r   to_debug_reportConfiguration.to_debug_report   s$    2
 6cllckk6:;r   )__debug__logger_file__logger_formatr3   r4   rC   rA   rF   r>   r1   rB   r7   r=   r<   r:   rR   r;   r6   rG   rH   r@   r2   r5   r?   N)r!   r"   r#   r$   __doc__r   propertyr=   setterr>   r:   rm   ru   r|   r   r%   r    r   r   r(   r(   *   s    8(t   9 9>   	<<, ,,     
D 
D
&-;r   r(   )r   
__future__r   r.   r   r8   rD   r   sixr   r   	six.movesr   r`   r   r   objectr(   r    r   r   <module>r      sH   	 '     
   ,&d &I;N?F; I;r   