
    p                     >    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 .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)S*S+S,S .Er                     S_S. jr\S/ 5       r	\	R                  S0 5       r	\S1 5       r\R                  S2 5       r\S3 5       r\R                  S4 5       r\S5 5       r\R                  S6 5       r\S7 5       r\R                  S8 5       r\S9 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\SA 5       r\R                  SB 5       r\SC 5       r\R                  SD 5       r\SE 5       r\R                  SF 5       r\SG 5       r\R                  SH 5       r\SI 5       r\R                  SJ 5       r\SK 5       r\R                  SL 5       r\SM 5       r\R                  SN 5       r\SO 5       r\R                  SP 5       r\SQ 5       r\R                  SR 5       r\SS 5       r\R                  ST 5       r\SU 5       r\R                  SV 5       r\SW 5       r\R                  SX 5       rSY rSZ r S[ r!S\ r"S] r#S^r$g-)`V1Container   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
argsz	list[str]commandenvzlist[V1EnvVar]env_fromzlist[V1EnvFromSource]imagestrimage_pull_policy	lifecycleV1Lifecycleliveness_probeV1Probenameportszlist[V1ContainerPort]readiness_probe	resourcesV1ResourceRequirementssecurity_contextV1SecurityContextstdinbool
stdin_oncetermination_message_pathtermination_message_policyzlist[V1VolumeDevice]zlist[V1VolumeMount])ttyvolume_devicesvolume_mountsworking_direnvFromimagePullPolicylivenessProbereadinessProbesecurityContext	stdinOnceterminationMessagePathterminationMessagePolicyr   volumeDevicesvolumeMounts
workingDirNc                    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        Ub  X@l        Ub  XPl        Ub  X`l        Ub  Xpl        Ub  Xl        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 l'        Ub  UU l(        Ub  UU l)        Ub  UU l*        gg)z*
V1Container - a model defined in Swagger
N)+_args_command_env	_env_from_image_image_pull_policy
_lifecycle_liveness_probe_name_ports_readiness_probe
_resources_security_context_stdin_stdin_once_termination_message_path_termination_message_policy_tty_volume_devices_volume_mounts_working_dirdiscriminatorr   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"   s                         8lib/third_party/kubernetes/client/models/v1_container.py__init__V1Container.__init__N   s   4 DJDMDIDNDK"DDODDJDK DDO!DDKD%)D"'+D$DIDDDDil
hmj$0 n!*Ij", n#.j"o+&>d#!-(Bd%
dh!*d (d$d     c                     U R                   $ )a  
Gets the args of this V1Container.
Arguments to the entrypoint. The docker image's CMD is used if this is
not provided. Variable references $(VAR_NAME) are expanded using the
container's environment. If a variable cannot be resolved, the reference
in the input string will be unchanged. The $(VAR_NAME) syntax can be
escaped with a double $$, ie: $$(VAR_NAME). Escaped references will
never be expanded, regardless of whether the variable exists or not.
Cannot be updated. More info:
https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

:return: The args of this V1Container.
:rtype: list[str]
r/   rE   s    rF   r   V1Container.args   s      ::rI   c                     Xl         g)a  
Sets the args of this V1Container.
Arguments to the entrypoint. The docker image's CMD is used if this is
not provided. Variable references $(VAR_NAME) are expanded using the
container's environment. If a variable cannot be resolved, the reference
in the input string will be unchanged. The $(VAR_NAME) syntax can be
escaped with a double $$, ie: $$(VAR_NAME). Escaped references will
never be expanded, regardless of whether the variable exists or not.
Cannot be updated. More info:
https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

:param args: The args of this V1Container.
:type: list[str]
NrK   )rE   r   s     rF   r   rM      s	    " JrI   c                     U R                   $ )a  
Gets the command of this V1Container.
Entrypoint array. Not executed within a shell. The docker image's
ENTRYPOINT is used if this is not provided. Variable references
$(VAR_NAME) are expanded using the container's environment. If a
variable cannot be resolved, the reference in the input string will be
unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie:
$$(VAR_NAME). Escaped references will never be expanded, regardless of
whether the variable exists or not. Cannot be updated. More info:
https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

:return: The command of this V1Container.
:rtype: list[str]
r0   rL   s    rF   r	   V1Container.command   s      ==rI   c                     Xl         g)a  
Sets the command of this V1Container.
Entrypoint array. Not executed within a shell. The docker image's
ENTRYPOINT is used if this is not provided. Variable references
$(VAR_NAME) are expanded using the container's environment. If a
variable cannot be resolved, the reference in the input string will be
unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie:
$$(VAR_NAME). Escaped references will never be expanded, regardless of
whether the variable exists or not. Cannot be updated. More info:
https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

:param command: The command of this V1Container.
:type: list[str]
NrP   )rE   r	   s     rF   r	   rQ      s	    " MrI   c                     U R                   $ )z
Gets the env of this V1Container.
List of environment variables to set in the container. Cannot be
updated.

:return: The env of this V1Container.
:rtype: list[V1EnvVar]
r1   rL   s    rF   r
   V1Container.env        99rI   c                     Xl         g)z
Sets the env of this V1Container.
List of environment variables to set in the container. Cannot be
updated.

:param env: The env of this V1Container.
:type: list[V1EnvVar]
NrT   )rE   r
   s     rF   r
   rU      	     IrI   c                     U R                   $ )a  
Gets the env_from of this V1Container.
List of sources to populate environment variables in the container. The
keys defined within a source must be a C_IDENTIFIER. All invalid keys
will be reported as an event when the container is starting. When a key
exists in multiple sources, the value associated with the last source
will take precedence. Values defined by an Env with a duplicate key will
take precedence. Cannot be updated.

:return: The env_from of this V1Container.
:rtype: list[V1EnvFromSource]
r2   rL   s    rF   r   V1Container.env_from  s     >>rI   c                     Xl         g)a  
Sets the env_from of this V1Container.
List of sources to populate environment variables in the container. The
keys defined within a source must be a C_IDENTIFIER. All invalid keys
will be reported as an event when the container is starting. When a key
exists in multiple sources, the value associated with the last source
will take precedence. Values defined by an Env with a duplicate key will
take precedence. Cannot be updated.

:param env_from: The env_from of this V1Container.
:type: list[V1EnvFromSource]
NrZ   )rE   r   s     rF   r   r[     s	     NrI   c                     U R                   $ )aP  
Gets the image of this V1Container.
Docker image name. More info:
https://kubernetes.io/docs/concepts/containers/images This field is
optional to allow higher level config management to default or override
container images in workload controllers like Deployments and
StatefulSets.

:return: The image of this V1Container.
:rtype: str
r3   rL   s    rF   r   V1Container.image-  s     ;;rI   c                     Xl         g)aT  
Sets the image of this V1Container.
Docker image name. More info:
https://kubernetes.io/docs/concepts/containers/images This field is
optional to allow higher level config management to default or override
container images in workload controllers like Deployments and
StatefulSets.

:param image: The image of this V1Container.
:type: str
Nr^   )rE   r   s     rF   r   r_   <  s	     KrI   c                     U R                   $ )aX  
Gets the image_pull_policy of this V1Container.
Image pull policy. One of Always, Never, IfNotPresent. Defaults to
Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be
updated. More info:
https://kubernetes.io/docs/concepts/containers/images#updating-images

:return: The image_pull_policy of this V1Container.
:rtype: str
r4   rL   s    rF   r   V1Container.image_pull_policyL  s     """rI   c                     Xl         g)ah  
Sets the image_pull_policy of this V1Container.
Image pull policy. One of Always, Never, IfNotPresent. Defaults to
Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be
updated. More info:
https://kubernetes.io/docs/concepts/containers/images#updating-images

:param image_pull_policy: The image_pull_policy of this V1Container.
:type: str
Nrb   )rE   r   s     rF   r   rc   Z  s
     0rI   c                     U R                   $ )z
Gets the lifecycle of this V1Container.
Actions that the management system should take in response to container
lifecycle events. Cannot be updated.

:return: The lifecycle of this V1Container.
:rtype: V1Lifecycle
r5   rL   s    rF   r   V1Container.lifecyclei  s     ??rI   c                     Xl         g)z
Sets the lifecycle of this V1Container.
Actions that the management system should take in response to container
lifecycle events. Cannot be updated.

:param lifecycle: The lifecycle of this V1Container.
:type: V1Lifecycle
Nrf   )rE   r   s     rF   r   rg   u  s	      OrI   c                     U R                   $ )a6  
Gets the liveness_probe of this V1Container.
Periodic probe of container liveness. Container will be restarted if the
probe fails. Cannot be updated. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

:return: The liveness_probe of this V1Container.
:rtype: V1Probe
r6   rL   s    rF   r   V1Container.liveness_probe  s     rI   c                     Xl         g)aC  
Sets the liveness_probe of this V1Container.
Periodic probe of container liveness. Container will be restarted if the
probe fails. Cannot be updated. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

:param liveness_probe: The liveness_probe of this V1Container.
:type: V1Probe
Nrj   )rE   r   s     rF   r   rk     s
     *rI   c                     U R                   $ )z
Gets the name of this V1Container.
Name of the container specified as a DNS_LABEL. Each container in a pod
must have a unique name (DNS_LABEL). Cannot be updated.

:return: The name of this V1Container.
:rtype: str
)r7   rL   s    rF   r   V1Container.name  s     ::rI   c                 ,    Uc  [        S5      eXl        g)z
Sets the name of this V1Container.
Name of the container specified as a DNS_LABEL. Each container in a pod
must have a unique name (DNS_LABEL). Cannot be updated.

:param name: The name of this V1Container.
:type: str
Nz,Invalid value for `name`, must not be `None`)
ValueErrorr7   )rE   r   s     rF   r   rn     s     |EFFJrI   c                     U R                   $ )a  
Gets the ports of this V1Container.
List of ports to expose from the container. Exposing a port here gives
the system additional information about the network connections a
container uses, but is primarily informational. Not specifying a port
here DOES NOT prevent that port from being exposed. Any port which is
listening on the default "0.0.0.0" address inside a container will be
accessible from the network. Cannot be updated.

:return: The ports of this V1Container.
:rtype: list[V1ContainerPort]
r8   rL   s    rF   r   V1Container.ports  s     ;;rI   c                     Xl         g)a  
Sets the ports of this V1Container.
List of ports to expose from the container. Exposing a port here gives
the system additional information about the network connections a
container uses, but is primarily informational. Not specifying a port
here DOES NOT prevent that port from being exposed. Any port which is
listening on the default "0.0.0.0" address inside a container will be
accessible from the network. Cannot be updated.

:param ports: The ports of this V1Container.
:type: list[V1ContainerPort]
Nrr   )rE   r   s     rF   r   rs     s	     KrI   c                     U R                   $ )aV  
Gets the readiness_probe of this V1Container.
Periodic probe of container service readiness. Container will be removed
from service endpoints if the probe fails. Cannot be updated. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

:return: The readiness_probe of this V1Container.
:rtype: V1Probe
r9   rL   s    rF   r   V1Container.readiness_probe  s        rI   c                     Xl         g)ad  
Sets the readiness_probe of this V1Container.
Periodic probe of container service readiness. Container will be removed
from service endpoints if the probe fails. Cannot be updated. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

:param readiness_probe: The readiness_probe of this V1Container.
:type: V1Probe
Nrv   )rE   r   s     rF   r   rw     s
     ,rI   c                     U R                   $ )a  
Gets the resources of this V1Container.
Compute Resources required by this container. Cannot be updated. More
info:
https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

:return: The resources of this V1Container.
:rtype: V1ResourceRequirements
r:   rL   s    rF   r   V1Container.resources  s     ??rI   c                     Xl         g)a  
Sets the resources of this V1Container.
Compute Resources required by this container. Cannot be updated. More
info:
https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

:param resources: The resources of this V1Container.
:type: V1ResourceRequirements
Nrz   )rE   r   s     rF   r   r{     s	      OrI   c                     U R                   $ )aF  
Gets the security_context of this V1Container.
Security options the pod should run with. More info:
https://kubernetes.io/docs/concepts/policy/security-context/ More info:
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

:return: The security_context of this V1Container.
:rtype: V1SecurityContext
r;   rL   s    rF   r   V1Container.security_context  s     !!!rI   c                     Xl         g)aU  
Sets the security_context of this V1Container.
Security options the pod should run with. More info:
https://kubernetes.io/docs/concepts/policy/security-context/ More info:
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

:param security_context: The security_context of this V1Container.
:type: V1SecurityContext
Nr~   )rE   r   s     rF   r   r     s
     .rI   c                     U R                   $ )a  
Gets the stdin of this V1Container.
Whether this container should allocate a buffer for stdin in the
container runtime. If this is not set, reads from stdin in the container
will always result in EOF. Default is false.

:return: The stdin of this V1Container.
:rtype: bool
r<   rL   s    rF   r   V1Container.stdin*  s     ;;rI   c                     Xl         g)a  
Sets the stdin of this V1Container.
Whether this container should allocate a buffer for stdin in the
container runtime. If this is not set, reads from stdin in the container
will always result in EOF. Default is false.

:param stdin: The stdin of this V1Container.
:type: bool
Nr   )rE   r   s     rF   r   r   7  s	     KrI   c                     U R                   $ )a  
Gets the stdin_once of this V1Container.
Whether the container runtime should close the stdin channel after it
has been opened by a single attach. When stdin is true the stdin stream
will remain open across multiple attach sessions. If stdinOnce is set to
true, stdin is opened on container start, is empty until the first
client attaches to stdin, and then remains open and accepts data until
the client disconnects, at which time stdin is closed and remains closed
until the container is restarted. If this flag is false, a container
processes that reads from stdin will never receive an EOF. Default is
false

:return: The stdin_once of this V1Container.
:rtype: bool
r=   rL   s    rF   r   V1Container.stdin_onceE  s    " rI   c                     Xl         g)a  
Sets the stdin_once of this V1Container.
Whether the container runtime should close the stdin channel after it
has been opened by a single attach. When stdin is true the stdin stream
will remain open across multiple attach sessions. If stdinOnce is set to
true, stdin is opened on container start, is empty until the first
client attaches to stdin, and then remains open and accepts data until
the client disconnects, at which time stdin is closed and remains closed
until the container is restarted. If this flag is false, a container
processes that reads from stdin will never receive an EOF. Default is
false

:param stdin_once: The stdin_once of this V1Container.
:type: bool
Nr   )rE   r   s     rF   r   r   X  s
    $ "rI   c                     U R                   $ )a  
Gets the termination_message_path of this V1Container.
Optional: Path at which the file to which the container's termination
message will be written is mounted into the container's filesystem.
Message written is intended to be brief final status, such as an
assertion failure message. Will be truncated by the node if greater than
4096 bytes. The total message length across all containers will be
limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.

:return: The termination_message_path of this V1Container.
:rtype: str
r>   rL   s    rF   r   $V1Container.termination_message_pathl  s     )))rI   c                     Xl         g)a4  
Sets the termination_message_path of this V1Container.
Optional: Path at which the file to which the container's termination
message will be written is mounted into the container's filesystem.
Message written is intended to be brief final status, such as an
assertion failure message. Will be truncated by the node if greater than
4096 bytes. The total message length across all containers will be
limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.

:param termination_message_path: The termination_message_path of this
V1Container.
:type: str
Nr   )rE   r   s     rF   r   r   |  s
      &>"rI   c                     U R                   $ )a@  
Gets the termination_message_policy of this V1Container.
Indicate how the termination message should be populated. File will use
the contents of terminationMessagePath to populate the container status
message on both success and failure. FallbackToLogsOnError will use the
last chunk of container log output if the termination message file is
empty and the container exited with an error. The log output is limited
to 2048 bytes or 80 lines, whichever is smaller. Defaults to File.
Cannot be updated.

:return: The termination_message_policy of this V1Container.
:rtype: str
r?   rL   s    rF   r   &V1Container.termination_message_policy  s     +++rI   c                     Xl         g)aY  
Sets the termination_message_policy of this V1Container.
Indicate how the termination message should be populated. File will use
the contents of terminationMessagePath to populate the container status
message on both success and failure. FallbackToLogsOnError will use the
last chunk of container log output if the termination message file is
empty and the container exited with an error. The log output is limited
to 2048 bytes or 80 lines, whichever is smaller. Defaults to File.
Cannot be updated.

:param termination_message_policy: The termination_message_policy of
this V1Container.
:type: str
Nr   )rE   r   s     rF   r   r     s    " (B$rI   c                     U R                   $ )z
Gets the tty of this V1Container.
Whether this container should allocate a TTY for itself, also requires
'stdin' to be true. Default is false.

:return: The tty of this V1Container.
:rtype: bool
r@   rL   s    rF   r   V1Container.tty  rV   rI   c                     Xl         g)z
Sets the tty of this V1Container.
Whether this container should allocate a TTY for itself, also requires
'stdin' to be true. Default is false.

:param tty: The tty of this V1Container.
:type: bool
Nr   )rE   r   s     rF   r   r     rX   rI   c                     U R                   $ )z
Gets the volume_devices of this V1Container.
volumeDevices is the list of block devices to be used by the container.
This is a beta feature.

:return: The volume_devices of this V1Container.
:rtype: list[V1VolumeDevice]
rA   rL   s    rF   r    V1Container.volume_devices  s     rI   c                     Xl         g)z
Sets the volume_devices of this V1Container.
volumeDevices is the list of block devices to be used by the container.
This is a beta feature.

:param volume_devices: The volume_devices of this V1Container.
:type: list[V1VolumeDevice]
Nr   )rE   r    s     rF   r    r     s
     *rI   c                     U R                   $ )z
Gets the volume_mounts of this V1Container.
Pod volumes to mount into the container's filesystem. Cannot be updated.

:return: The volume_mounts of this V1Container.
:rtype: list[V1VolumeMount]
rB   rL   s    rF   r!   V1Container.volume_mounts  s     rI   c                     Xl         g)z
Sets the volume_mounts of this V1Container.
Pod volumes to mount into the container's filesystem. Cannot be updated.

:param volume_mounts: The volume_mounts of this V1Container.
:type: list[V1VolumeMount]
Nr   )rE   r!   s     rF   r!   r     s
     (rI   c                     U R                   $ )a
  
Gets the working_dir of this V1Container.
Container's working directory. If not specified, the container runtime's
default will be used, which might be configured in the container image.
Cannot be updated.

:return: The working_dir of this V1Container.
:rtype: str
rC   rL   s    rF   r"   V1Container.working_dir  s     rI   c                     Xl         g)a  
Sets the working_dir of this V1Container.
Container's working directory. If not specified, the container runtime's
default will be used, which might be configured in the container image.
Cannot be updated.

:param working_dir: The working_dir of this V1Container.
:type: str
Nr   )rE   r"   s     rF   r"   r     s
     $rI   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    rF   <lambda>%V1Container.to_dict.<locals>.<lambda>   s    I)>)>!))+EAErI   r   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r   r   r   )items    rF   r   r   &  s9    47I.. #1gtAw'89 9489rI   )
r   swagger_typesgetattr
isinstancelistmapr   r   dictitems)rE   resultattr_values        rF   r   V1Container.to_dict  s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 MrI   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   r   rL   s    rF   to_strV1Container.to_str-  s     4<<>""rI   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r   rL   s    rF   __repr__V1Container.__repr__3  s     ;;=rI   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r   r   __dict__rE   others     rF   __eq__V1Container.__eq__9  s'     e[))==ENN**rI   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r   s     rF   __ne__V1Container.__ne__B  s     rI   )+r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   r   r	   rD   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   )NNNNNNNNNNNNNNNNNNNNN)%__name__
__module____qualname____firstlineno____doc__r   attribute_maprG   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   __static_attributes__r   rI   rF   r   r      s   k  )	
 u 5 = 	 e &  + - v F  !%!" #E#$ .,+-0f U )	
 w , ;  f w ) ; + w K  !":!" #$>#$ '%!+-2 !%"# $(,*."!+Y%v  " ;; $  " >> $ 	 	 ::
 
   ??     	<<  # # 0 0 	 	 
  
  
  
  * * 	 	 ;;    	<<   
! 
! , , 
 
     
" 
" . . 
 
 	<<   $ " "& * * ""> #>" , ,  $$B %B$ 	 	 ::
 
 	  	  
* 
*   	( 	( 
 
 $ $.#+rI   r   )r   pprintr   sixr   reobjectr   r   rI   rF   <module>r      s#   	   	t& trI   