
    te                    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S rSrg)
BatchV1Api   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     6lib/third_party/kubernetes/client/apis/batch_v1_api.py__init__BatchV1Api.__init__    s    ;j O    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$ )a3  
create a Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_job(namespace, body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str namespace: object name and auth scope, such as for teams and
projects (required)
:param V1Job 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: V1Job
         If the method is called asynchronously,
         returns the request thread.
T_return_http_data_only	async_req)get$create_namespaced_job_with_http_info)r   	namespacebodykwargsdatas        r   create_namespaced_job BatchV1Api.create_namespaced_job%   s`    2 (,F#$zz+66y A9?A A 88
%#%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$ )aB  
create a Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_job_with_http_info(namespace, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str namespace: object name and auth scope, such as for teams and
projects (required)
:param V1Job 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: V1Job
         If the method is called asynchronously,
         returns the request thread.
)r   r   prettydry_runfield_managerr   r   _preload_content_request_timeoutr   zGGot an unexpected keyword argument '%s' to method create_namespaced_jobr   NzOMissing the required parameter `namespace` when calling `create_namespaced_job`r   zJMissing the required parameter `body` when calling `create_namespaced_job`r   r   dryRunr    fieldManagerapplication/jsonapplication/yaml#application/vnd.kubernetes.protobufAccept*/*Content-TypeBearerToken*/apis/batch/v1/namespaces/{namespace}/jobsPOSTV1JobT
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   r   
all_paramsparamskeyvalr5   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr4   s                   r   r   /BatchV1Api.create_namespaced_job_with_http_infoG   sA   6 MJk"./()()XFfX./		 ;=@A B 	BSk	 0
 	x6!vk':'B
[  	f&."8
V  Kf!'!4k+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??##4#**[)%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 collection of Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_namespaced_job(namespace,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str namespace: object name and auth scope, such as for teams and
projects (required)
: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_namespaced_job_with_http_infor   r   r   r   s       r    delete_collection_namespaced_job+BatchV1Api.delete_collection_namespaced_job   s_    P (,F#$zz+AA
  CC
tkr   c                 z   / 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        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$ )"aI  
delete collection of Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread =
api.delete_collection_namespaced_job_with_http_info(namespace,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str namespace: object name and auth scope, such as for teams and
projects (required)
: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   r   	_continuefield_selectorlabel_selectorlimitresource_versiontimeout_secondswatchr   r   r!   r"   r   zRGot an unexpected keyword argument '%s' to method delete_collection_namespaced_jobr   NzZMissing the required parameter `namespace` when calling `delete_collection_namespaced_job`r   rP   continuerQ   fieldSelectorrR   labelSelectorrS   rT   resourceVersionrU   timeoutSecondsrV   r%   r)   r*   r+   r,   r-   DELETEV1StatusTr0   r6   r   r   r   r>   r?   r@   rA   r5   rB   rC   rD   rE   rF   rG   r4   s                  r   rJ   :BatchV1Api.delete_collection_namespaced_job_with_http_info   s   VJ k"./()()XFfX./		 FHKL M 	MSk	 0
 	x6!vk':'B
f  Kf!'!4k+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??##4 #**[)%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  
delete a Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_job(name, namespace, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (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_namespaced_job_with_http_infor   namer   r   r   s        r   delete_namespaced_job BatchV1Api.delete_namespaced_job  sa    P (,F#$zz+66t A9?A A 88
%#%tkr   c                 2   / 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'   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 a Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_job_with_http_info(name, namespace,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (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.
)rc   r   r   r   r   grace_period_secondsorphan_dependentspropagation_policyr   r   r!   r"   r   zGGot an unexpected keyword argument '%s' to method delete_namespaced_jobrc   NzJMissing the required parameter `name` when calling `delete_namespaced_job`r   zOMissing the required parameter `namespace` when calling `delete_namespaced_job`r   r   r#   rg   gracePeriodSecondsrh   orphanDependentsri   propagationPolicyr   r%   r)   r*   r+   r,   1/apis/batch/v1/namespaces/{namespace}/jobs/{name}r\   r]   Tr0   r6   r   rc   r   r   r>   r?   r@   rA   r5   rB   rC   rD   rE   rF   rG   r4   s                   r   ra   /BatchV1Api.delete_namespaced_job_with_http_info  s   TJ k"./()()XFfX./		 ;=@A B 	BSk	 0
 	xf&."8
V  	6!vk':'B
[  K"6Nk&f!'!4k+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$ )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BatchV1Api.get_api_resourcesG  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/batch/v1/GETV1APIResourceListTr0   	r7   r8   r   r9   r   r;   r<   r=   r   r   r   r>   r?   r@   rA   r5   rB   rC   rD   rE   rF   rG   r4   s                 r   rr   +BatchV1Api.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 Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_job_for_all_namespaces(async_req=True)
>>> result = thread.get()

:param async_req bool
: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 pretty: If 'true', then the output is pretty printed.
: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: V1JobList
         If the method is called asynchronously,
         returns the request thread.
Tr   r   rq   )r   *list_job_for_all_namespaces_with_http_infors   s      r   list_job_for_all_namespaces&BatchV1Api.list_job_for_all_namespaces  sK    J (,F#$zz+<<FvFF>>HHt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 Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread =
api.list_job_for_all_namespaces_with_http_info(async_req=True)
>>> result = thread.get()

:param async_req bool
: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 pretty: If 'true', then the output is pretty printed.
: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: V1JobList
         If the method is called asynchronously,
         returns the request thread.
)rP   rQ   rR   rS   r   rT   rU   rV   r   r   r!   r"   r   zMGot an unexpected keyword argument '%s' to method list_job_for_all_namespacesrP   rW   rQ   rX   rR   rY   rS   r   rT   rZ   rU   r[   rV   Nr&   r'   r(   zapplication/json;stream=watchz0application/vnd.kubernetes.protobuf;stream=watchr)   r*   r+   r,   z/apis/batch/v1/jobsrw   	V1JobListTr0   ry   rz   s                 r   r}   5BatchV1Api.list_job_for_all_namespaces_with_http_info  s   NJ k"./()()XFfX./		 ACFG H 	HSk	 0
 	xKLf:vk':;<6!?F3C,DEF6!?F3C,DEF&7F7O4568VH%567V#,f5G.HIJF"+V4E-FGH&7F7O45MKOK"oo  B  	C ( %)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$ )a7  
list or watch objects of kind Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_job(namespace, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str namespace: object name and auth scope, such as for teams and
projects (required)
: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: V1JobList
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   "list_namespaced_job_with_http_inforK   s       r   list_namespaced_jobBatchV1Api.list_namespaced_job{  sO    N (,F#$zz+44YI&II66yKFKtkr   c                 z   / 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        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$ )"aF  
list or watch objects of kind Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_job_with_http_info(namespace,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str namespace: object name and auth scope, such as for teams and
projects (required)
: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: V1JobList
         If the method is called asynchronously,
         returns the request thread.
rO   r   r   r!   r"   r   zEGot an unexpected keyword argument '%s' to method list_namespaced_jobr   NzMMissing the required parameter `namespace` when calling `list_namespaced_job`r   rP   rW   rQ   rX   rR   rY   rS   rT   rZ   rU   r[   rV   r   r)   r*   r+   r,   r-   rw   r   Tr0   r6   r^   s                  r   r   -BatchV1Api.list_namespaced_job_with_http_info  s   RJ k"./()()XFfX./		 9;>? @ 	@Sk	 0
 	x6!vk':'B
Y  Kf!'!4k+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??##4!#**[)%zz*BC$6=$67- $ / /r   c                     SUS'   UR                  S5      (       a  U R                  " XU40 UD6$ U R                  " XU40 UD6nU$ )a  
partially update the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_job(name, namespace, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (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: V1Job
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   #patch_namespaced_job_with_http_infor   rc   r   r   r   r   s         r   patch_namespaced_jobBatchV1Api.patch_namespaced_jobb  sf    @ (,F#$zz+55dt @8>@ @ 77 B:@B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  pxXu;  a  [        SU-  5      eXU'   M     US	 SU;  d  US   c  [	        S
5      e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'   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 Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_job_with_http_info(name, namespace,
body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (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: V1Job
         If the method is called asynchronously,
         returns the request thread.
rc   r   r   r   r   r    forcer   r   r!   r"   r   zFGot an unexpected keyword argument '%s' to method patch_namespaced_jobrc   NzIMissing the required parameter `name` when calling `patch_namespaced_job`r   zNMissing the required parameter `namespace` when calling `patch_namespaced_job`r   zIMissing the required parameter `body` when calling `patch_namespaced_job`r   r   r#   r    r$   r   r%   r)   zapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonr+   r,   rm   PATCHr/   Tr0   r6   r   rc   r   r   r   r>   r?   r@   rA   r5   rB   rC   rD   rE   rF   rG   r4   s                    r   r   .BatchV1Api.patch_namespaced_job_with_http_info  s   DJ k"./()()XFfX./		 :<?@ A 	ASk	 0
 	xf&."8
U  	6!vk':'B
Z  	f&."8
U  K"6Nk&f!'!4k+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U40 UD6$ U R                  " XU40 UD6nU$ )a  
partially update status of the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_job_status(name, namespace, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (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: V1Job
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   *patch_namespaced_job_status_with_http_infor   s         r   patch_namespaced_job_status&BatchV1Api.patch_namespaced_job_status  sc    @ (,F#$zz+<<
4+#)+ + >>
4+#)+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  pxXu;  a  [        SU-  5      eXU'   M     US	 SU;  d  US   c  [	        S
5      e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'   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 Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_job_status_with_http_info(name,
namespace, body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (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: V1Job
         If the method is called asynchronously,
         returns the request thread.
r   r   r   r!   r"   r   zMGot an unexpected keyword argument '%s' to method patch_namespaced_job_statusrc   NzPMissing the required parameter `name` when calling `patch_namespaced_job_status`r   zUMissing the required parameter `namespace` when calling `patch_namespaced_job_status`r   zPMissing the required parameter `body` when calling `patch_namespaced_job_status`r   r   r#   r    r$   r   r%   r)   r   r+   r,   8/apis/batch/v1/namespaces/{namespace}/jobs/{name}/statusr   r/   Tr0   r6   r   s                    r   r   5BatchV1Api.patch_namespaced_job_status_with_http_info,  s   DJ k"./()()XFfX./		 ACFG H 	HSk	 0
 	xf&."8
\  	6!vk':'B
a  	f&."8
\  K"6Nk&f!'!4k+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??##B#**[)%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`  
read the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_job(name, namespace, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (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: V1Job
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   "read_namespaced_job_with_http_inforb   s        r   read_namespaced_jobBatchV1Api.read_namespaced_job  sU    , (,F#$zz+44TOOO66t A9?A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'   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$ )ao  
read the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_job_with_http_info(name, namespace,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (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: V1Job
         If the method is called asynchronously,
         returns the request thread.
)rc   r   r   exactexportr   r   r!   r"   r   zEGot an unexpected keyword argument '%s' to method read_namespaced_jobrc   NzHMissing the required parameter `name` when calling `read_namespaced_job`r   zMMissing the required parameter `namespace` when calling `read_namespaced_job`r   r   r   r%   r)   r*   r+   r,   rm   rw   r/   Tr0   r6   rn   s                   r   r   -BatchV1Api.read_namespaced_job_with_http_info  sD   0 DJk"./()()XFfX./		 9;>? @ 	@Sk	 0
 	xf&."8
T  	6!vk':'B
Y  K"6Nk&f!'!4k+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                  " X40 UD6$ U R                  " X40 UD6nU$ )aH  
read status of the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_job_status(name, namespace,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1Job
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   )read_namespaced_job_status_with_http_inforb   s        r   read_namespaced_job_status%BatchV1Api.read_namespaced_job_status$  s^    $ (,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'   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$ )aW  
read status of the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_job_status_with_http_info(name,
namespace, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (required)
:param str pretty: If 'true', then the output is pretty printed.
:return: V1Job
         If the method is called asynchronously,
         returns the request thread.
)rc   r   r   r   r   r!   r"   r   zLGot an unexpected keyword argument '%s' to method read_namespaced_job_statusrc   NzOMissing the required parameter `name` when calling `read_namespaced_job_status`r   zTMissing the required parameter `namespace` when calling `read_namespaced_job_status`r   r%   r)   r*   r+   r,   r   rw   r/   Tr0   r6   rn   s                   r   r   4BatchV1Api.read_namespaced_job_status_with_http_info?  s   ( 1Jk"./()()XFfX./		 @BEF G 	GSk	 0
 	xf&."8
[  	6!vk':'B
`  K"6Nk&f!'!4k+L68VH%567MKOK"oolm ( %)OO""E7+ .! #OM??##B#**[)%zz*BC$6=$67- $ / /r   c                     SUS'   UR                  S5      (       a  U R                  " XU40 UD6$ U R                  " XU40 UD6nU$ )as  
replace the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_job(name, namespace, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (required)
:param V1Job 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: V1Job
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   %replace_namespaced_job_with_http_infor   s         r   replace_namespaced_job!BatchV1Api.replace_namespaced_job  sd    6 (,F#$zz+77 B:@B B 99
4+#)+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  pxXu;  a  [        SU-  5      eXU'   M     US	 SU;  d  US   c  [	        S
5      e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'   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$ )a  
replace the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_job_with_http_info(name, namespace,
body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (required)
:param V1Job 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: V1Job
         If the method is called asynchronously,
         returns the request thread.
rc   r   r   r   r   r    r   r   r!   r"   r   zHGot an unexpected keyword argument '%s' to method replace_namespaced_jobrc   NzKMissing the required parameter `name` when calling `replace_namespaced_job`r   zPMissing the required parameter `namespace` when calling `replace_namespaced_job`r   zKMissing the required parameter `body` when calling `replace_namespaced_job`r   r   r#   r    r$   r%   r)   r*   r+   r,   rm   PUTr/   Tr0   r6   r   s                    r   r   0BatchV1Api.replace_namespaced_job_with_http_info  s{   :J k"./()()XFfX./		 <>AB C 	CSk	 0
 	xf&."8
W  	6!vk':'B
\  	f&."8
W  K"6Nk&f!'!4k+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U40 UD6$ U R                  " XU40 UD6nU$ )a  
replace status of the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_job_status(name, namespace, body,
async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (required)
:param V1Job 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: V1Job
         If the method is called asynchronously,
         returns the request thread.
Tr   r   )r   ,replace_namespaced_job_status_with_http_infor   s         r   replace_namespaced_job_status(BatchV1Api.replace_namespaced_job_status-  sb    6 (,F#$zz+>>
4+#)+ + @@
4+#)+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  pxXu;  a  [        SU-  5      eXU'   M     US	 SU;  d  US   c  [	        S
5      e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'   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$ )a  
replace status of the specified Job
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_job_status_with_http_info(name,
namespace, body, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the Job (required)
:param str namespace: object name and auth scope, such as for teams and
projects (required)
:param V1Job 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: V1Job
         If the method is called asynchronously,
         returns the request thread.
r   r   r   r!   r"   r   zOGot an unexpected keyword argument '%s' to method replace_namespaced_job_statusrc   NzRMissing the required parameter `name` when calling `replace_namespaced_job_status`r   zWMissing the required parameter `namespace` when calling `replace_namespaced_job_status`r   zRMissing the required parameter `body` when calling `replace_namespaced_job_status`r   r   r#   r    r$   r%   r)   r*   r+   r,   r   r   r/   Tr0   r6   r   s                    r   r   7BatchV1Api.replace_namespaced_job_status_with_http_infoQ  s|   :J k"./()()XFfX./		 CEHI J 	JSk	 0
 	xf&."8
^  	6!vk':'B
c  	f&."8
^  K"6Nk&f!'!4k+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??##B#**[)%zz*BC$6=$67- $ / /r   )r   r   )__name__
__module____qualname____firstlineno____doc__r   r   r   rL   rJ   rd   ra   rt   rr   r~   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   __static_attributes__rq   r   r   r   r      s    !
 Dc/JObY/v/b|/|(B/HJXN/`L\W/r'Rv/p'Rv/p<`/D6X/t"Hn/`"Hn/r   r   )r   
__future__r   sysosresixr   r   r   objectr   rq   r   r   <module>r      s.   	 ' 
 	 	  "f/ f/r   