
    Zi#%                     ^    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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.35
    Generated by: https://openapi-generator.tech
    )absolute_importN)	ApiClient)ApiTypeErrorApiValueErrorc                   2    e Zd ZdZddZd Zd Zd Zd ZdS )	LogsApizNOTE: This class is auto generated by OpenAPI Generator
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    Nc                 4    |t                      }|| _        d S N)r   
api_client)selfr   s     Y/root/projects/butler/venv/lib/python3.11/site-packages/kubernetes/client/api/logs_api.py__init__zLogsApi.__init__"   s    "J$    c                 (    d|d<    | j         |fi |S )a  log_file_handler  # noqa: E501

        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: execute request asynchronously
        :param str logpath: path to the log (required)
        :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: None
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only)log_file_handler_with_http_info)r   logpathkwargss      r   log_file_handlerzLogsApi.log_file_handler'   s*    * ,0'(3t3GFFvFFFr   c                 H   t                      }dg}|                    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 }	i }
g }i }d}dg}| j                            dd	||	|
|||d||	                    d
          |	                    d          |	                    dd          |	                    d          |          S )a  log_file_handler  # noqa: E501

        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: execute request asynchronously
        :param str logpath: path to the log (required)
        :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: None
                 If the method is called asynchronously,
                 returns the request thread.
        r   	async_reqr   _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}GETr   r   r   Tr   
bodypost_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formats)
localsextendsix	iteritemsr   r   client_side_validationr   call_apiget)r   r   r   local_var_params
all_paramskeyvalr#   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr"   s                  r   r   z'LogsApi.log_file_handler_with_http_info?   s   0 "88 

 	  	
 	
 	
 &6x&@AA 	( 	(HC*$$"2478   %(S!!X&?1 	lyHX7X7X8H8S8[ jkkk(((%5i%@K	"&''u#!'&**;77#3#7#78P#Q#Q-112DdKK-112DEE1 ( 3 3 	3r   c                 &    d|d<    | j         di |S )a  log_file_list_handler  # noqa: E501

        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: 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: None
                 If the method is called asynchronously,
                 returns the request thread.
        Tr    )$log_file_list_handler_with_http_info)r   r   s     r   log_file_list_handlerzLogsApi.log_file_list_handler   s(    ( ,0'(8t8BB6BBBr   c                    t                      }g }|                    g d           t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= i }i }g }i }	g }
i }d}dg}| j                            dd|||	||
|d||                    d          |                    d	          |                    d
d          |                    d          |          S )aX  log_file_list_handler  # noqa: E501

        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: 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: None
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   zGGot an unexpected keyword argument '%s' to method log_file_list_handlerNr   z/logs/r   r   r   r   Tr   r   )r$   r%   r&   r'   r   r   r)   r*   )r   r   r+   r,   r-   r.   r#   r/   r0   r1   r2   r3   r4   r"   s                 r   r7   z,LogsApi.log_file_list_handler_with_http_info   sV   . "88

  	
 	
 	
 &6x&@AA 	( 	(HC*$$"79<=   %(S!!X&&''e#!'&**;77#3#7#78P#Q#Q-112DdKK-112DEE1 ( 3 3 	3r   r
   )	__name__
__module____qualname____doc__r   r   r   r8   r7   r6   r   r   r   r      s}         % % % %
G G G0R3 R3 R3hC C C.J3 J3 J3 J3 J3r   r   )r=   
__future__r   rer&   kubernetes.client.api_clientr   kubernetes.client.exceptionsr   r   objectr   r6   r   r   <module>rC      s     ' & & & & & 				 


 2 2 2 2 2 2       Y3 Y3 Y3 Y3 Y3f Y3 Y3 Y3 Y3 Y3r   