pub struct StorageOsVolumeSource {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub secret_ref: Option<LocalObjectReference>,
pub volume_name: Option<String>,
pub volume_namespace: Option<String>,
}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. +optional
read_only: Option<bool>Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
secret_ref: Option<LocalObjectReference>§volume_name: Option<String>VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
volume_namespace: Option<String>VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod’s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
Implementations§
Source§impl StorageOsVolumeSource
impl StorageOsVolumeSource
pub fn new() -> StorageOsVolumeSource
Trait Implementations§
Source§impl Clone for StorageOsVolumeSource
impl Clone for StorageOsVolumeSource
Source§fn clone(&self) -> StorageOsVolumeSource
fn clone(&self) -> StorageOsVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StorageOsVolumeSource
impl Debug for StorageOsVolumeSource
Source§impl<'de> Deserialize<'de> for StorageOsVolumeSource
impl<'de> Deserialize<'de> for StorageOsVolumeSource
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 StorageOsVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a StorageOsVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for StorageOsVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a StorageOsVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for StorageOsVolumeSource
impl PartialEq for StorageOsVolumeSource
Source§impl Serialize for StorageOsVolumeSource
impl Serialize for StorageOsVolumeSource
Source§impl ToString for StorageOsVolumeSource
Converts the StorageOsVolumeSource 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 StorageOsVolumeSource
Converts the StorageOsVolumeSource 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