pub struct CephFsVolumeSource {
pub monitors: Option<Vec<String>>,
pub path: Option<String>,
pub read_only: Option<bool>,
pub secret_file: Option<String>,
pub secret_ref: Option<LocalObjectReference>,
pub user: Option<String>,
}Expand description
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
Fields§
§monitors: Option<Vec<String>>Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
path: Option<String>Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
read_only: Option<bool>Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
secret_file: Option<String>Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
secret_ref: Option<LocalObjectReference>§user: Option<String>Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
Implementations§
Source§impl CephFsVolumeSource
impl CephFsVolumeSource
pub fn new() -> CephFsVolumeSource
Trait Implementations§
Source§impl Clone for CephFsVolumeSource
impl Clone for CephFsVolumeSource
Source§fn clone(&self) -> CephFsVolumeSource
fn clone(&self) -> CephFsVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CephFsVolumeSource
impl Debug for CephFsVolumeSource
Source§impl<'de> Deserialize<'de> for CephFsVolumeSource
impl<'de> Deserialize<'de> for CephFsVolumeSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl FromStr for CephFsVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a CephFsVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for CephFsVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a CephFsVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for CephFsVolumeSource
impl PartialEq for CephFsVolumeSource
Source§impl Serialize for CephFsVolumeSource
impl Serialize for CephFsVolumeSource
Source§impl ToString for CephFsVolumeSource
Converts the CephFsVolumeSource value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for CephFsVolumeSource
Converts the CephFsVolumeSource value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer