2018-10-03 18:18:55 +00:00
|
|
|
// Copyright 2018 Envoyproxy Authors
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2020-07-07 21:22:30 +00:00
|
|
|
// Package wellknown contains common names for filters, listeners, etc.
|
|
|
|
package wellknown
|
2018-10-03 18:18:55 +00:00
|
|
|
|
|
|
|
// HTTP filter names
|
|
|
|
const (
|
|
|
|
// Buffer HTTP filter
|
|
|
|
Buffer = "envoy.buffer"
|
|
|
|
// CORS HTTP filter
|
|
|
|
CORS = "envoy.cors"
|
|
|
|
// Dynamo HTTP filter
|
|
|
|
Dynamo = "envoy.http_dynamo_filter"
|
|
|
|
// Fault HTTP filter
|
|
|
|
Fault = "envoy.fault"
|
|
|
|
// GRPCHTTP1Bridge HTTP filter
|
|
|
|
GRPCHTTP1Bridge = "envoy.grpc_http1_bridge"
|
|
|
|
// GRPCJSONTranscoder HTTP filter
|
|
|
|
GRPCJSONTranscoder = "envoy.grpc_json_transcoder"
|
|
|
|
// GRPCWeb HTTP filter
|
|
|
|
GRPCWeb = "envoy.grpc_web"
|
|
|
|
// Gzip HTTP filter
|
|
|
|
Gzip = "envoy.gzip"
|
|
|
|
// IPTagging HTTP filter
|
|
|
|
IPTagging = "envoy.ip_tagging"
|
|
|
|
// HTTPRateLimit filter
|
|
|
|
HTTPRateLimit = "envoy.rate_limit"
|
|
|
|
// Router HTTP filter
|
|
|
|
Router = "envoy.router"
|
|
|
|
// Health checking HTTP filter
|
|
|
|
HealthCheck = "envoy.health_check"
|
|
|
|
// Lua HTTP filter
|
|
|
|
Lua = "envoy.lua"
|
|
|
|
// Squash HTTP filter
|
|
|
|
Squash = "envoy.squash"
|
|
|
|
// HTTPExternalAuthorization HTTP filter
|
2020-07-07 21:22:30 +00:00
|
|
|
HTTPExternalAuthorization = "envoy.filters.http.ext_authz"
|
|
|
|
// HTTPRoleBasedAccessControl HTTP filter
|
|
|
|
HTTPRoleBasedAccessControl = "envoy.filters.http.rbac"
|
|
|
|
// HTTPGRPCStats HTTP filter
|
|
|
|
HTTPGRPCStats = "envoy.filters.http.grpc_stats"
|
2018-10-03 18:18:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Network filter names
|
|
|
|
const (
|
|
|
|
// ClientSSLAuth network filter
|
|
|
|
ClientSSLAuth = "envoy.client_ssl_auth"
|
|
|
|
// Echo network filter
|
|
|
|
Echo = "envoy.echo"
|
|
|
|
// HTTPConnectionManager network filter
|
|
|
|
HTTPConnectionManager = "envoy.http_connection_manager"
|
|
|
|
// TCPProxy network filter
|
|
|
|
TCPProxy = "envoy.tcp_proxy"
|
|
|
|
// RateLimit network filter
|
|
|
|
RateLimit = "envoy.ratelimit"
|
|
|
|
// MongoProxy network filter
|
|
|
|
MongoProxy = "envoy.mongo_proxy"
|
|
|
|
// ThriftProxy network filter
|
|
|
|
ThriftProxy = "envoy.filters.network.thrift_proxy"
|
|
|
|
// RedisProxy network filter
|
|
|
|
RedisProxy = "envoy.redis_proxy"
|
2019-06-07 12:10:43 +00:00
|
|
|
// MySQLProxy network filter
|
|
|
|
MySQLProxy = "envoy.filters.network.mysql_proxy"
|
2018-10-03 18:18:55 +00:00
|
|
|
// ExternalAuthorization network filter
|
2020-07-07 21:22:30 +00:00
|
|
|
ExternalAuthorization = "envoy.filters.network.ext_authz"
|
|
|
|
// RoleBasedAccessControl network filter
|
|
|
|
RoleBasedAccessControl = "envoy.filters.network.rbac"
|
2018-10-03 18:18:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Listener filter names
|
|
|
|
const (
|
|
|
|
// OriginalDestination listener filter
|
|
|
|
OriginalDestination = "envoy.listener.original_dst"
|
|
|
|
// ProxyProtocol listener filter
|
|
|
|
ProxyProtocol = "envoy.listener.proxy_protocol"
|
2019-06-07 12:10:43 +00:00
|
|
|
// TlsInspector listener filter
|
|
|
|
TlsInspector = "envoy.listener.tls_inspector"
|
2020-07-07 21:22:30 +00:00
|
|
|
// HttpInspector listener filter
|
|
|
|
HttpInspector = "envoy.listener.http_inspector"
|
2018-10-03 18:18:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Tracing provider names
|
|
|
|
const (
|
|
|
|
// Lightstep tracer name
|
|
|
|
Lightstep = "envoy.lightstep"
|
|
|
|
// Zipkin tracer name
|
|
|
|
Zipkin = "envoy.zipkin"
|
|
|
|
// DynamicOT tracer name
|
|
|
|
DynamicOT = "envoy.dynamic.ot"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Stats sink names
|
|
|
|
const (
|
|
|
|
// Statsd sink
|
|
|
|
Statsd = "envoy.statsd"
|
|
|
|
// DogStatsD compatible stastsd sink
|
|
|
|
DogStatsd = "envoy.dog_statsd"
|
|
|
|
// MetricsService sink
|
|
|
|
MetricsService = "envoy.metrics_service"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Access log sink names
|
|
|
|
const (
|
|
|
|
// FileAccessLog sink name
|
|
|
|
FileAccessLog = "envoy.file_access_log"
|
|
|
|
// HTTPGRPCAccessLog sink for the HTTP gRPC access log service
|
|
|
|
HTTPGRPCAccessLog = "envoy.http_grpc_access_log"
|
|
|
|
)
|
2020-07-07 21:22:30 +00:00
|
|
|
|
|
|
|
// Transport socket names
|
|
|
|
const (
|
|
|
|
// TransportSocket Alts
|
|
|
|
TransportSocketAlts = "envoy.transport_sockets.alts"
|
|
|
|
// TransportSocket Tap
|
|
|
|
TransportSocketTap = "envoy.transport_sockets.tap"
|
|
|
|
// TransportSocket RawBuffer
|
|
|
|
TransportSocketRawBuffer = "envoy.transport_sockets.raw_buffer"
|
|
|
|
// TransportSocket Tls
|
|
|
|
TransportSocketTls = "envoy.transport_sockets.tls"
|
|
|
|
// TransportSocket Quic
|
|
|
|
TransportSocketQuic = "envoy.transport_sockets.quic"
|
|
|
|
)
|