local types = import 'types.libsonnet';
types.envoy.extensions.filters.network.thrift_proxy.v3.RouteAction
.withCluster('string')
.withClusterHeader('string')
.withMetadataMatch(types.envoy.config.core.v3.Metadata)
.withRateLimits([ types.envoy.config.route.v3.RateLimit ])
.withRequestMirrorPolicies([ types.envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy ])
.withStripServiceName(false)
.withWeightedClusters(types.envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster)
._validate()
| Name | Type | One-of group | Required | Constraints |
|---|---|---|---|---|
| cluster | string | cluster_specifier |
{"String_":{"WellKnown":null,"min_len":1}}
|
|
| cluster_header | string | cluster_specifier |
{"String_":{"WellKnown":{"WellKnownRegex":2},"min_len":1,"strict":false}}
|
|
| metadata_match | envoy.config.core.v3.Metadata |
|
||
| rate_limits | [] envoy.config.route.v3.RateLimit |
|
||
| request_mirror_policies | [] envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy |
|
||
| strip_service_name | bool |
|
||
| weighted_clusters | envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster | cluster_specifier |
|