擴展匹配器 (proto)

extensions.common.matching.v3.ExtensionWithMatcher

[extensions.common.matching.v3.ExtensionWithMatcher proto]

現有擴展的包裝器,提供關聯的匹配器。這允許使用匹配器裝飾現有擴展,該匹配器可用於匹配相關協定資料。

{
  "matcher": {...},
  "xds_matcher": {...},
  "extension_config": {...}
}
matcher

(config.common.matcher.v3.Matcher) 關聯的匹配器。此項已棄用,改用 xds_matcher。

xds_matcher

(.xds.type.matcher.v3.Matcher) 關聯的匹配器。

extension_config

(config.core.v3.TypedExtensionConfig, 必要) 底層擴展設定。

extensions.common.matching.v3.ExtensionWithMatcherPerRoute

[extensions.common.matching.v3.ExtensionWithMatcherPerRoute proto]

在每個虛擬主機/路由/加權叢集層級的額外設定。

{
  "xds_matcher": {...}
}
xds_matcher

(.xds.type.matcher.v3.Matcher) 匹配器覆寫。