3 fYP@s`dZddlmZddlZddlZddlZddlmZddlm Z ddl m Z Gdd d e Z dS) z Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git )absolute_importN) iteritems) Configuration) ApiClientc@s*eZdZdZd ddZddZddZdS) CertificatesApiz 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 NcCs,t}|r||_n|js t|_|j|_dS)N)r api_clientr)selfrconfigr X/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/apis/certificates_api.py__init__"s zCertificatesApi.__init__cKs2d|d<|jdr|jf|S|jf|}|SdS)a{ get information of a group This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: V1APIGroup If the method is called asynchronously, returns the request thread. T_return_http_data_onlycallbackN)getget_api_group_with_http_info)r kwargsdatar r r get_api_group+s    zCertificatesApi.get_api_groupcKs g}|jd|jd|jd|jdt}x4t|dD]$\}}||kr\td||||<q@W|d=i}djdd }i}i} i} g} i} d } |jjd d d g| d<|jjd d d g| d<dg}|jj|d|| | | | | d||j d|j d|j dd|j d|dS)a get information of a group This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: V1APIGroup If the method is called asynchronously, returns the request thread. rr_preload_content_request_timeoutrz?Got an unexpected keyword argument '%s' to method get_api_groupz/apis/certificates.k8s.io/z{format}jsonNzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufAcceptz Content-Type BearerTokenGET V1APIGroupT) body post_paramsfiles response_type auth_settingsrrrrcollection_formats) appendlocalsr TypeErrorreplacerselect_header_acceptselect_header_content_typecall_apir)r r all_paramsparamskeyvalr! resource_path path_params query_params header_params form_paramslocal_var_files body_paramsr r r r rCsP        z,CertificatesApi.get_api_group_with_http_info)N)__name__ __module__ __qualname____doc__r rrr r r r rs r)r7 __future__rsysosresixr configurationrrrobjectrr r r r  s