filter: add network filters to the upstreams (#7503)
Signed-off-by: Kuat Yessenov <kuat@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 0f892c2385e7051d325d22b3f603cc60facedd6epull/620/head
parent
911658451c
commit
fbae81c941
4 changed files with 52 additions and 1 deletions
@ -0,0 +1,30 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package envoy.api.v2.cluster; |
||||
|
||||
option java_outer_classname = "FilterProto"; |
||||
option java_multiple_files = true; |
||||
option java_package = "io.envoyproxy.envoy.api.v2.cluster"; |
||||
option csharp_namespace = "Envoy.Api.V2.ClusterNS"; |
||||
option ruby_package = "Envoy.Api.V2.ClusterNS"; |
||||
|
||||
import "google/protobuf/any.proto"; |
||||
import "google/protobuf/struct.proto"; |
||||
|
||||
import "validate/validate.proto"; |
||||
import "gogoproto/gogo.proto"; |
||||
|
||||
option (gogoproto.equal_all) = true; |
||||
|
||||
// [#protodoc-title: Upstream filters] |
||||
// |
||||
// Upstream filters apply to the connections to the upstream cluster hosts. |
||||
message Filter { |
||||
// The name of the filter to instantiate. The name must match a |
||||
// :ref:`supported filter <config_network_filters>`. |
||||
string name = 1 [(validate.rules).string.min_bytes = 1]; |
||||
|
||||
// Filter specific configuration which depends on the filter being |
||||
// instantiated. See the supported filters for further documentation. |
||||
google.protobuf.Any typed_config = 2; |
||||
} |
Loading…
Reference in new issue