Struct k8s_openapi::api::core::v1::CephFSPersistentVolumeSource
source · [−]pub struct CephFSPersistentVolumeSource {
pub monitors: Vec<String>,
pub path: Option<String>,
pub read_only: Option<bool>,
pub secret_file: Option<String>,
pub secret_ref: Option<SecretReference>,
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: Vec<String>
monitors is 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>
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
read_only: Option<bool>
readOnly is 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
secret_file: Option<String>
secretFile is 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
secret_ref: Option<SecretReference>
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
user: Option<String>
user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
Trait Implementations
sourceimpl Clone for CephFSPersistentVolumeSource
impl Clone for CephFSPersistentVolumeSource
sourcefn clone(&self) -> CephFSPersistentVolumeSource
fn clone(&self) -> CephFSPersistentVolumeSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CephFSPersistentVolumeSource
impl Debug for CephFSPersistentVolumeSource
sourceimpl Default for CephFSPersistentVolumeSource
impl Default for CephFSPersistentVolumeSource
sourcefn default() -> CephFSPersistentVolumeSource
fn default() -> CephFSPersistentVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CephFSPersistentVolumeSource
impl<'de> Deserialize<'de> for CephFSPersistentVolumeSource
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CephFSPersistentVolumeSource> for CephFSPersistentVolumeSource
impl PartialEq<CephFSPersistentVolumeSource> for CephFSPersistentVolumeSource
sourcefn eq(&self, other: &CephFSPersistentVolumeSource) -> bool
fn eq(&self, other: &CephFSPersistentVolumeSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CephFSPersistentVolumeSource) -> bool
fn ne(&self, other: &CephFSPersistentVolumeSource) -> bool
This method tests for !=
.
impl StructuralPartialEq for CephFSPersistentVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for CephFSPersistentVolumeSource
impl Send for CephFSPersistentVolumeSource
impl Sync for CephFSPersistentVolumeSource
impl Unpin for CephFSPersistentVolumeSource
impl UnwindSafe for CephFSPersistentVolumeSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more