local types = import 'types.libsonnet'; types.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy .withAccessLog([ types.envoy.config.accesslog.v3.AccessLog ]) .withAccessLogFlushInterval(types.google.protobuf.Duration) .withCluster('string') .withDownstreamIdleTimeout(types.google.protobuf.Duration) .withHashPolicy([ types.envoy.type.v3.HashPolicy ]) .withIdleTimeout(types.google.protobuf.Duration) .withMaxConnectAttempts(1) .withMaxDownstreamConnectionDuration(types.google.protobuf.Duration) .withMetadataMatch(types.envoy.config.core.v3.Metadata) .withOnDemand(types.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemand) .withStatPrefix('string') .withTunnelingConfig(types.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig) .withUpstreamIdleTimeout(types.google.protobuf.Duration) .withWeightedClusters(types.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster) ._validate()
Name | Type | One-of group | Required | Constraints |
---|---|---|---|---|
access_log | [] envoy.config.accesslog.v3.AccessLog |
|
||
access_log_flush_interval | google.protobuf.Duration |
{"Duration":{"gte":{"nanos":1000000}}}
|
||
cluster | string | cluster_specifier |
|
|
downstream_idle_timeout | google.protobuf.Duration |
|
||
hash_policy | [] envoy.type.v3.HashPolicy |
{"Repeated":{"max_items":1}}
|
||
idle_timeout | google.protobuf.Duration |
|
||
max_connect_attempts | google.protobuf.UInt32Value |
{"Uint32":{"gte":1}}
|
||
max_downstream_connection_duration | google.protobuf.Duration |
{"Duration":{"gte":{"nanos":1000000}}}
|
||
metadata_match | envoy.config.core.v3.Metadata |
|
||
on_demand | envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemand |
|
||
stat_prefix | string |
{"String_":{"WellKnown":null,"min_len":1}}
|
||
tunneling_config | envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig |
|
||
upstream_idle_timeout | google.protobuf.Duration |
|
||
weighted_clusters | envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster | cluster_specifier |
|