#[non_exhaustive]pub struct MeshCertificates {
pub enable_certificates: Option<BoolValue>,
}Expand description
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
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.enable_certificates: Option<BoolValue>enable_certificates controls issuance of workload mTLS certificates.
If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.
Requires Workload Identity (workload_pool must be non-empty).
Implementations§
Source§impl MeshCertificates
impl MeshCertificates
Sourcepub fn set_enable_certificates<T: Into<Option<BoolValue>>>(self, v: T) -> Self
pub fn set_enable_certificates<T: Into<Option<BoolValue>>>(self, v: T) -> Self
Sets the value of enable_certificates.
Trait Implementations§
Source§impl Clone for MeshCertificates
impl Clone for MeshCertificates
Source§fn clone(&self) -> MeshCertificates
fn clone(&self) -> MeshCertificates
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 MeshCertificates
impl Debug for MeshCertificates
Source§impl Default for MeshCertificates
impl Default for MeshCertificates
Source§fn default() -> MeshCertificates
fn default() -> MeshCertificates
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MeshCertificateswhere
MeshCertificates: Default,
impl<'de> Deserialize<'de> for MeshCertificateswhere
MeshCertificates: Default,
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for MeshCertificates
impl Message for MeshCertificates
Source§impl PartialEq for MeshCertificates
impl PartialEq for MeshCertificates
Source§impl Serialize for MeshCertificates
impl Serialize for MeshCertificates
impl StructuralPartialEq for MeshCertificates
Auto Trait Implementations§
impl Freeze for MeshCertificates
impl RefUnwindSafe for MeshCertificates
impl Send for MeshCertificates
impl Sync for MeshCertificates
impl Unpin for MeshCertificates
impl UnwindSafe for MeshCertificates
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