Struct aws_sdk_batch::types::EksSecret
source · #[non_exhaustive]pub struct EksSecret {
pub secret_name: Option<String>,
pub optional: Option<bool>,
}
Expand description
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret 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.secret_name: Option<String>
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
optional: Option<bool>
Specifies whether the secret or the secret's keys must be defined.
Implementations§
source§impl EksSecret
impl EksSecret
sourcepub fn secret_name(&self) -> Option<&str>
pub fn secret_name(&self) -> Option<&str>
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
Trait Implementations§
source§impl PartialEq<EksSecret> for EksSecret
impl PartialEq<EksSecret> for EksSecret
impl StructuralPartialEq for EksSecret
Auto Trait Implementations§
impl RefUnwindSafe for EksSecret
impl Send for EksSecret
impl Sync for EksSecret
impl Unpin for EksSecret
impl UnwindSafe for EksSecret
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