Home

envoy.config.route.v3.RouteConfiguration

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.config.route.v3.RouteConfiguration
.withClusterSpecifierPlugins([ types.envoy.config.route.v3.ClusterSpecifierPlugin ])
.withIgnorePathParametersInPathMatching(false)
.withIgnorePortInHostMatching(false)
.withInternalOnlyHeaders([ 'string' ])
.withMaxDirectResponseBodySizeBytes(1)
.withMostSpecificHeaderMutationsWins(false)
.withName('string')
.withRequestHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ])
.withRequestHeadersToRemove([ 'string' ])
.withRequestMirrorPolicies([ types.envoy.config.route.v3.RouteAction.RequestMirrorPolicy ])
.withResponseHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ])
.withResponseHeadersToRemove([ 'string' ])
.withTypedPerFilterConfig({ key: types.google.protobuf.Any })
.withValidateClusters(false)
.withVhds(types.envoy.config.route.v3.Vhds)
.withVirtualHosts([ types.envoy.config.route.v3.VirtualHost ])
._validate()

Nested Messages

Fields

Name Type One-of group Required Constraints
cluster_specifier_plugins [] envoy.config.route.v3.ClusterSpecifierPlugin  
ignore_path_parameters_in_path_matching bool  
ignore_port_in_host_matching bool  
internal_only_headers [] string   {"Repeated":{"items":{"Type":{"String_":{"WellKnown":{"WellKnownRegex":1},"strict":false}}}}}
max_direct_response_body_size_bytes google.protobuf.UInt32Value  
most_specific_header_mutations_wins bool  
name string  
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},"strict":false}}}}}
request_mirror_policies [] envoy.config.route.v3.RouteAction.RequestMirrorPolicy  
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},"strict":false}}}}}
typed_per_filter_config map[string] google.protobuf.Any  
validate_clusters google.protobuf.BoolValue  
vhds envoy.config.route.v3.Vhds  
virtual_hosts [] envoy.config.route.v3.VirtualHost