
    77                     >    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	.rS
SSSSSSSS	.r        S*S 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$ rS% rS& rS' rS( rS)rg)+V1beta1StatefulSetSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strintV1LabelSelectorV1PodTemplateSpec V1beta1StatefulSetUpdateStrategyzlist[V1PersistentVolumeClaim])pod_management_policyreplicasrevision_history_limitselectorservice_nametemplateupdate_strategyvolume_claim_templatespodManagementPolicyr   revisionHistoryLimitr   serviceNamer   updateStrategyvolumeClaimTemplatesNc	                    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        XPl        X`l        Ub  Xpl        Ub  Xl        gg)z5
V1beta1StatefulSetSpec - a model defined in Swagger
N_pod_management_policy	_replicas_revision_history_limit	_selector_service_name	_template_update_strategy_volume_claim_templatesdiscriminatorr   r   r   r   r   r   r   r   )	selfr   r   r   r   r   r   r   r   s	            Elib/third_party/kubernetes/client/models/v1beta1_stateful_set_spec.py__init__V1beta1StatefulSetSpec.__init__4   s     #'DDN#'D DNDDN D#'D D(#8 m)$:!m$M",)$:! *    c                     U R                   $ )a  
Gets the pod_management_policy of this V1beta1StatefulSetSpec.
podManagementPolicy controls how pods are created during initial scale
up, when replacing pods on nodes, or when scaling down. The default
policy is `OrderedReady`, where pods are created in increasing order
(pod-0, then pod-1, etc) and the controller will wait until each pod is
ready before continuing. When scaling down, the pods are removed in the
opposite order. The alternative policy is `Parallel` which will create
pods in parallel to match the desired scale without waiting, and on
scale down will delete all pods at once.

:return: The pod_management_policy of this V1beta1StatefulSetSpec.
:rtype: str
r   r%   s    r&   r   ,V1beta1StatefulSetSpec.pod_management_policyZ   s      &&&r)   c                     Xl         g)a  
Sets the pod_management_policy of this V1beta1StatefulSetSpec.
podManagementPolicy controls how pods are created during initial scale
up, when replacing pods on nodes, or when scaling down. The default
policy is `OrderedReady`, where pods are created in increasing order
(pod-0, then pod-1, etc) and the controller will wait until each pod is
ready before continuing. When scaling down, the pods are removed in the
opposite order. The alternative policy is `Parallel` which will create
pods in parallel to match the desired scale without waiting, and on
scale down will delete all pods at once.

:param pod_management_policy: The pod_management_policy of this
V1beta1StatefulSetSpec.
:type: str
Nr+   )r%   r   s     r&   r   r-   l   s
    $ #8r)   c                     U R                   $ )ac  
Gets the replicas of this V1beta1StatefulSetSpec.
replicas is the desired number of replicas of the given Template. These
are replicas in the sense that they are instantiations of the same
Template, but individual replicas also have a consistent identity. If
unspecified, defaults to 1.

:return: The replicas of this V1beta1StatefulSetSpec.
:rtype: int
r   r,   s    r&   r   V1beta1StatefulSetSpec.replicas        >>r)   c                     Xl         g)aj  
Sets the replicas of this V1beta1StatefulSetSpec.
replicas is the desired number of replicas of the given Template. These
are replicas in the sense that they are instantiations of the same
Template, but individual replicas also have a consistent identity. If
unspecified, defaults to 1.

:param replicas: The replicas of this V1beta1StatefulSetSpec.
:type: int
Nr0   )r%   r   s     r&   r   r1      s	     Nr)   c                     U R                   $ )a  
Gets the revision_history_limit of this V1beta1StatefulSetSpec.
revisionHistoryLimit is the maximum number of revisions that will be
maintained in the StatefulSet's revision history. The revision history
consists of all revisions not represented by a currently applied
StatefulSetSpec version. The default value is 10.

