pub struct PoolerTemplateSpecInitContainersVolumeMounts {
pub mount_path: String,
pub mount_propagation: Option<String>,
pub name: String,
pub read_only: Option<bool>,
pub sub_path: Option<String>,
pub sub_path_expr: Option<String>,
}Expand description
VolumeMount describes a mounting of a Volume within a container.
Fields§
§mount_path: StringPath within the container at which the volume should be mounted. Must not contain ‘:’.
mount_propagation: Option<String>mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.
name: StringThis must match the Name of a Volume.
read_only: Option<bool>Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.
sub_path: Option<String>Path within the volume from which the container’s volume should be mounted. Defaults to “” (volume’s root).
sub_path_expr: Option<String>Expanded path within the volume from which the container’s volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container’s environment. Defaults to “” (volume’s root). SubPathExpr and SubPath are mutually exclusive.
Trait Implementations§
Source§impl Clone for PoolerTemplateSpecInitContainersVolumeMounts
impl Clone for PoolerTemplateSpecInitContainersVolumeMounts
Source§fn clone(&self) -> PoolerTemplateSpecInitContainersVolumeMounts
fn clone(&self) -> PoolerTemplateSpecInitContainersVolumeMounts
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PoolerTemplateSpecInitContainersVolumeMounts
impl Default for PoolerTemplateSpecInitContainersVolumeMounts
Source§fn default() -> PoolerTemplateSpecInitContainersVolumeMounts
fn default() -> PoolerTemplateSpecInitContainersVolumeMounts
Source§impl<'de> Deserialize<'de> for PoolerTemplateSpecInitContainersVolumeMounts
impl<'de> Deserialize<'de> for PoolerTemplateSpecInitContainersVolumeMounts
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 PoolerTemplateSpecInitContainersVolumeMounts
impl JsonSchema for PoolerTemplateSpecInitContainersVolumeMounts
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 PoolerTemplateSpecInitContainersVolumeMounts
impl RefUnwindSafe for PoolerTemplateSpecInitContainersVolumeMounts
impl Send for PoolerTemplateSpecInitContainersVolumeMounts
impl Sync for PoolerTemplateSpecInitContainersVolumeMounts
impl Unpin for PoolerTemplateSpecInitContainersVolumeMounts
impl UnwindSafe for PoolerTemplateSpecInitContainersVolumeMounts
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