
                        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
S
 rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rSrg)ApiregistrationV1Api   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     @lib/third_party/kubernetes/client/apis/apiregistration_v1_api.py__init__ApiregistrationV1Api.__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 an APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_api_service(body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param V1APIService body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
T_return_http_data_only	async_req)get!create_api_service_with_http_info)r   bodykwargsdatas       r   create_api_service'ApiregistrationV1Api.create_api_service%   sN    . (,F#$zz+33DCFCC55dEfEt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 an APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_api_service_with_http_info(body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param V1APIService body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
)r   prettydry_runfield_managerr   r   _preload_content_request_timeoutr   zDGot an unexpected keyword argument '%s' to method create_api_servicer   NzGMissing the required parameter `body` when calling `create_api_service`r   r   dryRunr   fieldManagerapplication/jsonapplication/yaml#application/vnd.kubernetes.protobufAccept*/*Content-TypeBearerToken+/apis/apiregistration.k8s.io/v1/apiservicesPOSTV1APIServiceT
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valr4   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr3   s                  r   r   6ApiregistrationV1Api.create_api_service_with_http_infoC   s   0 @Jk"./()()XFfX./		 8:=> ? 	?Sk	 0
 	xf&."8
S  KL68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##5$#**[)%zz*BC$6=$67- $ / /r   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  
delete an APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_api_service(name, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param str pretty: If 'true', then the output is pretty printed.
:param V1DeleteOptions body:
: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 int grace_period_seconds: The duration in seconds before the
object should be deleted. Value must be non-negative integer. The value
zero indicates delete immediately. If this value is nil, the default
grace period for the specified type will be used. Defaults to a per
object value if not specified. zero means delete immediately.
:param bool orphan_dependents: Deprecated: please use the
PropagationPolicy, this field will be deprecated in 1.7. Should the
dependent objects be orphaned. If true/false, the "orphan" finalizer
will be added to/removed from the object's finalizers list. Either this
field or PropagationPolicy may be set, but not both.
:param str propagation_policy: Whether and how garbage collection will
be performed. Either this field or OrphanDependents may be set, but not
both. The default policy is decided by the existing finalizer set in the
metadata.finalizers and the resource-specific default policy. Acceptable
values are: 'Orphan' - orphan the dependents; 'Background' - allow the
garbage collector to delete the dependents in the background;
'Foreground' - a cascading policy that deletes all dependents in the
foreground.
:return: V1Status
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   !delete_api_service_with_http_infor   namer   r   s       r   delete_api_service'ApiregistrationV1Api.delete_api_service   sO    L (,F#$zz+33DCFCC55dEfEt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SU;   a  US   US'   / 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        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  
delete an APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_api_service_with_http_info(name, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param str pretty: If 'true', then the output is pretty printed.
:param V1DeleteOptions body:
: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 int grace_period_seconds: The duration in seconds before the
object should be deleted. Value must be non-negative integer. The value
zero indicates delete immediately. If this value is nil, the default
grace period for the specified type will be used. Defaults to a per
object value if not specified. zero means delete immediately.
:param bool orphan_dependents: Deprecated: please use the
PropagationPolicy, this field will be deprecated in 1.7. Should the
dependent objects be orphaned. If true/false, the "orphan" finalizer
will be added to/removed from the object's finalizers list. Either this
field or PropagationPolicy may be set, but not both.
:param str propagation_policy: Whether and how garbage collection will
be performed. Either this field or OrphanDependents may be set, but not
both. The default policy is decided by the existing finalizer set in the
metadata.finalizers and the resource-specific default policy. Acceptable
values are: 'Orphan' - orphan the dependents; 'Background' - allow the
garbage collector to delete the dependents in the background;
'Foreground' - a cascading policy that deletes all dependents in the
foreground.
:return: V1Status
         If the method is called asynchronously,
         returns the request thread.
)rK   r   r   r   grace_period_secondsorphan_dependentspropagation_policyr   r   r    r!   r   zDGot an unexpected keyword argument '%s' to method delete_api_servicerK   NzGMissing the required parameter `name` when calling `delete_api_service`r   r   r"   rO   gracePeriodSecondsrP   orphanDependentsrQ   propagationPolicyr   r$   r(   r)   r*   r+   2/apis/apiregistration.k8s.io/v1/apiservices/{name}DELETEV1StatusTr/   r5   r   rK   r   r=   r>   r?   r@   r4   rA   rB   rC   rD   rE   rF   r3   s                  r   rI   6ApiregistrationV1Api.delete_api_service_with_http_info   sd   NJ k"./()()XFfX./		 8:=> ? 	?Sk	 0
 	xf&."8
S  K"6Nk&L68VH%567F8VI%678'(>!?
@Bf$-v6I/JKLv%.7K0LMN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$ )a  
delete collection of APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_api_service(async_req=True)
>>> result = thread.get()

