pub struct IngressRouteTCPRoutesServices {
pub name: String,
pub namespace: Option<String>,
pub port: IntOrString,
pub proxy_protocol: Option<IngressRouteTCPRoutesServicesProxyProtocol>,
pub termination_delay: Option<i64>,
pub weight: Option<i64>,
}Expand description
ServiceTCP defines an upstream TCP service to proxy traffic to.
Fields§
§name: StringName defines the name of the referenced Kubernetes Service.
namespace: Option<String>Namespace defines the namespace of the referenced Kubernetes Service.
port: IntOrStringPort defines the port of a Kubernetes Service. This can be a reference to a named port.
proxy_protocol: Option<IngressRouteTCPRoutesServicesProxyProtocol>ProxyProtocol defines the PROXY protocol configuration. More info: https://doc.traefik.io/traefik/v3.0/routing/services/#proxy-protocol
termination_delay: Option<i64>TerminationDelay defines the deadline that the proxy sets, after one of its connected peers indicates it has closed the writing capability of its connection, to close the reading capability as well, hence fully terminating the connection. It is a duration in milliseconds, defaulting to 100. A negative value means an infinite deadline (i.e. the reading capability is never closed).
weight: Option<i64>Weight defines the weight used when balancing requests between multiple Kubernetes Service.
Trait Implementations§
source§impl Clone for IngressRouteTCPRoutesServices
impl Clone for IngressRouteTCPRoutesServices
source§fn clone(&self) -> IngressRouteTCPRoutesServices
fn clone(&self) -> IngressRouteTCPRoutesServices
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for IngressRouteTCPRoutesServices
impl Default for IngressRouteTCPRoutesServices
source§fn default() -> IngressRouteTCPRoutesServices
fn default() -> IngressRouteTCPRoutesServices
source§impl<'de> Deserialize<'de> for IngressRouteTCPRoutesServices
impl<'de> Deserialize<'de> for IngressRouteTCPRoutesServices
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>,
source§impl JsonSchema for IngressRouteTCPRoutesServices
impl JsonSchema for IngressRouteTCPRoutesServices
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more