...

Source file src/github.com/emissary-ingress/emissary/v3/pkg/envoy-control-plane/wellknown/wellknown.go

Documentation: github.com/emissary-ingress/emissary/v3/pkg/envoy-control-plane/wellknown

     1  // Copyright 2018 Envoyproxy 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  package wellknown
    17  
    18  // HTTP filter names
    19  const (
    20  	// Buffer HTTP filter
    21  	Buffer = "envoy.filters.http.buffer"
    22  	// CORS HTTP filter
    23  	CORS = "envoy.filters.http.cors"
    24  	// Dynamo HTTP filter
    25  	Dynamo = "envoy.filters.http.dynamo"
    26  	// Fault HTTP filter
    27  	Fault = "envoy.filters.http.fault"
    28  	// GRPCHTTP1Bridge HTTP filter
    29  	GRPCHTTP1Bridge = "envoy.filters.http.grpc_http1_bridge"
    30  	// GRPCJSONTranscoder HTTP filter
    31  	GRPCJSONTranscoder = "envoy.filters.http.grpc_json_transcoder"
    32  	// GRPCWeb HTTP filter
    33  	GRPCWeb = "envoy.filters.http.grpc_web"
    34  	// Gzip HTTP filter
    35  	Gzip = "envoy.filters.http.gzip"
    36  	// IPTagging HTTP filter
    37  	IPTagging = "envoy.filters.http.ip_tagging"
    38  	// HTTPRateLimit filter
    39  	HTTPRateLimit = "envoy.filters.http.ratelimit"
    40  	// Router HTTP filter
    41  	Router = "envoy.filters.http.router"
    42  	// Health checking HTTP filter
    43  	HealthCheck = "envoy.filters.http.health_check"
    44  	// Lua HTTP filter
    45  	Lua = "envoy.filters.http.lua"
    46  	// Squash HTTP filter
    47  	Squash = "envoy.filters.http.squash"
    48  	// HTTPExternalAuthorization HTTP filter
    49  	HTTPExternalAuthorization = "envoy.filters.http.ext_authz"
    50  	// HTTPRoleBasedAccessControl HTTP filter
    51  	HTTPRoleBasedAccessControl = "envoy.filters.http.rbac"
    52  	// HTTPGRPCStats HTTP filter
    53  	HTTPGRPCStats = "envoy.filters.http.grpc_stats"
    54  	// HTTP WASM filter
    55  	HTTPWasm = "envoy.extensions.filters.http.wasm.v3.Wasm"
    56  )
    57  
    58  // Network filter names
    59  const (
    60  	// ClientSSLAuth network filter
    61  	ClientSSLAuth = "envoy.filters.network.client_ssl_auth"
    62  	// Echo network filter
    63  	Echo = "envoy.filters.network.echo"
    64  	// HTTPConnectionManager network filter
    65  	HTTPConnectionManager = "envoy.filters.network.http_connection_manager"
    66  	// TCPProxy network filter
    67  	TCPProxy = "envoy.filters.network.tcp_proxy"
    68  	// RateLimit network filter
    69  	RateLimit = "envoy.filters.network.ratelimit"
    70  	// MongoProxy network filter
    71  	MongoProxy = "envoy.filters.network.mongo_proxy"
    72  	// ThriftProxy network filter
    73  	ThriftProxy = "envoy.filters.network.thrift_proxy"
    74  	// RedisProxy network filter
    75  	RedisProxy = "envoy.filters.network.redis_proxy"
    76  	// MySQLProxy network filter
    77  	MySQLProxy = "envoy.filters.network.mysql_proxy"
    78  	// ExternalAuthorization network filter
    79  	ExternalAuthorization = "envoy.filters.network.ext_authz"
    80  	// RoleBasedAccessControl network filter
    81  	RoleBasedAccessControl = "envoy.filters.network.rbac"
    82  )
    83  
    84  // Listener filter names
    85  const (
    86  	// OriginalDestination listener filter
    87  	OriginalDestination = "envoy.filters.listener.original_dst"
    88  	// ProxyProtocol listener filter
    89  	ProxyProtocol = "envoy.filters.listener.proxy_protocol"
    90  	// TlsInspector listener filter
    91  	TlsInspector = "envoy.filters.listener.tls_inspector" // nolint:golint,revive
    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" // nolint:golint,revive
    96  	// HTTPInspector listener filter
    97  	HTTPInspector = "envoy.filters.listener.http_inspector"
    98  	// OriginalSource listener filter
    99  	OriginalSource = "envoy.filters.listener.original_src"
   100  )
   101  
   102  // Tracing provider names
   103  const (
   104  	// Lightstep tracer name
   105  	Lightstep = "envoy.tracers.lightstep"
   106  	// Zipkin tracer name
   107  	Zipkin = "envoy.tracers.zipkin"
   108  	// DynamicOT tracer name
   109  	DynamicOT = "envoy.tracers.dynamic_ot"
   110  	// Datadog tracer name
   111  	Datadog = "envoy.tracers.datadog"
   112  )
   113  
   114  // Stats sink names
   115  const (
   116  	// Statsd sink
   117  	Statsd = "envoy.stat_sinks.statsd"
   118  	// DogStatsD compatible stastsd sink
   119  	DogStatsd = "envoy.stat_sinks.dog_statsd"
   120  	// MetricsService sink
   121  	MetricsService = "envoy.stat_sinks.metrics_service"
   122  )
   123  
   124  // Access log sink names
   125  const (
   126  	// FileAccessLog sink name
   127  	FileAccessLog = "envoy.access_loggers.file"
   128  	// HTTPGRPCAccessLog sink for the HTTP gRPC access log service
   129  	HTTPGRPCAccessLog = "envoy.access_loggers.http_grpc"
   130  )
   131  
   132  // Transport socket names
   133  const (
   134  	// TransportSocket Alts
   135  	TransportSocketAlts = "envoy.transport_sockets.alts"
   136  	// TransportSocket Tap
   137  	TransportSocketTap = "envoy.transport_sockets.tap"
   138  	// TransportSocket RawBuffer
   139  	TransportSocketRawBuffer = "envoy.transport_sockets.raw_buffer"
   140  	// TransportSocket Tls
   141  	TransportSocketTls = "envoy.transport_sockets.tls" // nolint:golint,revive
   142  	// TransportSocketTLS labels the "envoy.transport_sockets.tls" filter.
   143  	TransportSocketTLS = "envoy.transport_sockets.tls"
   144  	// TransportSocket Quic
   145  	TransportSocketQuic = "envoy.transport_sockets.quic"
   146  )
   147  

View as plain text