Struct aws_sdk_batch::types::EksVolume
source · #[non_exhaustive]pub struct EksVolume {
pub name: Option<String>,
pub host_path: Option<EksHostPath>,
pub empty_dir: Option<EksEmptyDir>,
pub secret: Option<EksSecret>,
}
Expand description
Specifies an Amazon EKS volume for a job definition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
host_path: Option<EksHostPath>
Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
empty_dir: Option<EksEmptyDir>
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.
secret: Option<EksSecret>
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes documentation.
Implementations§
source§impl EksVolume
impl EksVolume
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
sourcepub fn host_path(&self) -> Option<&EksHostPath>
pub fn host_path(&self) -> Option<&EksHostPath>
Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
sourcepub fn empty_dir(&self) -> Option<&EksEmptyDir>
pub fn empty_dir(&self) -> Option<&EksEmptyDir>
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.
Trait Implementations§
source§impl PartialEq for EksVolume
impl PartialEq for EksVolume
impl StructuralPartialEq for EksVolume
Auto Trait Implementations§
impl Freeze for EksVolume
impl RefUnwindSafe for EksVolume
impl Send for EksVolume
impl Sync for EksVolume
impl Unpin for EksVolume
impl UnwindSafe for EksVolume
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> 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