pub struct PoolerTemplateSpecVolumesStorageos {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub secret_ref: Option<PoolerTemplateSpecVolumesStorageosSecretRef>,
pub volume_name: Option<String>,
pub volume_namespace: Option<String>,
}Expand description
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
Fields§
§fs_type: Option<String>fsType is the 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.
read_only: Option<bool>readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
secret_ref: Option<PoolerTemplateSpecVolumesStorageosSecretRef>secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
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.
Trait Implementations§
source§impl Clone for PoolerTemplateSpecVolumesStorageos
impl Clone for PoolerTemplateSpecVolumesStorageos
source§fn clone(&self) -> PoolerTemplateSpecVolumesStorageos
fn clone(&self) -> PoolerTemplateSpecVolumesStorageos
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PoolerTemplateSpecVolumesStorageos
impl Default for PoolerTemplateSpecVolumesStorageos
source§fn default() -> PoolerTemplateSpecVolumesStorageos
fn default() -> PoolerTemplateSpecVolumesStorageos
source§impl<'de> Deserialize<'de> for PoolerTemplateSpecVolumesStorageos
impl<'de> Deserialize<'de> for PoolerTemplateSpecVolumesStorageos
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 JsonSchema for PoolerTemplateSpecVolumesStorageos
impl JsonSchema for PoolerTemplateSpecVolumesStorageos
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more