3 f÷ÔYÕ-ã@s8dZddlmZddlmZddlZGdd„deƒZdS)zç Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git é)Úpformat)Ú iteritemsNc @sFeZdZdZd-dd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZejdd„ƒZedd„ƒZejdd„ƒZed d!„ƒZejd"d!„ƒZd#d$„Zd%d&„Zd'd(„Zd)d*„Zd+d,„ZdS).Ú V1PodStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csxdddddddddddœ |_dddd d d d d dddœ |_||_||_||_||_||_||_||_||_ | |_ | |_ dS)aA V1PodStatus - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. zlist[V1PodCondition]zlist[V1ContainerStatus]ÚstrÚdatetime) Ú conditionsÚcontainer_statusesÚhost_ipÚinit_container_statusesÚmessageÚphaseÚpod_ipÚ qos_classÚreasonÚ start_timerZcontainerStatusesÚhostIPZinitContainerStatusesr r ZpodIPZqosClassrÚ startTimeN) Ú swagger_typesÚ attribute_mapÚ _conditionsÚ_container_statusesÚ_host_ipÚ_init_container_statusesÚ_messageÚ_phaseÚ_pod_ipÚ _qos_classÚ_reasonÚ _start_time) Úselfrrr r r r r rrr©r úW/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_pod_status.pyÚ__init__s<   zV1PodStatus.__init__cCs|jS)a 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)rr r r!rFs zV1PodStatus.conditionscCs ||_dS)a 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] N)r)rrr r r!rQs cCs|jS)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)rr r r!r]s zV1PodStatus.container_statusescCs ||_dS)a” 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] N)r)rrr r r!rhs cCs|jS)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)rr r r!r ts zV1PodStatus.host_ipcCs ||_dS)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 N)r)rr r r r!r s cCs|jS)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)rr r r!r ‹s z#V1PodStatus.init_container_statusescCs ||_dS)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] N)r)rr r r r!r –s cCs|jS)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)rr r r!r ¢s zV1PodStatus.messagecCs ||_dS)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 N)r)rr r r r!r ­s cCs|jS)zö Gets the phase of this V1PodStatus. Current condition 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)rr r r!r ¹s zV1PodStatus.phasecCs ||_dS)zú Sets the phase of this V1PodStatus. Current condition 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 N)r)rr r r r!r Äs cCs|jS)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)rr r r!r Ðs zV1PodStatus.pod_ipcCs ||_dS)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 N)r)rr r r r!r Ûs cCs|jS)at 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://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md :return: The qos_class of this V1PodStatus. :rtype: str )r)rr r r!rçs zV1PodStatus.qos_classcCs ||_dS)a| 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://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md :param qos_class: The qos_class of this V1PodStatus. :type: str N)r)rrr r r!ròs cCs|jS)zæ Gets the reason of this V1PodStatus. A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk' :return: The reason of this V1PodStatus. :rtype: str )r)rr r r!rþs zV1PodStatus.reasoncCs ||_dS)zë Sets the reason of this V1PodStatus. A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk' :param reason: The reason of this V1PodStatus. :type: str N)r)rrr r r!r s cCs|jS)a# 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)rr r r!rs zV1PodStatus.start_timecCs ||_dS)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 N)r)rrr r r!r s cCs’i}xˆt|jƒD]z\}}t||ƒ}t|tƒrDttdd„|ƒƒ||<qt|dƒr\|jƒ||<qt|tƒr‚ttdd„|j ƒƒƒ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dƒr|jƒS|S)NÚto_dict)Úhasattrr#)Úxr r r!Ú6sz%V1PodStatus.to_dict..r#cSs&t|ddƒr"|d|djƒfS|S)Nér#r)r$r#)Úitemr r r!r&=s) rrÚgetattrÚ isinstanceÚlistÚmapr$r#ÚdictÚitems)rÚresultÚattrÚ_Úvaluer r r!r#,s     zV1PodStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr#)rr r r!Úto_strFszV1PodStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r3)rr r r!Ú__repr__LszV1PodStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r*rÚ__dict__)rÚotherr r r!Ú__eq__Rs zV1PodStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r )rr6r r r!Ú__ne__[szV1PodStatus.__ne__) NNNNNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r"ÚpropertyrÚsetterrr r r r r rrrr#r3r4r7r8r r r r!rs6 .            r)r<ÚpprintrÚsixrÚreÚobjectrr r r r!Ú s