Home

envoy.config.common.matcher.v3.MatchPredicate

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.common.matcher.v3.MatchPredicate
.withAndMatch(types.envoy.config.common.matcher.v3.MatchPredicate.MatchSet)
.withAnyMatch(false)
.withHttpRequestGenericBodyMatch(types.envoy.config.common.matcher.v3.HttpGenericBodyMatch)
.withHttpRequestHeadersMatch(types.envoy.config.common.matcher.v3.HttpHeadersMatch)
.withHttpRequestTrailersMatch(types.envoy.config.common.matcher.v3.HttpHeadersMatch)
.withHttpResponseGenericBodyMatch(types.envoy.config.common.matcher.v3.HttpGenericBodyMatch)
.withHttpResponseHeadersMatch(types.envoy.config.common.matcher.v3.HttpHeadersMatch)
.withHttpResponseTrailersMatch(types.envoy.config.common.matcher.v3.HttpHeadersMatch)
.withNotMatch(types.envoy.config.common.matcher.v3.MatchPredicate)
.withOrMatch(types.envoy.config.common.matcher.v3.MatchPredicate.MatchSet)
._validate()

Nested Messages

Fields

Name Type One-of group Required Constraints
and_match envoy.config.common.matcher.v3.MatchPredicate.MatchSet rule  
any_match bool rule   {"Bool":{"const":true}}
http_request_generic_body_match envoy.config.common.matcher.v3.HttpGenericBodyMatch rule  
http_request_headers_match envoy.config.common.matcher.v3.HttpHeadersMatch rule  
http_request_trailers_match envoy.config.common.matcher.v3.HttpHeadersMatch rule  
http_response_generic_body_match envoy.config.common.matcher.v3.HttpGenericBodyMatch rule  
http_response_headers_match envoy.config.common.matcher.v3.HttpHeadersMatch rule  
http_response_trailers_match envoy.config.common.matcher.v3.HttpHeadersMatch rule  
not_match envoy.config.common.matcher.v3.MatchPredicate rule  
or_match envoy.config.common.matcher.v3.MatchPredicate.MatchSet rule