Struct aws_sdk_batch::types::EksHostPath
source · #[non_exhaustive]pub struct EksHostPath {
pub path: Option<String>,
}
Expand description
Specifies the configuration of a Kubernetes hostPath
volume. A hostPath
volume mounts an existing file or directory from the host node's filesystem into your pod. For more information, see hostPath in the Kubernetes documentation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.path: Option<String>
The path of the file or directory on the host to mount into containers on the pod.
Implementations§
source§impl EksHostPath
impl EksHostPath
source§impl EksHostPath
impl EksHostPath
sourcepub fn builder() -> EksHostPathBuilder
pub fn builder() -> EksHostPathBuilder
Creates a new builder-style object to manufacture EksHostPath
.
Trait Implementations§
source§impl Clone for EksHostPath
impl Clone for EksHostPath
source§fn clone(&self) -> EksHostPath
fn clone(&self) -> EksHostPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EksHostPath
impl Debug for EksHostPath
source§impl PartialEq for EksHostPath
impl PartialEq for EksHostPath
source§fn eq(&self, other: &EksHostPath) -> bool
fn eq(&self, other: &EksHostPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EksHostPath
Auto Trait Implementations§
impl RefUnwindSafe for EksHostPath
impl Send for EksHostPath
impl Sync for EksHostPath
impl Unpin for EksHostPath
impl UnwindSafe for EksHostPath
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.