[][src]Struct k8s_openapi::api::core::v1::CephFSVolumeSource

pub struct CephFSVolumeSource {
    pub monitors: 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>,
}

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>

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 /

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

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

secret_ref: Option<LocalObjectReference>

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>

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

impl Clone for CephFSVolumeSource[src]

impl Debug for CephFSVolumeSource[src]

impl Default for CephFSVolumeSource[src]

impl<'de> Deserialize<'de> for CephFSVolumeSource[src]

impl PartialEq<CephFSVolumeSource> for CephFSVolumeSource[src]

impl Serialize for CephFSVolumeSource[src]

impl StructuralPartialEq for CephFSVolumeSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.