pub struct ConsulIngressService {
pub response_headers: Option<ConsulHTTPHeaderModifiers>,
pub max_connections: Option<u32>,
pub max_pending_requests: Option<u32>,
pub max_concurrent_requests: Option<u32>,
pub name: String,
pub hosts: Vec<String>,
pub tls: Option<ConsulGatewayTLSConfig>,
pub request_headers: Option<ConsulHTTPHeaderModifiers>,
}
Expand description
ConsulIngressService is used to configure a service fronted by the ingress gateway. For more details, consult the Consul documentation: https://developer.hashicorp.com/consul/docs/connect/config-entries/ingress-gateway
This struct was generated based on the Go types of the official Nomad API.
Fields§
§response_headers: Option<ConsulHTTPHeaderModifiers>
ResponseHeader specifies a set of HTTP-specific header modification rules applied to responses routed through the gateway
max_connections: Option<u32>
MaxConnections specifies the maximum number of HTTP/1.1 connections a service instance is allowed to establish against the upstream
max_pending_requests: Option<u32>
MaxPendingRequests specifies the maximum number of requests that are allowed to queue while waiting to establish a connection
max_concurrent_requests: Option<u32>
MaxConcurrentRequests specifies the maximum number of concurrent HTTP/2 traffic requests that are allowed at a single point in time
name: String
Name of the service exposed through this listener.
hosts: Vec<String>
Hosts specifies one or more hosts that the listening services can receive requests on.
tls: Option<ConsulGatewayTLSConfig>
TLS specifies a TLS configuration override for a specific service. If unset this will fallback to the ConsulIngressConfigEntry’s own TLS field.
request_headers: Option<ConsulHTTPHeaderModifiers>
RequestHeaders specifies a set of HTTP-specific header modification rules applied to requests routed through the gateway
Trait Implementations§
Source§impl Clone for ConsulIngressService
impl Clone for ConsulIngressService
Source§fn clone(&self) -> ConsulIngressService
fn clone(&self) -> ConsulIngressService
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more