:param async_req bool
:param str pretty: If 'true', then the output is pretty printed.
:param str _continue: The continue option should be set when retrieving
more results from the server. Since this value is server defined,
clients may only use the continue value from a previous query result
with identical query parameters (except for the value of continue) and
the server may reject a continue value it does not recognize. If the
specified continue value is no longer valid whether due to expiration
(generally five to fifteen minutes) or a configuration change on the
server, the server will respond with a 410 ResourceExpired error
together with a continue token. If the client needs a consistent list,
it must restart their list without the continue field. Otherwise, the
client may send another list request with the token received with the
410 error, the server will respond with a list starting from the next
key, but from the latest snapshot, which is inconsistent from the
previous list results - objects that are created, modified, or deleted
after the first list request will be included in the response, as long
as their keys are after the "next key".  This field is not supported
when watch is true. Clients may start a watch from the last
resourceVersion value returned by the server and not miss any
modifications.
:param str field_selector: A selector to restrict the list of returned
objects by their fields. Defaults to everything.
:param str label_selector: A selector to restrict the list of returned
objects by their labels. Defaults to everything.
:param int limit: limit is a maximum number of responses to return for a
list call. If more items exist, the server will set the `continue` field
on the list metadata to a value that can be used with the same initial
query to retrieve the next set of results. Setting a limit may return
fewer than the requested amount of items (up to zero items) in the event
all requested objects are filtered out and clients should only use the
presence of the continue field to determine whether more results are
available. Servers may choose not to support the limit argument and will
return all of the available results. If limit is specified and the
continue field is empty, clients may assume that no more results are
available. This field is not supported if watch is true.  The server
guarantees that the objects returned when using continue will be
identical to issuing a single list call without a limit - that is, no
objects created, modified, or deleted after the first request is issued
will be included in any subsequent continued requests. This is sometimes
referred to as a consistent snapshot, and ensures that a client that is
using limit to receive smaller chunks of a very large result can ensure
they see all possible objects. If objects are updated during a chunked
list the version of the object that was present at the time the first
list result was calculated is returned.
:param str resource_version: When specified with a watch call, shows
changes that occur after that particular version of a resource. Defaults
to changes from the beginning of history. When specified for list: - if
unset, then the result is returned from remote storage based on
quorum-read flag; - if it's 0, then we simply return what we currently
have in cache, no guarantee; - if set to non zero, then the result is at
least as fresh as given rv.
:param int timeout_seconds: Timeout for the list/watch call. This limits
the duration of the call, regardless of any activity or inactivity.
:param bool watch: Watch for changes to the described resources and
return them as a stream of add, update, and remove notifications.
Specify resourceVersion.
:return: V1Status
         If the method is called asynchronously,
         returns the request thread.
