pub struct FcVolumeSource {
pub fs_type: Option<String>,
pub lun: Option<i32>,
pub read_only: Option<bool>,
pub target_wwns: Option<Vec<String>>,
pub wwids: Option<Vec<String>>,
}Expand description
Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.
Fields§
§fs_type: Option<String>Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine +optional
lun: Option<i32>Optional: FC target lun number +optional
read_only: Option<bool>Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
target_wwns: Option<Vec<String>>Optional: FC target worldwide names (WWNs) +optional
wwids: Option<Vec<String>>Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. +optional
Implementations§
Source§impl FcVolumeSource
impl FcVolumeSource
pub fn new() -> FcVolumeSource
Trait Implementations§
Source§impl Clone for FcVolumeSource
impl Clone for FcVolumeSource
Source§fn clone(&self) -> FcVolumeSource
fn clone(&self) -> FcVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FcVolumeSource
impl Debug for FcVolumeSource
Source§impl<'de> Deserialize<'de> for FcVolumeSource
impl<'de> Deserialize<'de> for FcVolumeSource
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 FcVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a FcVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for FcVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a FcVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for FcVolumeSource
impl PartialEq for FcVolumeSource
Source§impl Serialize for FcVolumeSource
impl Serialize for FcVolumeSource
Source§impl ToString for FcVolumeSource
Converts the FcVolumeSource 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 FcVolumeSource
Converts the FcVolumeSource 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