Struct k8s_openapi::api::core::v1::AzureFilePersistentVolumeSource
source · [−]pub struct AzureFilePersistentVolumeSource {
pub read_only: Option<bool>,
pub secret_name: String,
pub secret_namespace: Option<String>,
pub share_name: String,
}
Expand description
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
Fields
read_only: Option<bool>
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
secret_name: String
secretName is the name of secret that contains Azure Storage Account Name and Key
secret_namespace: Option<String>
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
shareName is the azure Share Name
Trait Implementations
sourceimpl Clone for AzureFilePersistentVolumeSource
impl Clone for AzureFilePersistentVolumeSource
sourcefn clone(&self) -> AzureFilePersistentVolumeSource
fn clone(&self) -> AzureFilePersistentVolumeSource
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 Default for AzureFilePersistentVolumeSource
impl Default for AzureFilePersistentVolumeSource
sourcefn default() -> AzureFilePersistentVolumeSource
fn default() -> AzureFilePersistentVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AzureFilePersistentVolumeSource
impl<'de> Deserialize<'de> for AzureFilePersistentVolumeSource
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<AzureFilePersistentVolumeSource> for AzureFilePersistentVolumeSource
impl PartialEq<AzureFilePersistentVolumeSource> for AzureFilePersistentVolumeSource
sourcefn eq(&self, other: &AzureFilePersistentVolumeSource) -> bool
fn eq(&self, other: &AzureFilePersistentVolumeSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AzureFilePersistentVolumeSource) -> bool
fn ne(&self, other: &AzureFilePersistentVolumeSource) -> bool
This method tests for !=
.
impl StructuralPartialEq for AzureFilePersistentVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for AzureFilePersistentVolumeSource
impl Send for AzureFilePersistentVolumeSource
impl Sync for AzureFilePersistentVolumeSource
impl Unpin for AzureFilePersistentVolumeSource
impl UnwindSafe for AzureFilePersistentVolumeSource
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