pub struct PoolerTemplateSpecVolumesFlexVolume {
pub driver: String,
pub fs_type: Option<String>,
pub options: Option<BTreeMap<String, String>>,
pub read_only: Option<bool>,
pub secret_ref: Option<PoolerTemplateSpecVolumesFlexVolumeSecretRef>,
}Expand description
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
Fields§
§driver: Stringdriver is the name of the driver to use for this volume.
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”. The default filesystem depends on FlexVolume script.
options: Option<BTreeMap<String, String>>options is Optional: this field holds extra command options if any.
read_only: Option<bool>readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
secret_ref: Option<PoolerTemplateSpecVolumesFlexVolumeSecretRef>secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
Trait Implementations§
Source§impl Clone for PoolerTemplateSpecVolumesFlexVolume
impl Clone for PoolerTemplateSpecVolumesFlexVolume
Source§fn clone(&self) -> PoolerTemplateSpecVolumesFlexVolume
fn clone(&self) -> PoolerTemplateSpecVolumesFlexVolume
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PoolerTemplateSpecVolumesFlexVolume
impl Default for PoolerTemplateSpecVolumesFlexVolume
Source§fn default() -> PoolerTemplateSpecVolumesFlexVolume
fn default() -> PoolerTemplateSpecVolumesFlexVolume
Source§impl<'de> Deserialize<'de> for PoolerTemplateSpecVolumesFlexVolume
impl<'de> Deserialize<'de> for PoolerTemplateSpecVolumesFlexVolume
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 PoolerTemplateSpecVolumesFlexVolume
impl JsonSchema for PoolerTemplateSpecVolumesFlexVolume
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PoolerTemplateSpecVolumesFlexVolume
impl RefUnwindSafe for PoolerTemplateSpecVolumesFlexVolume
impl Send for PoolerTemplateSpecVolumesFlexVolume
impl Sync for PoolerTemplateSpecVolumesFlexVolume
impl Unpin for PoolerTemplateSpecVolumesFlexVolume
impl UnwindSafe for PoolerTemplateSpecVolumesFlexVolume
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more