
    "                     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)AuthenticationV1beta1Api   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     Dlib/third_party/kubernetes/client/apis/authentication_v1beta1_api.py__init__!AuthenticationV1beta1Api.__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$ )a  
create a TokenReview
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_token_review(body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param V1beta1TokenReview body: (required)
:param str dry_run: When present, indicates that modifications should
not be persisted. An invalid or unrecognized dryRun directive will
result in an error response and no further processing of the request.
Valid values are: - All: all dry run stages will be processed
:param str field_manager: fieldManager is a name associated with the
actor or entity that is making these changes. The value must be less
than or 128 characters long, and only contain printable characters, as
defined by https://golang.org/pkg/unicode/#IsPrint.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1TokenReview
         If the method is called asynchronously,
         returns the request thread.
T_return_http_data_only	async_req)get"create_token_review_with_http_info)r   bodykwargsdatas       r   create_token_review,AuthenticationV1beta1Api.create_token_review%   sN    . (,F#$zz+44TDVDD66tFvFtkr   c                 \   / SQ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/ n	SU;   a  U	R                  SUS   45        SU;   a  U	R                  SUS   45        SU;   a  U	R                  SUS   45        0 n
/ n0 nS	nSU;   a  US   nU R
                  R                  / SQ5      U
S'   U R
                  R                  S/5      U
S'   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  
create a TokenReview
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_token_review_with_http_info(body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param V1beta1TokenReview body: (required)
:param str dry_run: When present, indicates that modifications should
not be persisted. An invalid or unrecognized dryRun directive will
result in an error response and no further processing of the request.
Valid values are: - All: all dry run stages will be processed
:param str field_manager: fieldManager is a name associated with the
actor or entity that is making these changes. The value must be less
than or 128 characters long, and only contain printable characters, as
defined by https://golang.org/pkg/unicode/#IsPrint.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1TokenReview
         If the method is called asynchronously,
         returns the request thread.
)r   dry_runfield_managerprettyr   r   _preload_content_request_timeoutr   zEGot an unexpected keyword argument '%s' to method create_token_reviewr   NzHMissing the required parameter `body` when calling `create_token_review`r   dryRunr   fieldManagerr   zapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufAcceptz*/*Content-TypeBearerTokenz0/apis/authentication.k8s.io/v1beta1/tokenreviewsPOSTV1beta1TokenReviewT
r   post_paramsfilesresponse_typeauth_settingsr   r   r    r!   collection_formats)
appendlocalsr   	TypeError
ValueErrorr   select_header_acceptselect_header_content_type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   ;AuthenticationV1beta1Api.create_token_review_with_http_infoC   s   2 @Jk"./()()XFfX./		 9;>? @ 	@Sk	 0
 	xf&."8
T  KLF8VI%678& >6/+BCD68VH%567MKOK6Nk"oolm ( %)OO""E7+ .! #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$ )ah  
get available resources
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_api_resources(async_req=True)
>>> result = thread.get()

:param async_req bool
:return: V1APIResourceList
         If the method is called asynchronously,
         returns the request thread.
Tr   r    )r    get_api_resources_with_http_info)r   r   r   s      r   get_api_resources*AuthenticationV1beta1Api.get_api_resources   sJ     (,F#$zz+22<V<<44>v>tkr   c                 n   / 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U R                  R                  / SQ5      U	S	'   U R                  R                  / SQ5      U	S
'   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$ )aw  
get available resources
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_api_resources_with_http_info(async_req=True)
>>> result = thread.get()

:param async_req bool
:return: V1APIResourceList
         If the method is called asynchronously,
         returns the request thread.
r   r   r    r!   r   zCGot an unexpected keyword argument '%s' to method get_api_resourcesNr$   r%   r&   r'   z$/apis/authentication.k8s.io/v1beta1/GETV1APIResourceListTr*   )	r0   r1   r   r2   r   r4   r5   r6   r   )r   r   r7   r8   r9   r:   r/   r;   r<   r=   r>   r?   r@   r.   s                 r   rD   9AuthenticationV1beta1Api.get_api_resources_with_http_info   sm    Jk"./()()XFfX./		 79<= > 	>Sk	 0
 	xKLMKOK"oolm ( %)OO""#rs .! #OM??##.)#**[)%zz*BC$6=$67- $ / /r   )r   r   )__name__
__module____qualname____firstlineno____doc__r   r   r   rE   rD   __static_attributes__rC   r   r   r   r      s#    !
<Z/x(B/r   r   )rO   
__future__r   sysosresixr   r   r   objectr   rC   r   r   <module>rW      s.   	 ' 
 	 	  "\/v \/r   