Home

envoy.extensions.filters.network.thrift_proxy.v3.ThriftProxy

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.extensions.filters.network.thrift_proxy.v3.ThriftProxy
.withAccessLog([ types.envoy.config.accesslog.v3.AccessLog ])
.withHeaderKeysPreserveCase(false)
.withMaxRequestsPerConnection(1)
.withPayloadPassthrough(false)
.withProtocol(types.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL)
.withRouteConfig(types.envoy.extensions.filters.network.thrift_proxy.v3.RouteConfiguration)
.withStatPrefix('string')
.withThriftFilters([ types.envoy.extensions.filters.network.thrift_proxy.v3.ThriftFilter ])
.withTransport(types.envoy.extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT)
.withTrds(types.envoy.extensions.filters.network.thrift_proxy.v3.Trds)
._validate()

Fields

Name Type One-of group Required Constraints
access_log [] envoy.config.accesslog.v3.AccessLog  
header_keys_preserve_case bool  
max_requests_per_connection google.protobuf.UInt32Value  
payload_passthrough bool  
protocol envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType   {"Enum":{"defined_only":true}}
route_config envoy.extensions.filters.network.thrift_proxy.v3.RouteConfiguration  
stat_prefix string   {"String_":{"WellKnown":null,"min_len":1}}
thrift_filters [] envoy.extensions.filters.network.thrift_proxy.v3.ThriftFilter  
transport envoy.extensions.filters.network.thrift_proxy.v3.TransportType   {"Enum":{"defined_only":true}}
trds envoy.extensions.filters.network.thrift_proxy.v3.Trds