pub struct ConsulGatewayTLSSDSConfig {
pub cluster_name: Option<String>,
pub cert_resource: Option<String>,
}
Expand description
ConsulGatewayTLSSDSConfig is used to configure the gateway’s TLS listener to load certificates from an external Secret Discovery Service (SDS)
This struct was generated based on the Go types of the official Nomad API.
Fields§
§cluster_name: Option<String>
ClusterName specifies the name of the SDS cluster where Consul should retrieve certificates.
cert_resource: Option<String>
CertResource specifies an SDS resource name
Trait Implementations§
Source§impl Clone for ConsulGatewayTLSSDSConfig
impl Clone for ConsulGatewayTLSSDSConfig
Source§fn clone(&self) -> ConsulGatewayTLSSDSConfig
fn clone(&self) -> ConsulGatewayTLSSDSConfig
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 ConsulGatewayTLSSDSConfig
impl Debug for ConsulGatewayTLSSDSConfig
Source§impl Default for ConsulGatewayTLSSDSConfig
impl Default for ConsulGatewayTLSSDSConfig
Source§fn default() -> ConsulGatewayTLSSDSConfig
fn default() -> ConsulGatewayTLSSDSConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsulGatewayTLSSDSConfig
impl<'de> Deserialize<'de> for ConsulGatewayTLSSDSConfig
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
impl StructuralPartialEq for ConsulGatewayTLSSDSConfig
Auto Trait Implementations§
impl Freeze for ConsulGatewayTLSSDSConfig
impl RefUnwindSafe for ConsulGatewayTLSSDSConfig
impl Send for ConsulGatewayTLSSDSConfig
impl Sync for ConsulGatewayTLSSDSConfig
impl Unpin for ConsulGatewayTLSSDSConfig
impl UnwindSafe for ConsulGatewayTLSSDSConfig
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