Tr   r    )r   ,delete_collection_api_service_with_http_infor   r   r   s      r   delete_collection_api_service2ApiregistrationV1Api.delete_collection_api_service?  sK    J (,F#$zz+>>HHH@@J6Jtkr   c                 0   / 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  pEXB;  a  [        SU-  5      eXSU'   M     US	 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        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        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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  
delete collection of APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread =
api.delete_collection_api_service_with_http_info(async_req=True)
>>> result = thread.get()

:param async_req bool
:param str pretty: If 'true', then the output is pretty printed.
:param str _continue: The continue option should be set when retrieving
more results from the server. Since this value is server defined,
clients may only use the continue value from a previous query result
with identical query parameters (except for the value of continue) and
the server may reject a continue value it does not recognize. If the
specified continue value is no longer valid whether due to expiration
(generally five to fifteen minutes) or a configuration change on the
server, the server will respond with a 410 ResourceExpired error
together with a continue token. If the client needs a consistent list,
it must restart their list without the continue field. Otherwise, the
client may send another list request with the token received with the
410 error, the server will respond with a list starting from the next
key, but from the latest snapshot, which is inconsistent from the
previous list results - objects that are created, modified, or deleted
after the first list request will be included in the response, as long
as their keys are after the "next key".  This field is not supported
when watch is true. Clients may start a watch from the last
resourceVersion value returned by the server and not miss any
modifications.
:param str field_selector: A selector to restrict the list of returned
objects by their fields. Defaults to everything.
:param str label_selector: A selector to restrict the list of returned
objects by their labels. Defaults to everything.
:param int limit: limit is a maximum number of responses to return for a
list call. If more items exist, the server will set the `continue` field
on the list metadata to a value that can be used with the same initial
query to retrieve the next set of results. Setting a limit may return
fewer than the requested amount of items (up to zero items) in the event
all requested objects are filtered out and clients should only use the
presence of the continue field to determine whether more results are
available. Servers may choose not to support the limit argument and will
return all of the available results. If limit is specified and the
continue field is empty, clients may assume that no more results are
available. This field is not supported if watch is true.  The server
guarantees that the objects returned when using continue will be
identical to issuing a single list call without a limit - that is, no
objects created, modified, or deleted after the first request is issued
will be included in any subsequent continued requests. This is sometimes
referred to as a consistent snapshot, and ensures that a client that is
using limit to receive smaller chunks of a very large result can ensure
they see all possible objects. If objects are updated during a chunked
list the version of the object that was present at the time the first
list result was calculated is returned.
:param str resource_version: When specified with a watch call, shows
changes that occur after that particular version of a resource. Defaults
to changes from the beginning of history. When specified for list: - if
unset, then the result is returned from remote storage based on
quorum-read flag; - if it's 0, then we simply return what we currently
have in cache, no guarantee; - if set to non zero, then the result is at
least as fresh as given rv.
:param int timeout_seconds: Timeout for the list/watch call. This limits
the duration of the call, regardless of any activity or inactivity.
:param bool watch: Watch for changes to the described resources and
return them as a stream of add, update, and remove notifications.
Specify resourceVersion.
:return: V1Status
         If the method is called asynchronously,
         returns the request thread.
r   	_continuefield_selectorlabel_selectorlimitresource_versiontimeout_secondswatchr   r   r    r!   r   zOGot an unexpected keyword argument '%s' to method delete_collection_api_servicer   rb   continuerc   fieldSelectorrd   labelSelectorre   rf   resourceVersionrg   timeoutSecondsrh   Nr$   r(   r)   r*   r+   r,   rV   rW   Tr/   	r6   r7   r   r8   r   r:   r;   r<   r   r   r   r=   r>   r?   r@   r4   rA   rB   rC   rD   rE   rF   r3   s                 r   r\   AApiregistrationV1Api.delete_collection_api_service_with_http_info  sy   NJ k"./()()XFfX./		 CEHI J 	JSk	 0
 	xKL68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oolm ( %)OO""E7+ .! #OM??##5 #**[)%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[   )r    get_api_resources_with_http_infor]   s      r   get_api_resources&ApiregistrationV1Api.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/apiregistration.k8s.io/v1/GETV1APIResourceListTr/   rn   ro   s                 r   rr   5ApiregistrationV1Api.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   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$ )a  
list or watch objects of kind APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_api_service(async_req=True)
>>> result = thread.get()

:param async_req bool
:param str pretty: If 'true', then the output is pretty printed.
:param str _continue: The continue option should be set when retrieving
more results from the server. Since this value is server defined,
clients may only use the continue value from a previous query result
with identical query parameters (except for the value of continue) and
the server may reject a continue value it does not recognize. If the
specified continue value is no longer valid whether due to expiration
(generally five to fifteen minutes) or a configuration change on the
server, the server will respond with a 410 ResourceExpired error
together with a continue token. If the client needs a consistent list,
it must restart their list without the continue field. Otherwise, the
client may send another list request with the token received with the
410 error, the server will respond with a list starting from the next
key, but from the latest snapshot, which is inconsistent from the
previous list results - objects that are created, modified, or deleted
after the first list request will be included in the response, as long
as their keys are after the "next key".  This field is not supported
when watch is true. Clients may start a watch from the last
resourceVersion value returned by the server and not miss any
modifications.
:param str field_selector: A selector to restrict the list of returned
objects by their fields. Defaults to everything.
:param str label_selector: A selector to restrict the list of returned
objects by their labels. Defaults to everything.
:param int limit: limit is a maximum number of responses to return for a
list call. If more items exist, the server will set the `continue` field
on the list metadata to a value that can be used with the same initial
query to retrieve the next set of results. Setting a limit may return
fewer than the requested amount of items (up to zero items) in the event
all requested objects are filtered out and clients should only use the
presence of the continue field to determine whether more results are
available. Servers may choose not to support the limit argument and will
return all of the available results. If limit is specified and the
continue field is empty, clients may assume that no more results are
available. This field is not supported if watch is true.  The server
guarantees that the objects returned when using continue will be
identical to issuing a single list call without a limit - that is, no
objects created, modified, or deleted after the first request is issued
will be included in any subsequent continued requests. This is sometimes
referred to as a consistent snapshot, and ensures that a client that is
using limit to receive smaller chunks of a very large result can ensure
they see all possible objects. If objects are updated during a chunked
list the version of the object that was present at the time the first
list result was calculated is returned.
:param str resource_version: When specified with a watch call, shows
changes that occur after that particular version of a resource. Defaults
to changes from the beginning of history. When specified for list: - if
unset, then the result is returned from remote storage based on
quorum-read flag; - if it's 0, then we simply return what we currently
have in cache, no guarantee; - if set to non zero, then the result is at
least as fresh as given rv.
:param int timeout_seconds: Timeout for the list/watch call. This limits
the duration of the call, regardless of any activity or inactivity.
:param bool watch: Watch for changes to the described resources and
return them as a stream of add, update, and remove notifications.
Specify resourceVersion.
:return: V1APIServiceList
         If the method is called asynchronously,
         returns the request thread.
Tr   r   r[   )r   list_api_service_with_http_infor]   s      r   list_api_service%ApiregistrationV1Api.list_api_services  sK    J (,F#$zz+11;F;;33=f=tkr   c                 0   / 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  pEXB;  a  [        SU-  5      eXSU'   M     US	 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        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        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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  
list or watch objects of kind APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_api_service_with_http_info(async_req=True)
>>> result = thread.get()

:param async_req bool
:param str pretty: If 'true', then the output is pretty printed.
:param str _continue: The continue option should be set when retrieving
more results from the server. Since this value is server defined,
clients may only use the continue value from a previous query result
with identical query parameters (except for the value of continue) and
the server may reject a continue value it does not recognize. If the
specified continue value is no longer valid whether due to expiration
(generally five to fifteen minutes) or a configuration change on the
server, the server will respond with a 410 ResourceExpired error
together with a continue token. If the client needs a consistent list,
it must restart their list without the continue field. Otherwise, the
client may send another list request with the token received with the
410 error, the server will respond with a list starting from the next
key, but from the latest snapshot, which is inconsistent from the
previous list results - objects that are created, modified, or deleted
after the first list request will be included in the response, as long
as their keys are after the "next key".  This field is not supported
when watch is true. Clients may start a watch from the last
resourceVersion value returned by the server and not miss any
modifications.
:param str field_selector: A selector to restrict the list of returned
objects by their fields. Defaults to everything.
:param str label_selector: A selector to restrict the list of returned
objects by their labels. Defaults to everything.
:param int limit: limit is a maximum number of responses to return for a
list call. If more items exist, the server will set the `continue` field
on the list metadata to a value that can be used with the same initial
query to retrieve the next set of results. Setting a limit may return
fewer than the requested amount of items (up to zero items) in the event
all requested objects are filtered out and clients should only use the
presence of the continue field to determine whether more results are
available. Servers may choose not to support the limit argument and will
return all of the available results. If limit is specified and the
continue field is empty, clients may assume that no more results are
available. This field is not supported if watch is true.  The server
guarantees that the objects returned when using continue will be
identical to issuing a single list call without a limit - that is, no
objects created, modified, or deleted after the first request is issued
will be included in any subsequent continued requests. This is sometimes
referred to as a consistent snapshot, and ensures that a client that is
using limit to receive smaller chunks of a very large result can ensure
they see all possible objects. If objects are updated during a chunked
list the version of the object that was present at the time the first
list result was calculated is returned.
:param str resource_version: When specified with a watch call, shows
changes that occur after that particular version of a resource. Defaults
to changes from the beginning of history. When specified for list: - if
unset, then the result is returned from remote storage based on
quorum-read flag; - if it's 0, then we simply return what we currently
have in cache, no guarantee; - if set to non zero, then the result is at
least as fresh as given rv.
:param int timeout_seconds: Timeout for the list/watch call. This limits
the duration of the call, regardless of any activity or inactivity.
:param bool watch: Watch for changes to the described resources and
return them as a stream of add, update, and remove notifications.
Specify resourceVersion.
:return: V1APIServiceList
         If the method is called asynchronously,
         returns the request thread.
ra   r   r   r    r!   r   zBGot an unexpected keyword argument '%s' to method list_api_servicer   rb   ri   rc   rj   rd   rk   re   rf   rl   rg   rm   rh   N)r%   r&   r'   zapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchr(   r)   r*   r+   r,   rv   V1APIServiceListTr/   rn   ro   s                 r   rz   4ApiregistrationV1Api.list_api_service_with_http_info  s{   LJ k"./()()XFfX./		 68;< = 	=Sk	 0
 	xKL68VH%567f:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O45V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)OO""E7+ .! #OM??##5(#**[)%zz*BC$6=$67- $ / /r   c                     SUS'   UR                  S5      (       a  U R                  " X40 UD6$ U R                  " X40 UD6nU$ )a{  
