
    ;g#%                     V    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y)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.32
    Generated by: https://openapi-generator.tech
    )absolute_importN)	ApiClient)ApiTypeErrorApiValueErrorc                   0    e Zd ZdZddZd Zd Zd Zd Zy)	LogsApizNOTE: This class is auto generated by OpenAPI Generator
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    Nc                 *    |
t               }|| _        y N)r   
api_client)selfr   s     S/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/api/logs_api.py__init__zLogsApi.__init__"   s    "J$    c                 2    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33GFvFFr   c                    t               }dg}|j                  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
                  j                  dd	||	|
|||d||j                  d
      |j                  d      |j                  dd      |j                  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?   sn   0 "8 

 		
 &6x&@AHC*$"2478  %(S! B X&??11yHX7X8H8S8[ jkk((%5i%@K	"&''u#!'&**;7#3#7#78P#Q-112DdK-112DE1 ( 3 	3r   c                 0    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8B6BBr   c                    t               }g }|j                  g d       t        j                  |d         D ]  \  }}||vrt	        d|z        |||<    |d= i }i }g }i }	g }
i }d}dg}| j
                  j                  dd|||	||
|d||j                  d      |j                  d	      |j                  d
d      |j                  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   s#   . "8

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