
    3i1                     B    S r SSKrSSKrSSKrSSKJr   " S S\5      rg)z
Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

The version of the OpenAPI document: release-1.34
Generated by: https://openapi-generator.tech
    N)Configurationc                      \ rS rSrSr SSSSSSS.r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 rS rS rS rS rSrg)!V1PodCertificateProjection   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
strint)certificate_chain_pathcredential_bundle_pathkey_pathkey_typemax_expiration_secondssigner_namecertificateChainPathcredentialBundlePathkeyPathkeyTypemaxExpirationSeconds
signerNameNc                     Uc
  [        5       nXpl        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        X`l        g)z7V1PodCertificateProjection - a model defined in OpenAPIN)r   local_vars_configuration_certificate_chain_path_credential_bundle_path	_key_path	_key_type_max_expiration_seconds_signer_namediscriminatorr	   r
   r   r   r   r   )selfr	   r
   r   r   r   r   r   s           p/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_pod_certificate_projection.py__init__#V1PodCertificateProjection.__init__5   s    #+'4$(@%'+$'+$'+$ !!-*@'!-*@'$M !-*@'&    c                     U R                   $ )a  Gets the certificate_chain_path of this V1PodCertificateProjection.  # noqa: E501

Write the certificate chain at this path in the projected volume.  Most applications should use credentialBundlePath.  When using keyPath and certificateChainPath, your application needs to check that the key and leaf certificate are consistent, because it is possible to read the files mid-rotation.  # noqa: E501

:return: The certificate_chain_path of this V1PodCertificateProjection.  # noqa: E501
:rtype: str
r   r   s    r   r	   1V1PodCertificateProjection.certificate_chain_pathN        +++r"   c                     Xl         g)a  Sets the certificate_chain_path of this V1PodCertificateProjection.

Write the certificate chain at this path in the projected volume.  Most applications should use credentialBundlePath.  When using keyPath and certificateChainPath, your application needs to check that the key and leaf certificate are consistent, because it is possible to read the files mid-rotation.  # noqa: E501

:param certificate_chain_path: The certificate_chain_path of this V1PodCertificateProjection.  # noqa: E501
:type: str
Nr$   )r   r	   s     r   r	   r&   Y   
     (>$r"   c                     U R                   $ )a?  Gets the credential_bundle_path of this V1PodCertificateProjection.  # noqa: E501

Write the credential bundle at this path in the projected volume.  The credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key.  The remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates).  Using credentialBundlePath lets your Pod's application code make a single atomic read that retrieves a consistent key and certificate chain.  If you project them to separate files, your application code will need to additionally check that the leaf certificate was issued to the key.  # noqa: E501

:return: The credential_bundle_path of this V1PodCertificateProjection.  # noqa: E501
:rtype: str
r   r%   s    r   r
   1V1PodCertificateProjection.credential_bundle_pathe   r'   r"   c                     Xl         g)aF  Sets the credential_bundle_path of this V1PodCertificateProjection.

Write the credential bundle at this path in the projected volume.  The credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key.  The remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates).  Using credentialBundlePath lets your Pod's application code make a single atomic read that retrieves a consistent key and certificate chain.  If you project them to separate files, your application code will need to additionally check that the leaf certificate was issued to the key.  # noqa: E501

:param credential_bundle_path: The credential_bundle_path of this V1PodCertificateProjection.  # noqa: E501
:type: str
Nr+   )r   r
   s     r   r
   r,   p   r)   r"   c                     U R                   $ )a  Gets the key_path of this V1PodCertificateProjection.  # noqa: E501

Write the key at this path in the projected volume.  Most applications should use credentialBundlePath.  When using keyPath and certificateChainPath, your application needs to check that the key and leaf certificate are consistent, because it is possible to read the files mid-rotation.  # noqa: E501

:return: The key_path of this V1PodCertificateProjection.  # noqa: E501
:rtype: str
r   r%   s    r   r   #V1PodCertificateProjection.key_path|        ~~r"   c                     Xl         g)a  Sets the key_path of this V1PodCertificateProjection.

Write the key at this path in the projected volume.  Most applications should use credentialBundlePath.  When using keyPath and certificateChainPath, your application needs to check that the key and leaf certificate are consistent, because it is possible to read the files mid-rotation.  # noqa: E501

:param key_path: The key_path of this V1PodCertificateProjection.  # noqa: E501
:type: str
Nr/   )r   r   s     r   r   r0      s	     "r"   c                     U R                   $ )a=  Gets the key_type of this V1PodCertificateProjection.  # noqa: E501

The type of keypair Kubelet will generate for the pod.  Valid values are "RSA3072", "RSA4096", "ECDSAP256", "ECDSAP384", "ECDSAP521", and "ED25519".  # noqa: E501

:return: The key_type of this V1PodCertificateProjection.  # noqa: E501
:rtype: str
)r   r%   s    r   r   #V1PodCertificateProjection.key_type   r1   r"   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)a6  Sets the key_type of this V1PodCertificateProjection.

The type of keypair Kubelet will generate for the pod.  Valid values are "RSA3072", "RSA4096", "ECDSAP256", "ECDSAP384", "ECDSAP521", and "ED25519".  # noqa: E501

:param key_type: The key_type of this V1PodCertificateProjection.  # noqa: E501
:type: str
Nz0Invalid value for `key_type`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   r4      s)     ((??HDTOPP!r"   c                     U R                   $ )aP  Gets the max_expiration_seconds of this V1PodCertificateProjection.  # noqa: E501

maxExpirationSeconds is the maximum lifetime permitted for the certificate.  Kubelet copies this value verbatim into the PodCertificateRequests it generates for this projection.  If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour).  The maximum allowable value is 7862400 (91 days).  The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour).  This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.  # noqa: E501

:return: The max_expiration_seconds of this V1PodCertificateProjection.  # noqa: E501
:rtype: int
r   r%   s    r   r   1V1PodCertificateProjection.max_expiration_seconds   r'   r"   c                     Xl         g)aW  Sets the max_expiration_seconds of this V1PodCertificateProjection.

maxExpirationSeconds is the maximum lifetime permitted for the certificate.  Kubelet copies this value verbatim into the PodCertificateRequests it generates for this projection.  If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour).  The maximum allowable value is 7862400 (91 days).  The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour).  This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.  # noqa: E501

:param max_expiration_seconds: The max_expiration_seconds of this V1PodCertificateProjection.  # noqa: E501
:type: int
Nr9   )r   r   s     r   r   r:      r)   r"   c                     U R                   $ )zGets the signer_name of this V1PodCertificateProjection.  # noqa: E501

Kubelet's generated CSRs will be addressed to this signer.  # noqa: E501

:return: The signer_name of this V1PodCertificateProjection.  # noqa: E501
:rtype: str
)r   r%   s    r   r   &V1PodCertificateProjection.signer_name   s        r"   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)zSets the signer_name of this V1PodCertificateProjection.

Kubelet's generated CSRs will be addressed to this signer.  # noqa: E501

:param signer_name: The signer_name of this V1PodCertificateProjection.  # noqa: E501
:type: str
Nz3Invalid value for `signer_name`, must not be `None`)r   r6   r7   r   )r   r   s     r   r   r=      s*     ((??KDWRSS'r"   c                    0 n[         R                  " 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 dictc                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrrA   )xs    r   <lambda>4V1PodCertificateProjection.to_dict.<locals>.<lambda>   s    WQ	-B-BaiikIIr"   rA   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rA   r   rB   )items    r   rE   rF      s9    tAw	22 #'q'47??+<!= "=8<"=r"   )six	iteritemsopenapi_typesgetattr
isinstancelistmaprC   rA   dictitems)r   resultattr_values        r   rA   "V1PodCertificateProjection.to_dict   s    }}T%7%78GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 9$ r"   c                 J    [         R                  " U R                  5       5      $ )z.Returns the string representation of the model)pprintpformatrA   r%   s    r   to_str!V1PodCertificateProjection.to_str   s    ~~dlln--r"   c                 "    U R                  5       $ )zFor `print` and `pprint`)r[   r%   s    r   __repr__#V1PodCertificateProjection.__repr__   s    {{}r"   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFrN   r   rA   r   others     r   __eq__!V1PodCertificateProjection.__eq__   s*    %!;<<||~00r"   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTra   rb   s     r   __ne__!V1PodCertificateProjection.__ne__  s*    %!;<<||~00r"   )r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   )NNNNNNN)__name__
__module____qualname____firstlineno____doc__rL   attribute_mapr    propertyr	   setterr
   r   r   r   r   rA   r[   r^   rd   rg   __static_attributes__ r"   r   r   r      sp    #("'"'M #9"8"8#M'2 , , ""	> #	> , , ""	> #	>   __	" 	"   __" " , , ""	> #	> ! ! ( (0.11r"   r   )rm   rY   rerJ   kubernetes.client.configurationr   objectr   rr   r"   r   <module>rv      s&     	 
 9s1 s1r"   