
                         Z    S r SSKJ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\
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   )	ApiClientc                   :    \ rS rSrSrS
S jrS rS rS rS r	S	r
g)LogsApi   z
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
Nc                 *    Uc
  [        5       nXl        g N)r   
api_client)selfr   s     2lib/third_party/kubernetes/client/apis/logs_api.py__init__LogsApi.__init__    s    ;j O    c                     SUS'   UR                  S5      (       a  U R                  " U40 UD6$ U R                  " U40 UD6nU$ )az  
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.log_file_handler(logpath, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str logpath: path to the log (required)
:return: None
         If the method is called asynchronously,
         returns the request thread.
T_return_http_data_only	async_req)getlog_file_handler_with_http_info)r   logpathkwargsdatas       r   log_file_handlerLogsApi.log_file_handler%   sN     (,F#$zz+11'DVDD33GFvFtkr   c                 :   S/nUR                  S5        UR                  S5        UR                  S5        UR                  S5        [        5       n[        US   5       H  u  pVXS;  a  [        SU-  5      eXdU'   M     US	 SU;  d  US   c  [	        S	5      e0 n0 nSU;   a  US   US'   / n	0 n
/ n0 nSnS
/nU R
                  R                  SSUU	U
UUUSUUR                  S5      UR                  S5      UR                  SS5      UR                  S5      US9$ )a  
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.log_file_handler_with_http_info(logpath,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str logpath: path to the log (required)
:return: None
         If the method is called asynchronously,
         returns the request thread.
r   r   r   _preload_content_request_timeoutr   zBGot an unexpected keyword argument '%s' to method log_file_handlerNzHMissing the required parameter `logpath` when calling `log_file_handler`BearerTokenz/logs/{logpath}GETT
bodypost_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formats)appendlocalsr   	TypeError
ValueErrorr   call_apir   )r   r   r   
all_paramsparamskeyvalr'   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr&   s                  r   r   'LogsApi.log_file_handler_with_http_info9   sl    Jk"./()()XFfX./		 68;< = 	=Sk	 0
 	xVI%6%>
T  KF%i0k)LMKOK"OM??###**[)%zz*BC$6=$67- $ / /r   c                     SUS'   UR                  S5      (       a  U R                  " S0 UD6$ U R                  " S0 UD6nU$ )aG  
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.log_file_list_handler(async_req=True)
>>> result = thread.get()

:param async_req bool
:return: None
         If the method is called asynchronously,
         returns the request thread.
Tr   r    )r   $log_file_list_handler_with_http_info)r   r   r   s      r   log_file_list_handlerLogsApi.log_file_list_handler}   sJ     (,F#$zz+66@@@88B6Btkr   c                    / nUR                  S5        UR                  S5        UR                  S5        UR                  S5        [        5       n[        US   5       H  u  pEXB;  a  [        SU-  5      eXSU'   M     US	 0 n0 n/ n0 n	/ n
0 nSnS/nU R                  R                  S	S
UUU	UU
USUUR                  S5      UR                  S5      UR                  SS5      UR                  S5      US9$ )aV  
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.log_file_list_handler_with_http_info(async_req=True)
>>> result = thread.get()

:param async_req bool
:return: None
         If the method is called asynchronously,
         returns the request thread.
r   r   r   r   r   zGGot an unexpected keyword argument '%s' to method log_file_list_handlerNr   z/logs/r    Tr!   )r(   r)   r   r*   r   r,   r   )r   r   r-   r.   r/   r0   r'   r1   r2   r3   r4   r5   r6   r&   s                 r   r:   ,LogsApi.log_file_list_handler_with_http_info   s2    Jk"./()()XFfX./		 ;=@A B 	BSk	 0
 	xKLMKOK"OM??###**[)%zz*BC$6=$67- $ / /r   )r   r   )__name__
__module____qualname____firstlineno____doc__r   r   r   r;   r:   __static_attributes__r9   r   r   r   r      s"    !
(B/H&9/r   r   )rC   
__future__r   sysosresixr   r   r   objectr   r9   r   r   <module>rK      s.   	 ' 
 	 	  "p/f p/r   