pub struct ConsulGatewayProxy {
pub connect_timeout: Option<TimeDelta>,
pub envoy_gateway_bind_tagged_addresses: Option<bool>,
pub envoy_gateway_bind_addresses: Option<HashMap<String, ConsulGatewayBindAddress>>,
pub envoy_gateway_no_default_bind: Option<bool>,
pub envoy_dns_discovery_type: Option<String>,
pub config: HashMap<String, Value>,
}
Expand description
ConsulGatewayProxy is used to tune parameters of the proxy instance acting as one of the forms of Connect gateways that Consul supports.
https://www.consul.io/docs/connect/proxies/envoy#gateway-options
This struct was generated based on the Go types of the official Nomad API.
Fields§
§connect_timeout: Option<TimeDelta>
§envoy_gateway_bind_tagged_addresses: Option<bool>
§envoy_gateway_bind_addresses: Option<HashMap<String, ConsulGatewayBindAddress>>
§envoy_gateway_no_default_bind: Option<bool>
§envoy_dns_discovery_type: Option<String>
§config: HashMap<String, Value>
Trait Implementations§
Source§impl Clone for ConsulGatewayProxy
impl Clone for ConsulGatewayProxy
Source§fn clone(&self) -> ConsulGatewayProxy
fn clone(&self) -> ConsulGatewayProxy
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 ConsulGatewayProxy
impl Debug for ConsulGatewayProxy
Source§impl Default for ConsulGatewayProxy
impl Default for ConsulGatewayProxy
Source§fn default() -> ConsulGatewayProxy
fn default() -> ConsulGatewayProxy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsulGatewayProxy
impl<'de> Deserialize<'de> for ConsulGatewayProxy
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 PartialEq for ConsulGatewayProxy
impl PartialEq for ConsulGatewayProxy
Source§impl Serialize for ConsulGatewayProxy
impl Serialize for ConsulGatewayProxy
impl StructuralPartialEq for ConsulGatewayProxy
Auto Trait Implementations§
impl Freeze for ConsulGatewayProxy
impl RefUnwindSafe for ConsulGatewayProxy
impl Send for ConsulGatewayProxy
impl Sync for ConsulGatewayProxy
impl Unpin for ConsulGatewayProxy
impl UnwindSafe for ConsulGatewayProxy
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