Navigation :
Getting Started
What is Gloo Gateway?
Setup
Guides
Operations
Reference
-
Open Source Attribution
-
API Reference
-- address.proto
-- address.proto
-- advanced_http.proto
-- advanced_http.proto
-- ai.proto
-- als.proto
-- annotations.proto
-- any.proto
-- api.proto
-- apple_dns_resolver.proto
-- artifact.proto
-- authority.proto
-- aws.proto
-- aws_ec2.proto
-- azure.proto
-- backoff.proto
-- base.proto
-- base.proto
-- buffer.proto
-- caching.proto
-- cares_dns_resolver.proto
-- cidr.proto
-- cipher_detection_input.proto
-- circuit_breaker.proto
-- cluster.proto
-- config.proto
-- config.proto
-- connection.proto
-- connection_limit.proto
-- consul.proto
-- context_params.proto
-- core.proto
-- cors.proto
-- csrf.proto
-- custom_tag.proto
-- datadog.proto
-- deprecation.proto
-- descriptor.proto
-- discovery.proto
-- dlp.proto
-- domain.proto
-- duration.proto
-- dynamic_forward_proxy.proto
-- empty.proto
-- endpoint.proto
-- envoy.glooe.solo.io.project
-- envoy_glooe_solo_io.project
-- event_service_config.proto
-- ext.proto
-- extauth.proto
-- extension.proto
-- extension.proto
-- extensions.proto
-- external_options.proto
-- external_processor.proto
-- extproc.proto
-- failover.proto
-- failover.proto
-- fault.proto
-- field_mask.proto
-- filter.proto
-- gateway.proto
-- gateway.solo.io.project
-- gateway_solo_io.project
-- gcp.proto
-- gloo.solo.io.project
-- gloo_solo_io.project
-- gloo_validation.proto
-- glooe.solo.io.project
-- glooe_solo_io.project
-- graphql.proto
-- graphql.proto
-- graphql.proto
-- grpc.proto
-- grpc_json.proto
-- grpc_output_sink.proto
-- grpc_service.proto
-- grpc_web.proto
-- gzip.proto
-- hcm.proto
-- header_validation.proto
-- headers.proto
-- health_check.proto
-- health_check.proto
-- healthcheck.proto
-- http.proto
-- http.proto
-- http_gateway.proto
-- http_inputs.proto
-- http_output_sink.proto
-- http_path.proto
-- http_status.proto
-- http_uri.proto
-- http_uri.proto
-- ingress.proto
-- instance.proto
-- ip.proto
-- jwt.proto
-- kubernetes.proto
-- lbhash.proto
-- load_balancer.proto
-- local_ratelimit.proto
-- matchable_http_gateway.proto
-- matchable_tcp_gateway.proto
-- matcher.proto
-- matchers.proto
-- metadata.proto
-- metadata.proto
-- metrics.proto
-- migrate.proto
-- migrate.proto
-- mutation_rules.proto
-- opencensus.proto
-- opentelemetry.proto
-- options.proto
-- orca.proto
-- outlier_detection.proto
-- parameters.proto
-- percent.proto
-- percent.proto
-- pipe.proto
-- placement.proto
-- processing_mode.proto
-- protocol.proto
-- protocol_upgrade.proto
-- proxy.proto
-- proxy_endpoint.proto
-- proxy_protocol.proto
-- proxy_protocol.proto
-- proxy_protocol.proto
-- proxylatency.proto
-- proxyprotocol.proto
-- query_options.proto
-- query_options.proto
-- range.proto
-- range.proto
-- range.proto
-- range.proto
-- ratelimit.proto
-- ratelimit.proto
-- ratelimit.proto
-- rbac.proto
-- ref.proto
-- regex.proto
-- regex.proto
-- resolver.proto
-- resource.proto
-- resource_locator.proto
-- resource_name.proto
-- rest.proto
-- retries.proto
-- route.proto
-- route_components.proto
-- route_table.proto
-- router.proto
-- sanitize.proto
-- secret.proto
-- security.proto
-- selectors.proto
-- semantic_version.proto
-- semantic_version.proto
-- sensitive.proto
-- sensitive.proto
-- server_name_matcher.proto
-- service.proto
-- service_spec.proto
-- settings.proto
-- shadowing.proto
-- snap.proto
-- socket_option.proto
-- socket_option.proto
-- solo-discovery-service.proto
-- solo-kit.proto
-- solo_jwt_authn.proto
-- solo_xff_offset_filter.proto
-- source_context.proto
-- ssl.proto
-- ssl.proto
-- stages.proto
-- stateful_session.proto
-- statefulsession.proto
-- statefulsession.proto
-- static.proto
-- stats.proto
-- status.proto
-- status.proto
-- status.proto
-- status.proto
-- stitching.proto
-- string.proto
-- string.proto
-- struct.proto
-- subset.proto
-- subset_spec.proto
-- tap.proto
-- tap.proto
-- tcp.proto
-- timestamp.proto
-- tls_cipher_inspector.proto
-- trace.proto
-- tracing.proto
-- transformation.proto
-- transformation.proto
-- transformation.proto
-- type.proto
-- typed_struct.proto
-- upstream.proto
-- upstream_proxy_protocol.proto
-- upstream_wait_filter.proto
-- version.proto
-- versioning.proto
-- versioning.proto
-- virtual_service.proto
-- waf.proto
-- waf.proto
-- wasm.proto
-- wasm.proto
-- wasm.proto
-- wrappers.proto
-- xslt_transformer.proto
-- zipkin.proto
-
Command Line Reference
-
Changelog
-
Helm Chart Values
-
Security Updates
- Security Posture
- Gloo Gateway Port Reference
- Release Support
-
Cheatsheets
Contribution Guide
Get help and support
matcher.proto
Package: xds.type.matcher.v3
Types:
Matcher
A matcher, which may traverse a matching tree in order to result in a match action.
During matching, the tree will be traversed until a match is found, or if no match
is found the action specified by the most specific on_no_match will be evaluated.
As an on_no_match might result in another matching tree being evaluated, this process
might repeat several times until the final OnMatch (or no match) is decided.
"matcherList": .xds.type.matcher.v3.Matcher.MatcherList
"matcherTree": .xds.type.matcher.v3.Matcher.MatcherTree
"onNoMatch": .xds.type.matcher.v3.Matcher.OnMatch
Field
Type
Description
matcherList
.xds.type.matcher.v3.Matcher.MatcherList
A linear list of matchers to evaluate. Only one of matcherList
or matcherTree
can be set.
matcherTree
.xds.type.matcher.v3.Matcher.MatcherTree
A match tree to evaluate. Only one of matcherTree
or matcherList
can be set.
onNoMatch
.xds.type.matcher.v3.Matcher.OnMatch
Optional OnMatch to use if no matcher above matched (e.g., if there are no matchers specified above, or if none of the matches specified above succeeded). If no matcher above matched and this field is not populated, the match will be considered unsuccessful.
OnMatch
What to do if a match is successful.
"matcher": .xds.type.matcher.v3.Matcher
"action": .xds.core.v3.TypedExtensionConfig
Field
Type
Description
matcher
.xds.type.matcher.v3.Matcher
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true. Only one of matcher
or action
can be set.
action
.xds.core.v3.TypedExtensionConfig
Protocol-specific action to take. Only one of action
or matcher
can be set.
MatcherList
A linear list of field matchers.
The field matchers are evaluated in order, and the first match
wins.
"matchers": [] xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher
Predicate
Predicate to determine if a match is successful.
"singlePredicate": .xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate
"orMatcher": .xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList
"andMatcher": .xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList
"notMatcher": .xds.type.matcher.v3.Matcher.MatcherList.Predicate
Field
Type
Description
singlePredicate
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate
A single predicate to evaluate. Only one of singlePredicate
, orMatcher
, andMatcher
, or notMatcher
can be set.
orMatcher
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList
A list of predicates to be OR-ed together. Only one of orMatcher
, singlePredicate
, andMatcher
, or notMatcher
can be set.
andMatcher
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList
A list of predicates to be AND-ed together. Only one of andMatcher
, singlePredicate
, orMatcher
, or notMatcher
can be set.
notMatcher
.xds.type.matcher.v3.Matcher.MatcherList.Predicate
The invert of a predicate. Only one of notMatcher
, singlePredicate
, orMatcher
, or andMatcher
can be set.
SinglePredicate
Predicate for a single input field.
"input": .xds.core.v3.TypedExtensionConfig
"valueMatch": .xds.type.matcher.v3.StringMatcher
"customMatch": .xds.core.v3.TypedExtensionConfig
PredicateList
A list of two or more matchers. Used to allow using a list within a oneof.
"predicate": [] xds.type.matcher.v3.Matcher.MatcherList.Predicate
FieldMatcher
An individual matcher.
"predicate": .xds.type.matcher.v3.Matcher.MatcherList.Predicate
"onMatch": .xds.type.matcher.v3.Matcher.OnMatch
MatcherTree
"input": .xds.core.v3.TypedExtensionConfig
"exactMatchMap": .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap
"prefixMatchMap": .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap
"customMatch": .xds.core.v3.TypedExtensionConfig
MatchMap
A map of configured matchers. Used to allow using a map within a oneof.
"map": map<string, .xds.type.matcher.v3.Matcher.OnMatch>
Field
Type
Description
map
map<string, .xds.type.matcher.v3.Matcher.OnMatch>