
    @                     >    S r SSKJr  SSKJr  SSK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
    )pformat)	iteritemsNc                      \ rS rSrSr SSSSSSSSSSSS.rSS	S
SSSSSSSSS.r           S1S jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S  5       r\S! 5       r\R                  S" 5       r\S# 5       r\R                  S$ 5       r\S% 5       r\R                  S& 5       r\S' 5       r\R                  S( 5       r\S) 5       r\R                  S* 5       rS+ rS, rS- rS. rS/ rS0rg)2V1PodStatus   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
zlist[V1PodCondition]zlist[V1ContainerStatus]strdatetime)
conditionscontainer_statuseshost_ipinit_container_statusesmessagenominated_node_namephasepod_ip	qos_classreason
start_timer
   containerStatuseshostIPinitContainerStatusesr   nominatedNodeNamer   podIPqosClassr   	startTimeNc                 t   SU l         SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l	        SU l
        SU l        Ub  Xl        Ub  X l        Ub  X0l        Ub  X@l        Ub  XPl        Ub  X`l        Ub  Xpl        Ub  Xl        U	b  Xl        U
b  Xl        Ub  Xl        gg)z*
V1PodStatus - a model defined in Swagger
N)_conditions_container_statuses_host_ip_init_container_statuses_message_nominated_node_name_phase_pod_ip
_qos_class_reason_start_timediscriminatorr
   r   r   r   r   r   r   r   r   r   r   )selfr
   r   r   r   r   r   r   r   r   r   r   s               9lib/third_party/kubernetes/client/models/v1_pod_status.py__init__V1PodStatus.__init__:   s      D#DDM$(D!DM $DDKDLDODLDD"o% 2l*%<"l&!4jk nk"o     c                     U R                   $ )z
Gets the conditions of this V1PodStatus.
Current service state of pod. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

:return: The conditions of this V1PodStatus.
:rtype: list[V1PodCondition]
r   r)   s    r*   r
   V1PodStatus.conditionsn   s     r-   c                     Xl         g)z
Sets the conditions of this V1PodStatus.
Current service state of pod. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

:param conditions: The conditions of this V1PodStatus.
:type: list[V1PodCondition]
Nr/   )r)   r
   s     r*   r
   r1   z   s
     "r-   c                     U R                   $ )a[  
Gets the container_statuses of this V1PodStatus.
The list has one entry per container in the manifest. Each entry is
currently the output of `docker inspect`. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status

:return: The container_statuses of this V1PodStatus.
:rtype: list[V1ContainerStatus]
r   r0   s    r*   r   V1PodStatus.container_statuses   s     ###r-   c                     Xl         g)al  
Sets the container_statuses of this V1PodStatus.
The list has one entry per container in the manifest. Each entry is
currently the output of `docker inspect`. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status

:param container_statuses: The container_statuses of this V1PodStatus.
:type: list[V1ContainerStatus]
Nr4   )r)   r   s     r*   r   r5      s
      2r-   c                     U R                   $ )z
Gets the host_ip of this V1PodStatus.
IP address of the host to which the pod is assigned. Empty if not yet
scheduled.

:return: The host_ip of this V1PodStatus.
:rtype: str
r   r0   s    r*   r   V1PodStatus.host_ip        ==r-   c                     Xl         g)z
Sets the host_ip of this V1PodStatus.
IP address of the host to which the pod is assigned. Empty if not yet
scheduled.

:param host_ip: The host_ip of this V1PodStatus.
:type: str
Nr8   )r)   r   s     r*   r   r9      	     Mr-   c                     U R                   $ )a  
Gets the init_container_statuses of this V1PodStatus.
The list has one entry per init container in the manifest. The most
recent successful init container will have ready = true, the most
recently started container will have startTime set. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status

:return: The init_container_statuses of this V1PodStatus.
:rtype: list[V1ContainerStatus]
r    r0   s    r*   r   #V1PodStatus.init_container_statuses   s     (((r-   c                     Xl         g)a  
Sets the init_container_statuses of this V1PodStatus.
The list has one entry per init container in the manifest. The most
recent successful init container will have ready = true, the most
recently started container will have startTime set. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status

:param init_container_statuses: The init_container_statuses of this
V1PodStatus.
:type: list[V1ContainerStatus]
Nr>   )r)   r   s     r*   r   r?      s
     %<!r-   c                     U R                   $ )z
Gets the message of this V1PodStatus.
A human readable message indicating details about why the pod is in this
condition.

:return: The message of this V1PodStatus.
:rtype: str
r!   r0   s    r*   r   V1PodStatus.message   r:   r-   c                     Xl         g)z
Sets the message of this V1PodStatus.
A human readable message indicating details about why the pod is in this
condition.

:param message: The message of this V1PodStatus.
:type: str
NrB   )r)   r   s     r*   r   rC      r<   r-   c                     U R                   $ )a  
Gets the nominated_node_name of this V1PodStatus.
nominatedNodeName is set only when this pod preempts other pods on the
node, but it cannot be scheduled right away as preemption victims
receive their graceful termination periods. This field does not
guarantee that the pod will be scheduled on this node. Scheduler may
decide to place the pod elsewhere if other nodes become available
sooner. Scheduler may also decide to give the resources on this node to
a higher priority pod that is created after preemption. As a result,
this field may be different than PodSpec.nodeName when the pod is
scheduled.

:return: The nominated_node_name of this V1PodStatus.
:rtype: str
r"   r0   s    r*   r   V1PodStatus.nominated_node_name   s    " $$$r-   c                     Xl         g)a  
Sets the nominated_node_name of this V1PodStatus.
nominatedNodeName is set only when this pod preempts other pods on the
node, but it cannot be scheduled right away as preemption victims
receive their graceful termination periods. This field does not
guarantee that the pod will be scheduled on this node. Scheduler may
decide to place the pod elsewhere if other nodes become available
sooner. Scheduler may also decide to give the resources on this node to
a higher priority pod that is created after preemption. As a result,
this field may be different than PodSpec.nodeName when the pod is
scheduled.

:param nominated_node_name: The nominated_node_name of this V1PodStatus.
:type: str
NrF   )r)   r   s     r*   r   rG     s
    $ !4r-   c                     U R                   $ )a	  
Gets the phase of this V1PodStatus.
The phase of a Pod is a simple, high-level summary of where the Pod is
in its lifecycle. The conditions array, the reason and message fields,
and the individual container status arrays contain more detail about the
pod's status. There are five possible phase values:  Pending: The pod
has been accepted by the Kubernetes system, but one or more of the
container images has not been created. This includes time before being
scheduled as well as time spent downloading images over the network,
which could take a while. Running: The pod has been bound to a node, and
all of the containers have been created. At least one container is still
running, or is in the process of starting or restarting. Succeeded: All
containers in the pod have terminated in success, and will not be
restarted. Failed: All containers in the pod have terminated, and at
least one container has terminated in failure. The container either
exited with non-zero status or was terminated by the system. Unknown:
For some reason the state of the pod could not be obtained, typically
due to an error in communicating with the host of the pod.  More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase

:return: The phase of this V1PodStatus.
:rtype: str
r#   r0   s    r*   r   V1PodStatus.phase  s    2 ;;r-   c                     Xl         g)a  
Sets the phase of this V1PodStatus.
The phase of a Pod is a simple, high-level summary of where the Pod is
in its lifecycle. The conditions array, the reason and message fields,
and the individual container status arrays contain more detail about the
pod's status. There are five possible phase values:  Pending: The pod
has been accepted by the Kubernetes system, but one or more of the
container images has not been created. This includes time before being
scheduled as well as time spent downloading images over the network,
which could take a while. Running: The pod has been bound to a node, and
all of the containers have been created. At least one container is still
running, or is in the process of starting or restarting. Succeeded: All
containers in the pod have terminated in success, and will not be
restarted. Failed: All containers in the pod have terminated, and at
least one container has terminated in failure. The container either
exited with non-zero status or was terminated by the system. Unknown:
For some reason the state of the pod could not be obtained, typically
due to an error in communicating with the host of the pod.  More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase

:param phase: The phase of this V1PodStatus.
:type: str
NrJ   )r)   r   s     r*   r   rK   4  s	    4 Kr-   c                     U R                   $ )z
Gets the pod_ip of this V1PodStatus.
IP address allocated to the pod. Routable at least within the cluster.
Empty if not yet allocated.

:return: The pod_ip of this V1PodStatus.
:rtype: str
r$   r0   s    r*   r   V1PodStatus.pod_ipP       <<r-   c                     Xl         g)z
Sets the pod_ip of this V1PodStatus.
IP address allocated to the pod. Routable at least within the cluster.
Empty if not yet allocated.

:param pod_ip: The pod_ip of this V1PodStatus.
:type: str
NrN   )r)   r   s     r*   r   rO   \  	     Lr-   c                     U R                   $ )aK  
Gets the qos_class of this V1PodStatus.
The Quality of Service (QOS) classification assigned to the pod based on
resource requirements See PodQOSClass type for available QOS classes
More info:
https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md

:return: The qos_class of this V1PodStatus.
:rtype: str
r%   r0   s    r*   r   V1PodStatus.qos_classi  s     ??r-   c                     Xl         g)aS  
Sets the qos_class of this V1PodStatus.
The Quality of Service (QOS) classification assigned to the pod based on
resource requirements See PodQOSClass type for available QOS classes
More info:
https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md

:param qos_class: The qos_class of this V1PodStatus.
:type: str
NrT   )r)   r   s     r*   r   rU   w  s	      Or-   c                     U R                   $ )z
Gets the reason of this V1PodStatus.
A brief CamelCase message indicating details about why the pod is in
this state. e.g. 'Evicted'

:return: The reason of this V1PodStatus.
:rtype: str
r&   r0   s    r*   r   V1PodStatus.reason  rP   r-   c                     Xl         g)z
Sets the reason of this V1PodStatus.
A brief CamelCase message indicating details about why the pod is in
this state. e.g. 'Evicted'

:param reason: The reason of this V1PodStatus.
:type: str
NrX   )r)   r   s     r*   r   rY     rR   r-   c                     U R                   $ )z
Gets the start_time of this V1PodStatus.
RFC 3339 date and time at which the object was acknowledged by the
Kubelet. This is before the Kubelet pulled the container image(s) for
the pod.

:return: The start_time of this V1PodStatus.
:rtype: datetime
r'   r0   s    r*   r   V1PodStatus.start_time  s     r-   c                     Xl         g)a  
Sets the start_time of this V1PodStatus.
RFC 3339 date and time at which the object was acknowledged by the
Kubelet. This is before the Kubelet pulled the container image(s) for
the pod.

:param start_time: The start_time of this V1PodStatus.
:type: datetime
Nr\   )r)   r   s     r*   r   r]     s
     "r-   c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrra   )xs    r*   <lambda>%V1PodStatus.to_dict.<locals>.<lambda>  s    I)>)>!))+EAEr-   ra   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   ra   r   rb   )items    r*   re   rf     s9    47I.. #1gtAw'89 9489r-   )
r   swagger_typesgetattr
isinstancelistmaprc   ra   dictitems)r)   resultattr_values        r*   ra   V1PodStatus.to_dict  s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr-   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   ra   r0   s    r*   to_strV1PodStatus.to_str  s     4<<>""r-   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rw   r0   s    r*   __repr__V1PodStatus.__repr__  s     ;;=r-   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rl   r   __dict__r)   others     r*   __eq__V1PodStatus.__eq__  s'     e[))==ENN**r-   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r~   s     r*   __ne__V1PodStatus.__ne__  s     r-   )r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r
   r   r(   r   r   r   r   r   r   r   r   r   )NNNNNNNNNNN)__name__
__module____qualname____firstlineno____doc__rj   attribute_mapr+   propertyr
   setterr   r   r   r   r   r   r   r   r   r   ra   rw   rz   r   r   __static_attributes__r   r-   r*   r   r      s    +5!:"- !/!80- "&'+#'2#h 	 	 
" 
" 
$ 
$ 2 2 	 	 >>
 
 ) ) !!< "< 	 	 >>
 
 % %$ 4 4&  4 	<< 6 	 	 
==
 
       	 	 
==
 
 
 
 " ".#+r-   r   )r   pprintr   sixr   reobjectr   r   r-   r*   <module>r      s#   	   	X& Xr-   