nomad_client_rs/models/
consul_gateway_proxy.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct ConsulGatewayProxy {
5 #[serde(rename = "Config", skip_serializing_if = "Option::is_none")]
6 pub config: Option<::std::collections::HashMap<String, serde_json::Value>>,
7 #[serde(rename = "ConnectTimeout", skip_serializing_if = "Option::is_none")]
8 pub connect_timeout: Option<i64>,
9 #[serde(
10 rename = "EnvoyDNSDiscoveryType",
11 skip_serializing_if = "Option::is_none"
12 )]
13 pub envoy_dns_discovery_type: Option<String>,
14 #[serde(
15 rename = "EnvoyGatewayBindAddresses",
16 skip_serializing_if = "Option::is_none"
17 )]
18 pub envoy_gateway_bind_addresses:
19 Option<::std::collections::HashMap<String, crate::models::ConsulGatewayBindAddress>>,
20 #[serde(
21 rename = "EnvoyGatewayBindTaggedAddresses",
22 skip_serializing_if = "Option::is_none"
23 )]
24 pub envoy_gateway_bind_tagged_addresses: Option<bool>,
25 #[serde(
26 rename = "EnvoyGatewayNoDefaultBind",
27 skip_serializing_if = "Option::is_none"
28 )]
29 pub envoy_gateway_no_default_bind: Option<bool>,
30}