
    d                     >    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 0 SS_SS_SS_S	S
_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS
_SS_SS_SS_SSSSSSSSSSSSS S!.Er0 SS"_SS_SS#_S	S	_SS$_SS%_SS&_SS'_SS(_SS)_SS*_SS_SS+_SS,_SS-_SS._SS_S/S0S1S2S3S4S5S6S7S8S9S:S;S!.Er                              SS= jr\S> 5       r	\	R                  S? 5       r	\S@ 5       r\R                  SA 5       r\SB 5       r\R                  SC 5       r\SD 5       r\R                  SE 5       r\SF 5       r\R                  SG 5       r\SH 5       r\R                  SI 5       r\SJ 5       r\R                  SK 5       r\SL 5       r\R                  SM 5       r\SN 5       r\R                  SO 5       r\SP 5       r\R                  SQ 5       r\SR 5       r\R                  SS 5       r\ST 5       r\R                  SU 5       r\SV 5       r\R                  SW 5       r\SX 5       r\R                  SY 5       r\SZ 5       r\R                  S[ 5       r\S\ 5       r\R                  S] 5       r\S^ 5       r\R                  S_ 5       r\S` 5       r\R                  Sa 5       r\Sb 5       r\R                  Sc 5       r\Sd 5       r\R                  Se 5       r\Sf 5       r\R                  Sg 5       r\Sh 5       r\R                  Si 5       r\Sj 5       r \ R                  Sk 5       r \Sl 5       r!\!R                  Sm 5       r!\Sn 5       r"\"R                  So 5       r"\Sp 5       r#\#R                  Sq 5       r#\Sr 5       r$\$R                  Ss 5       r$\St 5       r%\%R                  Su 5       r%\Sv 5       r&\&R                  Sw 5       r&\Sx 5       r'\'R                  Sy 5       r'Sz r(S{ r)S| r*S} r+S~ r,Sr-g<)	V1PodSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
active_deadline_secondsintaffinity
V1Affinityautomount_service_account_tokenbool
containerszlist[V1Container]
dns_configV1PodDNSConfig
dns_policystrenable_service_linkshost_aliaseszlist[V1HostAlias]host_ipchost_networkhost_pidhostnameimage_pull_secretszlist[V1LocalObjectReference]init_containers	node_namenode_selectorzdict(str, str)priorityzlist[V1PodReadinessGate]V1PodSecurityContextzlist[V1Toleration]zlist[V1Volume])priority_class_namereadiness_gatesrestart_policyruntime_class_namescheduler_namesecurity_contextservice_accountservice_account_nameshare_process_namespace	subdomain termination_grace_period_secondstolerationsvolumesactiveDeadlineSecondsautomountServiceAccountToken	dnsConfig	dnsPolicyenableServiceLinkshostAliaseshostIPChostNetworkhostPIDimagePullSecretsinitContainersnodeNamenodeSelectorpriorityClassNamereadinessGatesrestartPolicyruntimeClassNameschedulerNamesecurityContextserviceAccountserviceAccountNameshareProcessNamespacer(   terminationGracePeriodSecondsr*   r+   Nc                    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        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        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!        X@l"        Ub  XPl#        Ub  X`l$        Ub  Xpl%        Ub  Xl&        U	b  Xl'        U
b  Xl(        Ub  Xl)        Ub  Xl*        Ub  Xl+        Ub  Xl,        Ub  Xl-        Ub  UU l.        Ub  UU l/        Ub  UU l0        Ub  UU l1        Ub  UU l2        Ub  UU l3        Ub  UU l4        Ub  UU l5        Ub  UU l6        Ub  UU l7        Ub  UU l8        Ub  UU l9        Ub  UU l:        Ub  UU l;        Ub  UU l<        gg)z(
V1PodSpec - a model defined in Swagger
N)=_active_deadline_seconds	_affinity _automount_service_account_token_containers_dns_config_dns_policy_enable_service_links_host_aliases	_host_ipc_host_network	_host_pid	_hostname_image_pull_secrets_init_containers
_node_name_node_selector	_priority_priority_class_name_readiness_gates_restart_policy_runtime_class_name_scheduler_name_security_context_service_account_service_account_name_share_process_namespace
_subdomain!_termination_grace_period_seconds_tolerations_volumesdiscriminatorr   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   )selfr   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   s                                  7lib/third_party/kubernetes/client/models/v1_pod_spec.py__init__V1PodSpec.__init__`   so   F %)D!DN,0D)DDD!%DDDNDDNDN#D DDODDN $D DD#DD!D D!%D$(D!DO-1D*DDMD*%<"m&2-L* O"o"o'"6&m&mm% 2", n (ddm&!4d",d!*d% 2d!*d#.d",d'"6d*%<d" dn'3.Nd+$ddl     c                     U R                   $ )aG  
Gets the active_deadline_seconds of this V1PodSpec.
Optional duration in seconds the pod may be active on the node relative
to StartTime before the system will actively try to mark it failed and
kill associated containers. Value must be a positive integer.

:return: The active_deadline_seconds of this V1PodSpec.
:rtype: int
rD   rc   s    rd   r   !V1PodSpec.active_deadline_seconds   s     (((rg   c                     Xl         g)a]  
Sets the active_deadline_seconds of this V1PodSpec.
Optional duration in seconds the pod may be active on the node relative
to StartTime before the system will actively try to mark it failed and
kill associated containers. Value must be a positive integer.

:param active_deadline_seconds: The active_deadline_seconds of this
V1PodSpec.
:type: int
Nri   )rc   r   s     rd   r   rk      s
     %<!rg   c                     U R                   $ )z
Gets the affinity of this V1PodSpec.
If specified, the pod's scheduling constraints

:return: The affinity of this V1PodSpec.
:rtype: V1Affinity
rE   rj   s    rd   r
   V1PodSpec.affinity        >>rg   c                     Xl         g)z
Sets the affinity of this V1PodSpec.
If specified, the pod's scheduling constraints

:param affinity: The affinity of this V1PodSpec.
:type: V1Affinity
Nrn   )rc   r
   s     rd   r
   ro     	     Nrg   c                     U R                   $ )z
Gets the automount_service_account_token of this V1PodSpec.
AutomountServiceAccountToken indicates whether a service account token
should be automatically mounted.

:return: The automount_service_account_token of this V1PodSpec.
:rtype: bool
rF   rj   s    rd   r   )V1PodSpec.automount_service_account_token  s     000rg   c                     Xl         g)a  
Sets the automount_service_account_token of this V1PodSpec.
AutomountServiceAccountToken indicates whether a service account token
should be automatically mounted.

:param automount_service_account_token: The
automount_service_account_token of this V1PodSpec.
:type: bool
Nrt   )rc   r   s     rd   r   ru     s     -L)rg   c                     U R                   $ )a
  
Gets the containers of this V1PodSpec.
List of containers belonging to the pod. Containers cannot currently be
added or removed. There must be at least one container in a Pod. Cannot
be updated.

:return: The containers of this V1PodSpec.
:rtype: list[V1Container]
)rG   rj   s    rd   r   V1PodSpec.containers,  s     rg   c                 ,    Uc  [        S5      eXl        g)a  
Sets the containers of this V1PodSpec.
List of containers belonging to the pod. Containers cannot currently be
added or removed. There must be at least one container in a Pod. Cannot
be updated.

:param containers: The containers of this V1PodSpec.
:type: list[V1Container]
Nz2Invalid value for `containers`, must not be `None`)
ValueErrorrG   )rc   r   s     rd   r   rx   9  s     KLL!rg   c                     U R                   $ )z
Gets the dns_config of this V1PodSpec.
Specifies the DNS parameters of a pod. Parameters specified here will be
merged to the generated DNS configuration based on DNSPolicy.

:return: The dns_config of this V1PodSpec.
:rtype: V1PodDNSConfig
rH   rj   s    rd   r   V1PodSpec.dns_configI  s     rg   c                     Xl         g)z
Sets the dns_config of this V1PodSpec.
Specifies the DNS parameters of a pod. Parameters specified here will be
merged to the generated DNS configuration based on DNSPolicy.

:param dns_config: The dns_config of this V1PodSpec.
:type: V1PodDNSConfig
Nr|   )rc   r   s     rd   r   r}   U  s
     "rg   c                     U R                   $ )a  
Gets the dns_policy of this V1PodSpec.
Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values
are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS
parameters given in DNSConfig will be merged with the policy selected
with DNSPolicy. To have DNS options set along with hostNetwork, you have
to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.

:return: The dns_policy of this V1PodSpec.
:rtype: str
rI   rj   s    rd   r   V1PodSpec.dns_policyb  s     rg   c                     Xl         g)a  
Sets the dns_policy of this V1PodSpec.
Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values
are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS
parameters given in DNSConfig will be merged with the policy selected
with DNSPolicy. To have DNS options set along with hostNetwork, you have
to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.

:param dns_policy: The dns_policy of this V1PodSpec.
:type: str
Nr   )rc   r   s     rd   r   r   q  s
     "rg   c                     U R                   $ )a+  
Gets the enable_service_links of this V1PodSpec.
EnableServiceLinks indicates whether information about services should
be injected into pod's environment variables, matching the syntax of
Docker links. Optional: Defaults to true.

:return: The enable_service_links of this V1PodSpec.
:rtype: bool
rJ   rj   s    rd   r   V1PodSpec.enable_service_links       %%%rg   c                     Xl         g)a>  
Sets the enable_service_links of this V1PodSpec.
EnableServiceLinks indicates whether information about services should
be injected into pod's environment variables, matching the syntax of
Docker links. Optional: Defaults to true.

:param enable_service_links: The enable_service_links of this V1PodSpec.
:type: bool
Nr   )rc   r   s     rd   r   r     
     "6rg   c                     U R                   $ )a  
Gets the host_aliases of this V1PodSpec.
HostAliases is an optional list of hosts and IPs that will be injected
into the pod's hosts file if specified. This is only valid for
non-hostNetwork pods.

:return: The host_aliases of this V1PodSpec.
:rtype: list[V1HostAlias]
rK   rj   s    rd   r   V1PodSpec.host_aliases       rg   c                     Xl         g)a  
Sets the host_aliases of this V1PodSpec.
HostAliases is an optional list of hosts and IPs that will be injected
into the pod's hosts file if specified. This is only valid for
non-hostNetwork pods.

:param host_aliases: The host_aliases of this V1PodSpec.
:type: list[V1HostAlias]
Nr   )rc   r   s     rd   r   r     
     &rg   c                     U R                   $ )z
Gets the host_ipc of this V1PodSpec.
Use the host's ipc namespace. Optional: Default to false.

:return: The host_ipc of this V1PodSpec.
:rtype: bool
rL   rj   s    rd   r   V1PodSpec.host_ipc  rp   rg   c                     Xl         g)z
Sets the host_ipc of this V1PodSpec.
Use the host's ipc namespace. Optional: Default to false.

:param host_ipc: The host_ipc of this V1PodSpec.
:type: bool
Nr   )rc   r   s     rd   r   r     rr   rg   c                     U R                   $ )a  
Gets the host_network of this V1PodSpec.
Host networking requested for this pod. Use the host's network
namespace. If this option is set, the ports that will be used must be
specified. Default to false.

:return: The host_network of this V1PodSpec.
:rtype: bool
rM   rj   s    rd   r   V1PodSpec.host_network  r   rg   c                     Xl         g)a  
Sets the host_network of this V1PodSpec.
Host networking requested for this pod. Use the host's network
namespace. If this option is set, the ports that will be used must be
specified. Default to false.

:param host_network: The host_network of this V1PodSpec.
:type: bool
Nr   )rc   r   s     rd   r   r     r   rg   c                     U R                   $ )z
Gets the host_pid of this V1PodSpec.
Use the host's pid namespace. Optional: Default to false.

:return: The host_pid of this V1PodSpec.
:rtype: bool
rN   rj   s    rd   r   V1PodSpec.host_pid  rp   rg   c                     Xl         g)z
Sets the host_pid of this V1PodSpec.
Use the host's pid namespace. Optional: Default to false.

:param host_pid: The host_pid of this V1PodSpec.
:type: bool
Nr   )rc   r   s     rd   r   r     rr   rg   c                     U R                   $ )z
Gets the hostname of this V1PodSpec.
Specifies the hostname of the Pod If not specified, the pod's hostname
will be set to a system-defined value.

:return: The hostname of this V1PodSpec.
:rtype: str
rO   rj   s    rd   r   V1PodSpec.hostname   s     >>rg   c                     Xl         g)z
Sets the hostname of this V1PodSpec.
Specifies the hostname of the Pod If not specified, the pod's hostname
will be set to a system-defined value.

:param hostname: The hostname of this V1PodSpec.
:type: str
Nr   )rc   r   s     rd   r   r     s	     Nrg   c                     U R                   $ )a/  
Gets the image_pull_secrets of this V1PodSpec.
ImagePullSecrets is an optional list of references to secrets in the
same namespace to use for pulling any of the images used by this
PodSpec. If specified, these secrets will be passed to individual puller
implementations for them to use. For example, in the case of docker,
only DockerConfig type secrets are honored. More info:
https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod

:return: The image_pull_secrets of this V1PodSpec.
:rtype: list[V1LocalObjectReference]
rP   rj   s    rd   r   V1PodSpec.image_pull_secrets  s     ###rg   c                     Xl         g)a@  
Sets the image_pull_secrets of this V1PodSpec.
ImagePullSecrets is an optional list of references to secrets in the
same namespace to use for pulling any of the images used by this
PodSpec. If specified, these secrets will be passed to individual puller
implementations for them to use. For example, in the case of docker,
only DockerConfig type secrets are honored. More info:
https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod

:param image_pull_secrets: The image_pull_secrets of this V1PodSpec.
:type: list[V1LocalObjectReference]
Nr   )rc   r   s     rd   r   r   )  s
      2rg   c                     U R                   $ )a  
Gets the init_containers of this V1PodSpec.
List of initialization containers belonging to the pod. Init containers
are executed in order prior to containers being started. If any init
container fails, the pod is considered to have failed and is handled
according to its restartPolicy. The name for an init container or normal
container must be unique among all containers. Init containers may not
have Lifecycle actions, Readiness probes, or Liveness probes. The
resourceRequirements of an init container are taken into account during
scheduling by finding the highest request/limit for each resource type,
and then using the max of of that value or the sum of the normal
containers. Limits are applied to init containers in a similar fashion.
Init containers cannot currently be added or removed. Cannot be updated.
More info:
https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

:return: The init_containers of this V1PodSpec.
:rtype: list[V1Container]
rQ   rj   s    rd   r   V1PodSpec.init_containers:  s    *    rg   c                     Xl         g)a  
Sets the init_containers of this V1PodSpec.
List of initialization containers belonging to the pod. Init containers
are executed in order prior to containers being started. If any init
container fails, the pod is considered to have failed and is handled
according to its restartPolicy. The name for an init container or normal
container must be unique among all containers. Init containers may not
have Lifecycle actions, Readiness probes, or Liveness probes. The
resourceRequirements of an init container are taken into account during
scheduling by finding the highest request/limit for each resource type,
and then using the max of of that value or the sum of the normal
containers. Limits are applied to init containers in a similar fashion.
Init containers cannot currently be added or removed. Cannot be updated.
More info:
https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

:param init_containers: The init_containers of this V1PodSpec.
:type: list[V1Container]
Nr   )rc   r   s     rd   r   r   Q  s
    , ,rg   c                     U R                   $ )a  
Gets the node_name of this V1PodSpec.
NodeName is a request to schedule this pod onto a specific node. If it
is non-empty, the scheduler simply schedules this pod onto that node,
assuming that it fits resource requirements.

:return: The node_name of this V1PodSpec.
:rtype: str
rR   rj   s    rd   r   V1PodSpec.node_namei       ??rg   c                     Xl         g)a   
Sets the node_name of this V1PodSpec.
NodeName is a request to schedule this pod onto a specific node. If it
is non-empty, the scheduler simply schedules this pod onto that node,
assuming that it fits resource requirements.

:param node_name: The node_name of this V1PodSpec.
:type: str
Nr   )rc   r   s     rd   r   r   v  	      Org   c                     U R                   $ )a_  
Gets the node_selector of this V1PodSpec.
NodeSelector is a selector which must be true for the pod to fit on a
node. Selector which must match a node's labels for the pod to be
scheduled on that node. More info:
https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

:return: The node_selector of this V1PodSpec.
:rtype: dict(str, str)
rS   rj   s    rd   r   V1PodSpec.node_selector  s     rg   c                     Xl         g)ak  
Sets the node_selector of this V1PodSpec.
NodeSelector is a selector which must be true for the pod to fit on a
node. Selector which must match a node's labels for the pod to be
scheduled on that node. More info:
https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

:param node_selector: The node_selector of this V1PodSpec.
:type: dict(str, str)
Nr   )rc   r   s     rd   r   r     s
     (rg   c                     U R                   $ )a  
Gets the priority of this V1PodSpec.
The priority value. Various system components use this field to find the
priority of the pod. When Priority Admission Controller is enabled, it
prevents users from setting this field. The admission controller
populates this field from PriorityClassName. The higher the value, the
higher the priority.

:return: The priority of this V1PodSpec.
:rtype: int
rT   rj   s    rd   r   V1PodSpec.priority  s     >>rg   c                     Xl         g)a  
Sets the priority of this V1PodSpec.
The priority value. Various system components use this field to find the
priority of the pod. When Priority Admission Controller is enabled, it
prevents users from setting this field. The admission controller
populates this field from PriorityClassName. The higher the value, the
higher the priority.

:param priority: The priority of this V1PodSpec.
:type: int
Nr   )rc   r   s     rd   r   r     s	     Nrg   c                     U R                   $ )a  
Gets the priority_class_name of this V1PodSpec.
If specified, indicates the pod's priority. "system-node-critical" and
"system-cluster-critical" are two special keywords which indicate the
highest priorities with the former being the highest priority. Any other
name must be defined by creating a PriorityClass object with that name.
If not specified, the pod priority will be default or zero if there is
no default.

:return: The priority_class_name of this V1PodSpec.
:rtype: str
rU   rj   s    rd   r   V1PodSpec.priority_class_name  s     $$$rg   c                     Xl         g)a  
Sets the priority_class_name of this V1PodSpec.
If specified, indicates the pod's priority. "system-node-critical" and
"system-cluster-critical" are two special keywords which indicate the
highest priorities with the former being the highest priority. Any other
name must be defined by creating a PriorityClass object with that name.
If not specified, the pod priority will be default or zero if there is
no default.

:param priority_class_name: The priority_class_name of this V1PodSpec.
:type: str
Nr   )rc   r   s     rd   r   r     s
     !4rg   c                     U R                   $ )a  
Gets the readiness_gates of this V1PodSpec.
If specified, all readiness gates will be evaluated for pod readiness. A
pod is ready when all its containers are ready AND all conditions
specified in the readiness gates have status equal to "True" More
info:
https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md

:return: The readiness_gates of this V1PodSpec.
:rtype: list[V1PodReadinessGate]
rV   rj   s    rd   r    V1PodSpec.readiness_gates  s        rg   c                     Xl         g)a  
Sets the readiness_gates of this V1PodSpec.
If specified, all readiness gates will be evaluated for pod readiness. A
pod is ready when all its containers are ready AND all conditions
specified in the readiness gates have status equal to "True" More
info:
https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md

:param readiness_gates: The readiness_gates of this V1PodSpec.
:type: list[V1PodReadinessGate]
Nr   )rc   r    s     rd   r    r     s
     ,rg   c                     U R                   $ )a*  
Gets the restart_policy of this V1PodSpec.
Restart policy for all containers within the pod. One of Always,
OnFailure, Never. Default to Always. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

:return: The restart_policy of this V1PodSpec.
:rtype: str
rW   rj   s    rd   r!   V1PodSpec.restart_policy   s     rg   c                     Xl         g)a7  
Sets the restart_policy of this V1PodSpec.
Restart policy for all containers within the pod. One of Always,
OnFailure, Never. Default to Always. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

:param restart_policy: The restart_policy of this V1PodSpec.
:type: str
Nr   )rc   r!   s     rd   r!   r     s
     *rg   c                     U R                   $ )aG  
Gets the runtime_class_name of this V1PodSpec.
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io
group, which should be used to run this pod.  If no RuntimeClass
resource matches the named class, the pod will not be run. If unset or
empty, the "legacy" RuntimeClass will be used, which is an implicit
class with an empty definition that uses the default runtime handler.
More info:
https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is
an alpha feature and may change in the future.

:return: The runtime_class_name of this V1PodSpec.
:rtype: str
rX   rj   s    rd   r"   V1PodSpec.runtime_class_name  s      ###rg   c                     Xl         g)aX  
Sets the runtime_class_name of this V1PodSpec.
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io
group, which should be used to run this pod.  If no RuntimeClass
resource matches the named class, the pod will not be run. If unset or
empty, the "legacy" RuntimeClass will be used, which is an implicit
class with an empty definition that uses the default runtime handler.
More info:
https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is
an alpha feature and may change in the future.

:param runtime_class_name: The runtime_class_name of this V1PodSpec.
:type: str
Nr   )rc   r"   s     rd   r"   r   -  s
    "  2rg   c                     U R                   $ )z
Gets the scheduler_name of this V1PodSpec.
If specified, the pod will be dispatched by specified scheduler. If not
specified, the pod will be dispatched by default scheduler.

:return: The scheduler_name of this V1PodSpec.
:rtype: str
rY   rj   s    rd   r#   V1PodSpec.scheduler_name@  s     rg   c                     Xl         g)z
Sets the scheduler_name of this V1PodSpec.
If specified, the pod will be dispatched by specified scheduler. If not
specified, the pod will be dispatched by default scheduler.

:param scheduler_name: The scheduler_name of this V1PodSpec.
:type: str
Nr   )rc   r#   s     rd   r#   r   L  s
     *rg   c                     U R                   $ )a%  
Gets the security_context of this V1PodSpec.
SecurityContext holds pod-level security attributes and common container
settings. Optional: Defaults to empty.  See type description for default
values of each field.

:return: The security_context of this V1PodSpec.
:rtype: V1PodSecurityContext
rZ   rj   s    rd   r$   V1PodSpec.security_contextY  s     !!!rg   c                     Xl         g)a4  
Sets the security_context of this V1PodSpec.
SecurityContext holds pod-level security attributes and common container
settings. Optional: Defaults to empty.  See type description for default
values of each field.

:param security_context: The security_context of this V1PodSpec.
:type: V1PodSecurityContext
Nr   )rc   r$   s     rd   r$   r   f  s
     .rg   c                     U R                   $ )z
Gets the service_account of this V1PodSpec.
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
Deprecated: Use serviceAccountName instead.

:return: The service_account of this V1PodSpec.
:rtype: str
r[   rj   s    rd   r%   V1PodSpec.service_accountt  s        rg   c                     Xl         g)z
Sets the service_account of this V1PodSpec.
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
Deprecated: Use serviceAccountName instead.

:param service_account: The service_account of this V1PodSpec.
:type: str
Nr   )rc   r%   s     rd   r%   r     s
     ,rg   c                     U R                   $ )a   
Gets the service_account_name of this V1PodSpec.
ServiceAccountName is the name of the ServiceAccount to use to run this
pod. More info:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

:return: The service_account_name of this V1PodSpec.
:rtype: str
r\   rj   s    rd   r&   V1PodSpec.service_account_name  r   rg   c                     Xl         g)a3  
Sets the service_account_name of this V1PodSpec.
ServiceAccountName is the name of the ServiceAccount to use to run this
pod. More info:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

:param service_account_name: The service_account_name of this V1PodSpec.
:type: str
Nr   )rc   r&   s     rd   r&   r     r   rg   c                     U R                   $ )a  
Gets the share_process_namespace of this V1PodSpec.
Share a single process namespace between all of the containers in a pod.
When this is set containers will be able to view and signal processes
from other containers in the same pod, and the first process in each
container will not be assigned PID 1. HostPID and ShareProcessNamespace
cannot both be set. Optional: Default to false. This field is beta-level
and may be disabled with the PodShareProcessNamespace feature.

:return: The share_process_namespace of this V1PodSpec.
:rtype: bool
r]   rj   s    rd   r'   !V1PodSpec.share_process_namespace  s     (((rg   c                     Xl         g)a5  
Sets the share_process_namespace of this V1PodSpec.
Share a single process namespace between all of the containers in a pod.
When this is set containers will be able to view and signal processes
from other containers in the same pod, and the first process in each
container will not be assigned PID 1. HostPID and ShareProcessNamespace
cannot both be set. Optional: Default to false. This field is beta-level
and may be disabled with the PodShareProcessNamespace feature.

:param share_process_namespace: The share_process_namespace of this
V1PodSpec.
:type: bool
Nr   )rc   r'   s     rd   r'   r     s
      %<!rg   c                     U R                   $ )a  
Gets the subdomain of this V1PodSpec.
If specified, the fully qualified Pod hostname will be
"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not
specified, the pod will not have a domainname at all.

:return: The subdomain of this V1PodSpec.
:rtype: str
r^   rj   s    rd   r(   V1PodSpec.subdomain  r   rg   c                     Xl         g)a  
Sets the subdomain of this V1PodSpec.
If specified, the fully qualified Pod hostname will be
"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not
specified, the pod will not have a domainname at all.

:param subdomain: The subdomain of this V1PodSpec.
:type: str
Nr   )rc   r(   s     rd   r(   r     r   rg   c                     U R                   $ )a  
Gets the termination_grace_period_seconds of this V1PodSpec.
Optional duration in seconds the pod needs to terminate gracefully. May
be decreased in delete request. Value must be non-negative integer. The
value zero indicates delete immediately. If this value is nil, the
default grace period will be used instead. The grace period is the
duration in seconds after the processes running in the pod are sent a
termination signal and the time when the processes are forcibly halted
with a kill signal. Set this value longer than the expected cleanup time
for your process. Defaults to 30 seconds.

:return: The termination_grace_period_seconds of this V1PodSpec.
:rtype: int
r_   rj   s    rd   r)   *V1PodSpec.termination_grace_period_seconds  s      111rg   c                     Xl         g)a  
Sets the termination_grace_period_seconds of this V1PodSpec.
Optional duration in seconds the pod needs to terminate gracefully. May
be decreased in delete request. Value must be non-negative integer. The
value zero indicates delete immediately. If this value is nil, the
default grace period will be used instead. The grace period is the
duration in seconds after the processes running in the pod are sent a
termination signal and the time when the processes are forcibly halted
with a kill signal. Set this value longer than the expected cleanup time
for your process. Defaults to 30 seconds.

:param termination_grace_period_seconds: The
termination_grace_period_seconds of this V1PodSpec.
:type: int
Nr   )rc   r)   s     rd   r)   r     s    $ .N*rg   c                     U R                   $ )z
Gets the tolerations of this V1PodSpec.
If specified, the pod's tolerations.

:return: The tolerations of this V1PodSpec.
:rtype: list[V1Toleration]
r`   rj   s    rd   r*   V1PodSpec.tolerations  s     rg   c                     Xl         g)z
Sets the tolerations of this V1PodSpec.
If specified, the pod's tolerations.

