local types = import 'types.libsonnet'; types.envoy.config.route.v3.Route .withDecorator(types.envoy.config.route.v3.Decorator) .withDirectResponse(types.envoy.config.route.v3.DirectResponseAction) .withFilterAction(types.envoy.config.route.v3.FilterAction) .withMatch(types.envoy.config.route.v3.RouteMatch) .withMetadata(types.envoy.config.core.v3.Metadata) .withName('string') .withNonForwardingAction(types.envoy.config.route.v3.NonForwardingAction) .withPerRequestBufferLimitBytes(1) .withRedirect(types.envoy.config.route.v3.RedirectAction) .withRequestHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ]) .withRequestHeadersToRemove([ 'string' ]) .withResponseHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ]) .withResponseHeadersToRemove([ 'string' ]) .withRoute(types.envoy.config.route.v3.RouteAction) .withStatPrefix('string') .withTracing(types.envoy.config.route.v3.Tracing) .withTypedPerFilterConfig({ key: types.google.protobuf.Any }) ._validate()
Name | Type | One-of group | Required | Constraints |
---|---|---|---|---|
decorator | envoy.config.route.v3.Decorator |
|
||
direct_response | envoy.config.route.v3.DirectResponseAction | action |
|
|
filter_action | envoy.config.route.v3.FilterAction | action |
|
|
match | envoy.config.route.v3.RouteMatch | yes |
|
|
metadata | envoy.config.core.v3.Metadata |
|
||
name | string |
|
||
non_forwarding_action | envoy.config.route.v3.NonForwardingAction | action |
|
|
per_request_buffer_limit_bytes | google.protobuf.UInt32Value |
|
||
redirect | envoy.config.route.v3.RedirectAction | action |
|
|
request_headers_to_add | [] envoy.config.core.v3.HeaderValueOption |
{"Repeated":{"max_items":1000}}
|
||
request_headers_to_remove | [] string |
{"Repeated":{"items":{"Type":{"String_":{"WellKnown":{"WellKnownRegex":1},"min_len":1,"strict":false}}}}}
|
||
response_headers_to_add | [] envoy.config.core.v3.HeaderValueOption |
{"Repeated":{"max_items":1000}}
|
||
response_headers_to_remove | [] string |
{"Repeated":{"items":{"Type":{"String_":{"WellKnown":{"WellKnownRegex":1},"min_len":1,"strict":false}}}}}
|
||
route | envoy.config.route.v3.RouteAction | action |
|
|
stat_prefix | string |
|
||
tracing | envoy.config.route.v3.Tracing |
|
||
typed_per_filter_config | map[string] google.protobuf.Any |
|