1syntax = "proto3"; 2 3package envoy.api.v2.cluster; 4 5import "google/protobuf/any.proto"; 6 7import "udpa/annotations/migrate.proto"; 8import "udpa/annotations/status.proto"; 9import "validate/validate.proto"; 10 11option java_package = "io.envoyproxy.envoy.api.v2.cluster"; 12option java_outer_classname = "FilterProto"; 13option java_multiple_files = true; 14option go_package = "github.com/envoyproxy/go-control-plane/envoy/api/v2/cluster"; 15option csharp_namespace = "Envoy.Api.V2.ClusterNS"; 16option ruby_package = "Envoy::Api::V2::ClusterNS"; 17option (udpa.annotations.file_migrate).move_to_package = "envoy.config.cluster.v3"; 18option (udpa.annotations.file_status).package_version_status = FROZEN; 19 20// [#protodoc-title: Upstream filters] 21// Upstream filters apply to the connections to the upstream cluster hosts. 22 23message Filter { 24 // The name of the filter to instantiate. The name must match a 25 // :ref:`supported filter <config_network_filters>`. 26 string name = 1 [(validate.rules).string = {min_bytes: 1}]; 27 28 // Filter specific configuration which depends on the filter being 29 // instantiated. See the supported filters for further documentation. 30 google.protobuf.Any typed_config = 2; 31} 32