partially update the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_api_service(name, body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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. This field is
required for apply requests (application/apply-patch) but optional for
non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
:param bool force: Force is going to "force" Apply requests. It means
user will re-acquire conflicting fields owned by other people. Force
flag must be unset for non-apply patch requests.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r    patch_api_service_with_http_infor   rK   r   r   r   s        r   patch_api_service&ApiregistrationV1Api.patch_api_serviceN  sN    : (,F#$zz+224HHH44TJ6Jt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  pgXd;  a  [        SU-  5      eXuU'   M     US	 SU;  d  US   c  [	        S
5      eSU;  d  US   c  [	        S5      e0 n0 n	SU;   a  US   U	S'   / 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        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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$ )a  
partially update the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_api_service_with_http_info(name, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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. This field is
required for apply requests (application/apply-patch) but optional for
non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
:param bool force: Force is going to "force" Apply requests. It means
user will re-acquire conflicting fields owned by other people. Force
flag must be unset for non-apply patch requests.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
rK   r   r   r   r   forcer   r   r    r!   r   zCGot an unexpected keyword argument '%s' to method patch_api_servicerK   NzFMissing the required parameter `name` when calling `patch_api_service`r   zFMissing the required parameter `body` when calling `patch_api_service`r   r   r"   r   r#   r   r$   r(   zapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonr*   r+   rU   PATCHr.   Tr/   r5   r   rK   r   r   r=   r>   r?   r@   r4   rA   rB   rC   rD   rE   rF   r3   s                   r   r   5ApiregistrationV1Api.patch_api_service_with_http_infor  s`   > QJk"./()()XFfX./		 79<= > 	>Sk	 0
 	xf&."8
R  	f&."8
R  K"6Nk&L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##<$#**[)%zz*BC$6=$67- $ / /r   c                     SUS'   UR                  S5      (       a  U R                  " X40 UD6$ U R                  " X40 UD6nU$ )a  
partially update status of the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_api_service_status(name, body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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. This field is
required for apply requests (application/apply-patch) but optional for
non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
:param bool force: Force is going to "force" Apply requests. It means
user will re-acquire conflicting fields owned by other people. Force
flag must be unset for non-apply patch requests.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   'patch_api_service_status_with_http_infor   s        r   patch_api_service_status-ApiregistrationV1Api.patch_api_service_status  sT    : (,F#$zz+99$OOO;;
  t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  pgXd;  a  [        SU-  5      eXuU'   M     US	 SU;  d  US   c  [	        S
5      eSU;  d  US   c  [	        S5      e0 n0 n	SU;   a  US   U	S'   / 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        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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$ )a  
partially update status of the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_api_service_status_with_http_info(name, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param object body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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. This field is
required for apply requests (application/apply-patch) but optional for
non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
:param bool force: Force is going to "force" Apply requests. It means
user will re-acquire conflicting fields owned by other people. Force
flag must be unset for non-apply patch requests.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
r   r   r   r    r!   r   zJGot an unexpected keyword argument '%s' to method patch_api_service_statusrK   NzMMissing the required parameter `name` when calling `patch_api_service_status`r   zMMissing the required parameter `body` when calling `patch_api_service_status`r   r   r"   r   r#   r   r$   r(   r   r*   r+   9/apis/apiregistration.k8s.io/v1/apiservices/{name}/statusr   r.   Tr/   r5   r   s                   r   r   <ApiregistrationV1Api.patch_api_service_status_with_http_info  sc   > QJk"./()()XFfX./		 >@CD E 	ESk	 0
 	xf&."8
Y  	f&."8
Y  K"6Nk&L68VH%567F8VI%678& >6/+BCD&7F7O45MKOK6Nk"oolm ( %)OO""  $M  	N .! #OM??##C$#**[)%zz*BC$6=$67- $ / /r   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  
read the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_api_service(name, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param str pretty: If 'true', then the output is pretty printed.
:param bool exact: Should the export be exact.  Exact export maintains
cluster-specific fields like 'Namespace'. Deprecated. Planned for
removal in 1.18.
:param bool export: Should this value be exported.  Export strips fields
that a user can not specify. Deprecated. Planned for removal in 1.18.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   read_api_service_with_http_inforJ   s       r   read_api_service%ApiregistrationV1Api.read_api_servicem  sN    ( (,F#$zz+11$A&AA33DCFCtkr   c                 b   / 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SU;   a  US   US'   / 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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  
read the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_api_service_with_http_info(name, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param str pretty: If 'true', then the output is pretty printed.
:param bool exact: Should the export be exact.  Exact export maintains
cluster-specific fields like 'Namespace'. Deprecated. Planned for
removal in 1.18.
:param bool export: Should this value be exported.  Export strips fields
that a user can not specify. Deprecated. Planned for removal in 1.18.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
)rK   r   exactexportr   r   r    r!   r   zBGot an unexpected keyword argument '%s' to method read_api_servicerK   NzEMissing the required parameter `name` when calling `read_api_service`r   r   r   r$   r(   r)   r*   r+   rU   rv   r.   Tr/   r5   rX   s                  r   r   4ApiregistrationV1Api.read_api_service_with_http_info  s   * 7Jk"./()()XFfX./		 68;< = 	=Sk	 0
 	xf&."8
Q  K"6Nk&L68VH%567&7F7O4568VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##<$#**[)%zz*BC$6=$67- $ / /r   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  
read status of the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_api_service_status(name, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   &read_api_service_status_with_http_inforJ   s       r   read_api_service_status,ApiregistrationV1Api.read_api_service_status  sN     (,F#$zz+88HHH::4J6Jtkr   c                    SS/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SU;   a  US   US'   / n	SU;   a  U	R                  SUS   45        0 n
/ n0 n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  
read status of the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_api_service_status_with_http_info(name,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
rK   r   r   r   r    r!   r   zIGot an unexpected keyword argument '%s' to method read_api_service_statusNzLMissing the required parameter `name` when calling `read_api_service_status`r$   r(   r)   r*   r+   r   rv   r.   Tr/   r5   rX   s                  r   r   ;ApiregistrationV1Api.read_api_service_status_with_http_info  s   " (#Jk"./()()XFfX./		 =?BC D 	DSk	 0
 	xf&."8
X  K"6Nk&L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##C$#**[)%zz*BC$6=$67- $ / /r   c                     SUS'   UR                  S5      (       a  U R                  " X40 UD6$ U R                  " X40 UD6nU$ )a%  
replace the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_api_service(name, body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param V1APIService body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   "replace_api_service_with_http_infor   s        r   replace_api_service(ApiregistrationV1Api.replace_api_serviceF  sN    0 (,F#$zz+44TJ6JJ66tLVLt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  pgXd;  a  [        SU-  5      eXuU'   M     US	 SU;  d  US   c  [	        S
5      eSU;  d  US   c  [	        S5      e0 n0 n	SU;   a  US   U	S'   / 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$ )a4  
replace the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_api_service_with_http_info(name, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param V1APIService body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
rK   r   r   r   r   r   r   r    r!   r   zEGot an unexpected keyword argument '%s' to method replace_api_servicerK   NzHMissing the required parameter `name` when calling `replace_api_service`r   zHMissing the required parameter `body` when calling `replace_api_service`r   r   r"   r   r#   r$   r(   r)   r*   r+   rU   PUTr.   Tr/   r5   r   s                   r   r   7ApiregistrationV1Api.replace_api_service_with_http_infoe  s>   4 HJk"./()()XFfX./		 9;>? @ 	@Sk	 0
 	xf&."8
T  	f&."8
T  K"6Nk&L68VH%567F8VI%678& >6/+BCD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                  " X40 UD6$ U R                  " X40 UD6nU$ )a6  
replace status of the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_api_service_status(name, body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param V1APIService body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   )replace_api_service_status_with_http_infor   s        r   replace_api_service_status/ApiregistrationV1Api.replace_api_service_status  s^    0 (,F#$zz+;;
     ==
  t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  pgXd;  a  [        SU-  5      eXuU'   M     US	 SU;  d  US   c  [	        S
5      eSU;  d  US   c  [	        S5      e0 n0 n	SU;   a  US   U	S'   / 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$ )aE  
replace status of the specified APIService
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_api_service_status_with_http_info(name, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the APIService (required)
:param V1APIService body: (required)
:param str pretty: If 'true', then the output is pretty printed.
: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.
:return: V1APIService
         If the method is called asynchronously,
         returns the request thread.
r   r   r   r    r!   r   zLGot an unexpected keyword argument '%s' to method replace_api_service_statusrK   NzOMissing the required parameter `name` when calling `replace_api_service_status`r   zOMissing the required parameter `body` when calling `replace_api_service_status`r   r   r"   r   r#   r$   r(   r)   r*   r+   r   r   r.   Tr/   r5   r   s                   r   r   >ApiregistrationV1Api.replace_api_service_status_with_http_info  s@   4 HJk"./()()XFfX./		 @BEF G 	GSk	 0
 	xf&."8
[  	f&."8
[  K"6Nk&L68VH%567F8VI%678& >6/+BCDMKOK6Nk"oolm ( %)OO""E7+ .! #OM??##C$#**[)%zz*BC$6=$67- $ / /r   )r   r   )__name__
__module____qualname____firstlineno____doc__r   r   r   rL   rI   r^   r\   rs   rr   r{   rz   r   r   r   r   r   r   r   r   r   r   r   r   __static_attributes__r[   r   r   r   r      s    !
<Y/v+Zr/hJXN/`(B/HJXM/^"Hi/V#Ji/V6V/p,N/`>b/HBb/r   r   )r   
__future__r   sysosresixr   r   r   objectr   r[   r   r   <module>r      s.   	 ' 
 	 	  "s/6 s/r   