istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/wellknown/wellknown.go (about) 1 // Copyright Istio Authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Package wellknown contains common names for filters, listeners, etc. 16 // copied from envoyproxy/go-control-plane. 17 // TODO: remove this package 18 package wellknown 19 20 // HTTP filter names 21 const ( 22 // Buffer HTTP filter 23 Buffer = "envoy.filters.http.buffer" 24 // CORS HTTP filter 25 CORS = "envoy.filters.http.cors" 26 // Dynamo HTTP filter 27 Dynamo = "envoy.filters.http.dynamo" 28 // Fault HTTP filter 29 Fault = "envoy.filters.http.fault" 30 // GRPCHTTP1Bridge HTTP filter 31 GRPCHTTP1Bridge = "envoy.filters.http.grpc_http1_bridge" 32 // GRPCJSONTranscoder HTTP filter 33 GRPCJSONTranscoder = "envoy.filters.http.grpc_json_transcoder" 34 // GRPCWeb HTTP filter 35 GRPCWeb = "envoy.filters.http.grpc_web" 36 // Gzip HTTP filter 37 Gzip = "envoy.filters.http.gzip" 38 // IPTagging HTTP filter 39 IPTagging = "envoy.filters.http.ip_tagging" 40 // HTTPRateLimit filter 41 HTTPRateLimit = "envoy.filters.http.ratelimit" 42 // Router HTTP filter 43 Router = "envoy.filters.http.router" 44 // Health checking HTTP filter 45 HealthCheck = "envoy.filters.http.health_check" 46 // Lua HTTP filter 47 Lua = "envoy.filters.http.lua" 48 // Squash HTTP filter 49 Squash = "envoy.filters.http.squash" 50 // HTTPExternalAuthorization HTTP filter 51 HTTPExternalAuthorization = "envoy.filters.http.ext_authz" 52 // HTTPRoleBasedAccessControl HTTP filter 53 HTTPRoleBasedAccessControl = "envoy.filters.http.rbac" 54 // HTTPGRPCStats HTTP filter 55 HTTPGRPCStats = "envoy.filters.http.grpc_stats" 56 // HTTP WASM filter 57 HTTPWasm = "envoy.extensions.filters.http.wasm.v3.Wasm" 58 ) 59 60 // Network filter names 61 const ( 62 // ClientSSLAuth network filter 63 ClientSSLAuth = "envoy.filters.network.client_ssl_auth" 64 // Echo network filter 65 Echo = "envoy.filters.network.echo" 66 // HTTPConnectionManager network filter 67 HTTPConnectionManager = "envoy.filters.network.http_connection_manager" 68 // TCPProxy network filter 69 TCPProxy = "envoy.filters.network.tcp_proxy" 70 // RateLimit network filter 71 RateLimit = "envoy.filters.network.ratelimit" 72 // MongoProxy network filter 73 MongoProxy = "envoy.filters.network.mongo_proxy" 74 // ThriftProxy network filter 75 ThriftProxy = "envoy.filters.network.thrift_proxy" 76 // RedisProxy network filter 77 RedisProxy = "envoy.filters.network.redis_proxy" 78 // MySQLProxy network filter 79 MySQLProxy = "envoy.filters.network.mysql_proxy" 80 // ExternalAuthorization network filter 81 ExternalAuthorization = "envoy.filters.network.ext_authz" 82 // RoleBasedAccessControl network filter 83 RoleBasedAccessControl = "envoy.filters.network.rbac" 84 ) 85 86 // Listener filter names 87 const ( 88 // OriginalDestination listener filter 89 OriginalDestination = "envoy.filters.listener.original_dst" 90 // ProxyProtocol listener filter 91 ProxyProtocol = "envoy.filters.listener.proxy_protocol" 92 // TLSInspector listener filter 93 TLSInspector = "envoy.filters.listener.tls_inspector" // nolint:golint,revive 94 // HTTPInspector listener filter 95 HTTPInspector = "envoy.filters.listener.http_inspector" 96 // OriginalSource listener filter 97 OriginalSource = "envoy.filters.listener.original_src" 98 ) 99 100 // Access log sink names 101 const ( 102 // FileAccessLog sink name 103 FileAccessLog = "envoy.access_loggers.file" 104 // HTTPGRPCAccessLog sink for the HTTP gRPC access log service 105 HTTPGRPCAccessLog = "envoy.access_loggers.http_grpc" 106 ) 107 108 // Transport socket names 109 const ( 110 // TransportSocket RawBuffer 111 TransportSocketRawBuffer = "envoy.transport_sockets.raw_buffer" 112 // TransportSocketTLS labels the "envoy.transport_sockets.tls" filter. 113 TransportSocketTLS = "envoy.transport_sockets.tls" 114 // TransportSocket Quic 115 TransportSocketQuic = "envoy.transport_sockets.quic" 116 )