
    ?'                     >    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))V1RBDVolumeSource   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strz	list[str]boolV1LocalObjectReference)fs_typeimagekeyringmonitorspool	read_only
secret_refuserfsTyper   r   r   r   readOnly	secretRefr   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        Ub  Xl	        X l
        Ub  X0l        X@l        Ub  XPl        Ub  X`l        Ub  Xpl        Ub  Xl        gg)z0
V1RBDVolumeSource - a model defined in Swagger
N_fs_type_image_keyring	_monitors_pool
_read_only_secret_ref_userdiscriminatorr   r   r   r   r   r   r   r   )	selfr   r   r   r   r   r   r   r   s	            @lib/third_party/kubernetes/client/models/v1_rbd_volume_source.py__init__V1RBDVolumeSource.__init__4   s     DMDKDMDNDJDODDJDlJlMi n"oi     c                     U R                   $ )a  
Gets the fs_type of this V1RBDVolumeSource.
Filesystem type of the volume that you want to mount. Tip: Ensure that
the filesystem type is supported by the host operating system. Examples:
"ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if
unspecified. More info:
https://kubernetes.io/docs/concepts/storage/volumes#rbd

:return: The fs_type of this V1RBDVolumeSource.
:rtype: str
r   r!   s    r"   r   V1RBDVolumeSource.fs_typeZ   s     ==r%   c                     Xl         g)a  
Sets the fs_type of this V1RBDVolumeSource.
Filesystem type of the volume that you want to mount. Tip: Ensure that
the filesystem type is supported by the host operating system. Examples:
"ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if
unspecified. More info:
https://kubernetes.io/docs/concepts/storage/volumes#rbd

:param fs_type: The fs_type of this V1RBDVolumeSource.
:type: str
Nr'   )r!   r   s     r"   r   r)   i   s	     Mr%   c                     U R                   $ )z
Gets the image of this V1RBDVolumeSource.
The rados image name. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:return: The image of this V1RBDVolumeSource.
:rtype: str
)r   r(   s    r"   r   V1RBDVolumeSource.imagey   s     ;;r%   c                 ,    Uc  [        S5      eXl        g)z
Sets the image of this V1RBDVolumeSource.
The rados image name. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:param image: The image of this V1RBDVolumeSource.
:type: str
Nz-Invalid value for `image`, must not be `None`)
ValueErrorr   )r!   r   s     r"   r   r,      s     }FGGKr%   c                     U R                   $ )a
  
Gets the keyring of this V1RBDVolumeSource.
Keyring is the path to key ring for RBDUser. Default is
/etc/ceph/keyring. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:return: The keyring of this V1RBDVolumeSource.
:rtype: str
r   r(   s    r"   r   V1RBDVolumeSource.keyring   s     ==r%   c                     Xl         g)a  
Sets the keyring of this V1RBDVolumeSource.
Keyring is the path to key ring for RBDUser. Default is
/etc/ceph/keyring. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:param keyring: The keyring of this V1RBDVolumeSource.
:type: str
Nr0   )r!   r   s     r"   r   r1      s	     Mr%   c                     U R                   $ )z
Gets the monitors of this V1RBDVolumeSource.
A collection of Ceph monitors. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:return: The monitors of this V1RBDVolumeSource.
:rtype: list[str]
)r   r(   s    r"   r   V1RBDVolumeSource.monitors   s     >>r%   c                 ,    Uc  [        S5      eXl        g)z
Sets the monitors of this V1RBDVolumeSource.
A collection of Ceph monitors. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:param monitors: The monitors of this V1RBDVolumeSource.
:type: list[str]
Nz0Invalid value for `monitors`, must not be `None`)r.   r   )r!   r   s     r"   r   r4      s     IJJNr%   c                     U R                   $ )z
Gets the pool of this V1RBDVolumeSource.
The rados pool name. Default is rbd. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:return: The pool of this V1RBDVolumeSource.
:rtype: str
r   r(   s    r"   r   V1RBDVolumeSource.pool        ::r%   c                     Xl         g)z
Sets the pool of this V1RBDVolumeSource.
The rados pool name. Default is rbd. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:param pool: The pool of this V1RBDVolumeSource.
:type: str
Nr7   )r!   r   s     r"   r   r8      	     Jr%   c                     U R                   $ )a  
Gets the read_only of this V1RBDVolumeSource.
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults
to false. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:return: The read_only of this V1RBDVolumeSource.
:rtype: bool
r   r(   s    r"   r   V1RBDVolumeSource.read_only   s     ??r%   c                     Xl         g)a  
Sets the read_only of this V1RBDVolumeSource.
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults
to false. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:param read_only: The read_only of this V1RBDVolumeSource.
:type: bool
Nr=   )r!   r   s     r"   r   r>      s	      Or%   c                     U R                   $ )aC  
Gets the secret_ref of this V1RBDVolumeSource.
SecretRef is name of the authentication secret for RBDUser. If provided
overrides keyring. Default is nil. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:return: The secret_ref of this V1RBDVolumeSource.
:rtype: V1LocalObjectReference
r   r(   s    r"   r   V1RBDVolumeSource.secret_ref   s     r%   c                     Xl         g)aL  
Sets the secret_ref of this V1RBDVolumeSource.
SecretRef is name of the authentication secret for RBDUser. If provided
overrides keyring. Default is nil. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:param secret_ref: The secret_ref of this V1RBDVolumeSource.
:type: V1LocalObjectReference
NrA   )r!   r   s     r"   r   rB     s
     "r%   c                     U R                   $ )z
Gets the user of this V1RBDVolumeSource.
The rados user name. Default is admin. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:return: The user of this V1RBDVolumeSource.
:rtype: str
r   r(   s    r"   r   V1RBDVolumeSource.user  r9   r%   c                     Xl         g)z
Sets the user of this V1RBDVolumeSource.
The rados user name. Default is admin. More info:
https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

:param user: The user of this V1RBDVolumeSource.
:type: str
NrE   )r!   r   s     r"   r   rF   %  r;   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hasattrrJ   )xs    r"   <lambda>+V1RBDVolumeSource.to_dict.<locals>.<lambda><  s    I)>)>!))+EAEr%   rJ   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rJ   r   rK   )items    r"   rN   rO   B  s9    47I.. #1gtAw'89 9489r%   )
r   swagger_typesgetattr
isinstancelistmaprL   rJ   dictitems)r!   resultattr_values        r"   rJ   V1RBDVolumeSource.to_dict2  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   rJ   r(   s    r"   to_strV1RBDVolumeSource.to_strI  s     4<<>""r%   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r`   r(   s    r"   __repr__V1RBDVolumeSource.__repr__O  s     ;;=r%   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rU   r   __dict__r!   others     r"   __eq__V1RBDVolumeSource.__eq__U  s(     e.//==ENN**r%   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rg   s     r"   __ne__V1RBDVolumeSource.__ne__^  s     r%   r   )NNNNNNNN)__name__
__module____qualname____firstlineno____doc__rS   attribute_mapr#   propertyr   setterr   r   r   r   r   r   r   rJ   r`   rc   ri   rm   __static_attributes__rl   r%   r"   r   r      s    ,	- 	- $L   >>  	 	 	<<  
 
 >>  	 	 ??  	 	 ;;
 
 
 
     
 
 " " 	 	 ;;
 
.#+r%   r   )rs   pprintr   sixr   reobjectr   rl   r%   r"   <module>r|      s#   	   	P Pr%   