#[non_exhaustive]pub struct WorkloadIdentityConfig {
pub workload_pool: String,
/* private fields */
}Expand description
Configuration for the use of Kubernetes Service Accounts in IAM policies.
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.workload_pool: StringThe workload pool to attach all Kubernetes service accounts to.
Implementations§
Source§impl WorkloadIdentityConfig
impl WorkloadIdentityConfig
pub fn new() -> Self
Sourcepub fn set_workload_pool<T: Into<String>>(self, v: T) -> Self
pub fn set_workload_pool<T: Into<String>>(self, v: T) -> Self
Sets the value of workload_pool.
Trait Implementations§
Source§impl Clone for WorkloadIdentityConfig
impl Clone for WorkloadIdentityConfig
Source§fn clone(&self) -> WorkloadIdentityConfig
fn clone(&self) -> WorkloadIdentityConfig
Returns a duplicate 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 WorkloadIdentityConfig
impl Debug for WorkloadIdentityConfig
Source§impl Default for WorkloadIdentityConfig
impl Default for WorkloadIdentityConfig
Source§fn default() -> WorkloadIdentityConfig
fn default() -> WorkloadIdentityConfig
Returns the “default value” for a type. Read more
Source§impl Message for WorkloadIdentityConfig
impl Message for WorkloadIdentityConfig
Source§impl PartialEq for WorkloadIdentityConfig
impl PartialEq for WorkloadIdentityConfig
impl StructuralPartialEq for WorkloadIdentityConfig
Auto Trait Implementations§
impl Freeze for WorkloadIdentityConfig
impl RefUnwindSafe for WorkloadIdentityConfig
impl Send for WorkloadIdentityConfig
impl Sync for WorkloadIdentityConfig
impl Unpin for WorkloadIdentityConfig
impl UnwindSafe for WorkloadIdentityConfig
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