You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.4 KiB
38 lines
1.4 KiB
syntax = "proto3"; |
|
|
|
package envoy.extensions.common.matching.v3; |
|
|
|
import "envoy/config/common/matcher/v3/matcher.proto"; |
|
import "envoy/config/core/v3/extension.proto"; |
|
|
|
import "xds/annotations/v3/status.proto"; |
|
import "xds/type/matcher/v3/matcher.proto"; |
|
|
|
import "envoy/annotations/deprecation.proto"; |
|
import "udpa/annotations/status.proto"; |
|
import "validate/validate.proto"; |
|
|
|
option java_package = "io.envoyproxy.envoy.extensions.common.matching.v3"; |
|
option java_outer_classname = "ExtensionMatcherProto"; |
|
option java_multiple_files = true; |
|
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
|
|
|
// [#protodoc-title: Extension Matcher] |
|
|
|
// Wrapper around an existing extension that provides an associated matcher. This allows |
|
// decorating an existing extension with a matcher, which can be used to match against |
|
// relevant protocol data. |
|
message ExtensionWithMatcher { |
|
option (xds.annotations.v3.message_status).work_in_progress = true; |
|
|
|
// The associated matcher. This is deprecated in favor of xds_matcher. |
|
config.common.matcher.v3.Matcher matcher = 1 |
|
[deprecated = true, (envoy.annotations.deprecated_at_minor_version) = "3.0"]; |
|
|
|
// The associated matcher. |
|
xds.type.matcher.v3.Matcher xds_matcher = 3; |
|
|
|
// The underlying extension config. |
|
config.core.v3.TypedExtensionConfig extension_config = 2 |
|
[(validate.rules).message = {required: true}]; |
|
}
|
|
|