
    [j&,                     ^    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.36
    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     [/var/www/FlaskApp/flask-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 logpath: path to the log (required)
        :type logpath: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        T_return_http_data_only)log_file_handler_with_http_info)r   logpathkwargss      r   log_file_handlerzLogsApi.log_file_handler'   s*    4 ,0'(3t3GFFvFFFr   c                    t                      }dg}|                    g d           t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        r$|                    d          t          d          i }i }d|v r|d         |d<   g }	t          |                    di                     }
g }i }d}dg}i }| 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 logpath: path to the log (required)
        :type logpath: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :type _content_type: string, optional: force content-type for the request
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        r   	async_reqr   _preload_content_request_timeout_request_auth_content_type_headersr   zBGot an unexpected keyword argument '%s' to method log_file_handlerNzHMissing the required parameter `logpath` when calling `log_file_handler`r   BearerTokenz/logs/{logpath}GETr   r   r   Tr   r   bodypost_paramsfilesresponse_types_mapauth_settingsr   r   r   r   collection_formatsr   )localsextendsix	iteritemsr   r   client_side_validationgetr   dictcall_api)r   r   r   local_var_params
all_paramskeyvalr&   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr%   r$   s                   r   r   z'LogsApi.log_file_handler_with_http_infoD   s   F "88 

 	  
	
 
	
 
	
 &6x&@AA 	( 	(HC*$$"2478   %(S!!X&?1 	l6F6J6J96U6U6] jkkk(((%5i%@K	"-11*bAABB&''u#!1'&**;77#3#7#78P#Q#Q-112DdKK-112DEE1*..?? ( A A 	Ar   c                 &    d|d<    | j         di |S )aV  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: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        Tr    )$log_file_list_handler_with_http_info)r   r   s     r   log_file_list_handlerzLogsApi.log_file_list_handler   s(    0 ,0'(8t8BB6BBBr   c                 H   t                      }g }|                    g d           t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= i }i }g }t          |                    di                     }	g }
i }d}dg}i }| j                            dd|||	||
||||                    d	          |                    d
          |                    dd          |                    d          ||                    d                    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_with_http_info(async_req=True)
        >>> result = thread.get()

        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :type _content_type: string, optional: force content-type for the request
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        r   r   zGGot an unexpected keyword argument '%s' to method log_file_list_handlerr   Nr   z/logs/r   r   r   r   Tr   r   r    )	r'   r(   r)   r*   r   r-   r,   r   r.   )r   r   r/   r0   r1   r2   r&   r3   r4   r5   r6   r7   r8   r%   r$   s                  r   r;   z,LogsApi.log_file_list_handler_with_http_info   s   B "88

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


 2 2 2 2 2 2       BA BA BA BA BAf BA BA BA BA BAr   