:param tolerations: The tolerations of this V1PodSpec.
:type: list[V1Toleration]
Nr   )rc   r*   s     rd   r*   r     s
     $rg   c                     U R                   $ )z
Gets the volumes of this V1PodSpec.
List of volumes that can be mounted by containers belonging to the pod.
More info: https://kubernetes.io/docs/concepts/storage/volumes

:return: The volumes of this V1PodSpec.
:rtype: list[V1Volume]
ra   rj   s    rd   r+   V1PodSpec.volumes"  s     ==rg   c                     Xl         g)z
Sets the volumes of this V1PodSpec.
List of volumes that can be mounted by containers belonging to the pod.
More info: https://kubernetes.io/docs/concepts/storage/volumes

:param volumes: The volumes of this V1PodSpec.
:type: list[V1Volume]
Nr   )rc   r+   s     rd   r+   r   .  s	     Mrg   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hasattrr   )xs    rd   <lambda>#V1PodSpec.to_dict.<locals>.<lambda>E  s    I)>)>!))+EAErg   r   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r   r   r   )items    rd   r   r   K  s9    47I.. #1gtAw'89 9489rg   )
r   swagger_typesgetattr
isinstancelistmapr   r   dictitems)rc   resultattr_values        rd   r   V1PodSpec.to_dict;  s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mrg   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   r   rj   s    rd   to_strV1PodSpec.to_strR  s     4<<>""rg   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r  rj   s    rd   __repr__V1PodSpec.__repr__X  s     ;;=rg   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r   r   __dict__rc   others     rd   __eq__V1PodSpec.__eq__^  s'     eY''==ENN**rg   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r  s     rd   __ne__V1PodSpec.__ne__g  s     rg   )=rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   r   r
   r   r   rb   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   )NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN).__name__
__module____qualname____firstlineno____doc__r   attribute_mapre   propertyr   setterr
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r   r  r  r
  r  __static_attributes__r  rg   rd   r   r      s   , ( '	
 $ E f ) & f & % : , 5  '!" %#$ #3!0#!'*/)!=-B!8* ()G L	
 K K 2 m ) m ) * . ) :  ~!" *#$ 1)'.'+)2!8*I"=-D (,/3$(  "&#!#'#""&" $#$('+04=}~ 
) 
) !!< "<   ??	 	 	1 	1 #))L *L 
 
 " " 	 	 
" 
"   " " 
& 
& 6 6 
 
 & &   ??	 	 
 
 & &   ??	 	 	 	 ??
 
 $ $ 2 2  ! !, , ,. 
 
       ( (   ??  % % 4 4  ! ! , , 
  
  * * $ $" 2 2$ 	  	  
* 
* 
" 
" . . 	! 	! 
, 
, 
& 
& 6 6 ) ) !!< "<" 
 
     2 2" $**N +N&   	$ 	$ 	 	 >>
 
.#+rg   r   )r  pprintr   sixr   reobjectr   r  rg   rd   <module>r     s#   	   	Y Yrg   