pub struct AzureFilePersistentVolumeSource {
pub secret_name: Option<String>,
pub share_name: Option<String>,
pub read_only: Option<bool>,
pub secret_namespace: Option<String>,
}Expand description
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
Fields§
§secret_name: Option<String>secretName is the name of secret that contains Azure Storage Account Name and Key
shareName is the azure Share Name
read_only: Option<bool>readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
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 +optional
Implementations§
Source§impl AzureFilePersistentVolumeSource
impl AzureFilePersistentVolumeSource
Sourcepub fn secret_name(&self) -> &str
pub fn secret_name(&self) -> &str
Returns the value of secret_name, or the default value if secret_name is unset.
Returns the value of share_name, or the default value if share_name is unset.
Sourcepub fn read_only(&self) -> bool
pub fn read_only(&self) -> bool
Returns the value of read_only, or the default value if read_only is unset.
Sourcepub fn secret_namespace(&self) -> &str
pub fn secret_namespace(&self) -> &str
Returns the value of secret_namespace, or the default value if secret_namespace is unset.
Trait Implementations§
Source§impl Clone for AzureFilePersistentVolumeSource
impl Clone for AzureFilePersistentVolumeSource
Source§fn clone(&self) -> AzureFilePersistentVolumeSource
fn clone(&self) -> AzureFilePersistentVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Message for AzureFilePersistentVolumeSource
impl Message for AzureFilePersistentVolumeSource
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for AzureFilePersistentVolumeSource
impl PartialEq for AzureFilePersistentVolumeSource
Source§fn eq(&self, other: &AzureFilePersistentVolumeSource) -> bool
fn eq(&self, other: &AzureFilePersistentVolumeSource) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AzureFilePersistentVolumeSource
Auto Trait Implementations§
impl Freeze for AzureFilePersistentVolumeSource
impl RefUnwindSafe for AzureFilePersistentVolumeSource
impl Send for AzureFilePersistentVolumeSource
impl Sync for AzureFilePersistentVolumeSource
impl Unpin for AzureFilePersistentVolumeSource
impl UnsafeUnpin for AzureFilePersistentVolumeSource
impl UnwindSafe for AzureFilePersistentVolumeSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request