:return: The revision_history_limit of this V1beta1StatefulSetSpec.
:rtype: int
r   r,   s    r&   r   -V1beta1StatefulSetSpec.revision_history_limit   s     '''r)   c                     Xl         g)a  
Sets the revision_history_limit of this V1beta1StatefulSetSpec.
revisionHistoryLimit is the maximum number of revisions that will be
maintained in the StatefulSet's revision history. The revision history
consists of all revisions not represented by a currently applied
StatefulSetSpec version. The default value is 10.

:param revision_history_limit: The revision_history_limit of this
V1beta1StatefulSetSpec.
:type: int
Nr5   )r%   r   s     r&   r   r6      s
     $: r)   c                     U R                   $ )ac  
Gets the selector of this V1beta1StatefulSetSpec.
selector is a label query over pods that should match the replica count.
If empty, defaulted to labels on the pod template. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

:return: The selector of this V1beta1StatefulSetSpec.
:rtype: V1LabelSelector
r   r,   s    r&   r   V1beta1StatefulSetSpec.selector   s     >>r)   c                     Xl         g)aj  
Sets the selector of this V1beta1StatefulSetSpec.
selector is a label query over pods that should match the replica count.
If empty, defaulted to labels on the pod template. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

:param selector: The selector of this V1beta1StatefulSetSpec.
:type: V1LabelSelector
Nr9   )r%   r   s     r&   r   r:      s	     Nr)   c                     U R                   $ )a  
Gets the service_name of this V1beta1StatefulSetSpec.
serviceName is the name of the service that governs this StatefulSet.
This service must exist before the StatefulSet, and is responsible for
the network identity of the set. Pods get DNS/hostnames that follow the
pattern: pod-specific-string.serviceName.default.svc.cluster.local where
"pod-specific-string" is managed by the StatefulSet controller.

:return: The service_name of this V1beta1StatefulSetSpec.
:rtype: str
)r    r,   s    r&   r   #V1beta1StatefulSetSpec.service_name   s     r)   c                 ,    Uc  [        S5      eXl        g)a  
Sets the service_name of this V1beta1StatefulSetSpec.
serviceName is the name of the service that governs this StatefulSet.
This service must exist before the StatefulSet, and is responsible for
the network identity of the set. Pods get DNS/hostnames that follow the
pattern: pod-specific-string.serviceName.default.svc.cluster.local where
"pod-specific-string" is managed by the StatefulSet controller.

:param service_name: The service_name of this V1beta1StatefulSetSpec.
:type: str
Nz4Invalid value for `service_name`, must not be `None`)
ValueErrorr    )r%   r   s     r&   r   r=      s     MNN%r)   c                     U R                   $ )ao  
Gets the template of this V1beta1StatefulSetSpec.
template is the object that describes the pod that will be created if
insufficient replicas are detected. Each pod stamped out by the
StatefulSet will fulfill this Template, but have a unique identity from
the rest of the StatefulSet.

:return: The template of this V1beta1StatefulSetSpec.
:rtype: V1PodTemplateSpec
)r!   r,   s    r&   r   V1beta1StatefulSetSpec.template   r2   r)   c                 ,    Uc  [        S5      eXl        g)av  
Sets the template of this V1beta1StatefulSetSpec.
template is the object that describes the pod that will be created if
insufficient replicas are detected. Each pod stamped out by the
StatefulSet will fulfill this Template, but have a unique identity from
the rest of the StatefulSet.

:param template: The template of this V1beta1StatefulSetSpec.
:type: V1PodTemplateSpec
Nz0Invalid value for `template`, must not be `None`)r?   r!   )r%   r   s     r&   r   rA     s     IJJNr)   c                     U R                   $ )a5  
Gets the update_strategy of this V1beta1StatefulSetSpec.
updateStrategy indicates the StatefulSetUpdateStrategy that will be
employed to update Pods in the StatefulSet when a revision is made to
Template.

:return: The update_strategy of this V1beta1StatefulSetSpec.
:rtype: V1beta1StatefulSetUpdateStrategy
r"   r,   s    r&   r   &V1beta1StatefulSetSpec.update_strategy  s        r)   c                     Xl         g)aC  
Sets the update_strategy of this V1beta1StatefulSetSpec.
updateStrategy indicates the StatefulSetUpdateStrategy that will be
employed to update Pods in the StatefulSet when a revision is made to
Template.

:param update_strategy: The update_strategy of this
V1beta1StatefulSetSpec.
:type: V1beta1StatefulSetUpdateStrategy
NrD   )r%   r   s     r&   r   rE   #  s
     ,r)   c                     U R                   $ )aH  
Gets the volume_claim_templates of this V1beta1StatefulSetSpec.
volumeClaimTemplates is a list of claims that pods are allowed to
reference. The StatefulSet controller is responsible for mapping network
identities to claims in a way that maintains the identity of a pod.
Every claim in this list must have at least one matching (by name)
volumeMount in one container in the template. A claim in this list takes
precedence over any volumes in the template, with the same name.

:return: The volume_claim_templates of this V1beta1StatefulSetSpec.
:rtype: list[V1PersistentVolumeClaim]
r#   r,   s    r&   r   -V1beta1StatefulSetSpec.volume_claim_templates2  s     '''r)   c                     Xl         g)a]  
Sets the volume_claim_templates of this V1beta1StatefulSetSpec.
volumeClaimTemplates is a list of claims that pods are allowed to
reference. The StatefulSet controller is responsible for mapping network
identities to claims in a way that maintains the identity of a pod.
Every claim in this list must have at least one matching (by name)
volumeMount in one container in the template. A claim in this list takes
precedence over any volumes in the template, with the same name.

:param volume_claim_templates: The volume_claim_templates of this
V1beta1StatefulSetSpec.
:type: list[V1PersistentVolumeClaim]
NrH   )r%   r   s     r&   r   rI   B  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hasattrrM   )xs    r&   <lambda>0V1beta1StatefulSetSpec.to_dict.<locals>.<lambda>^  s    I)>)>!))+EAEr)   rM   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rM   r   rN   )items    r&   rQ   rR   d  s9    47I.. #1gtAw'89 9489r)   )
r   swagger_typesgetattr
isinstancelistmaprO   rM   dictitems)r%   resultattr_values        r&   rM   V1beta1StatefulSetSpec.to_dictT  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   rM   r,   s    r&   to_strV1beta1StatefulSetSpec.to_strk  s     4<<>""r)   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rc   r,   s    r&   __repr__V1beta1StatefulSetSpec.__repr__q  s     ;;=r)   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rX   r   __dict__r%   others     r&   __eq__V1beta1StatefulSetSpec.__eq__w  s(     e344==ENN**r)   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rj   s     r&   __ne__V1beta1StatefulSetSpec.__ne__  s     r)   r   )NNNNNNNN)__name__
__module____qualname____firstlineno____doc__rV   attribute_mapr'   propertyr   setterr   r   r   r   r   r   r   rM   rc   rf   rl   rp   __static_attributes__ro   r)   r&   r   r      s     % %#%; ?	-  5 6#) 6	- &*&* #&*$;L ' '" 8  8&   ??  ( (   : !: 
 
 ??    & &"   ??   
! 
! , , ( (   : !:".#+r)   r   )rv   pprintr   sixr   reobjectr   ro   r)   r&   <module>r      s#   	   	rV rr)   