Documentation ¶
Index ¶
- Variables
- type FilterConfig
- func (*FilterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FilterConfig) GetDnsCacheConfig() *v3.DnsCacheConfig
- func (x *FilterConfig) GetSaveUpstreamAddress() bool
- func (*FilterConfig) ProtoMessage()
- func (x *FilterConfig) ProtoReflect() protoreflect.Message
- func (x *FilterConfig) Reset()
- func (x *FilterConfig) String() string
- type PerRouteConfig
- func (*PerRouteConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PerRouteConfig) GetHostRewriteHeader() string
- func (x *PerRouteConfig) GetHostRewriteLiteral() string
- func (m *PerRouteConfig) GetHostRewriteSpecifier() isPerRouteConfig_HostRewriteSpecifier
- func (*PerRouteConfig) ProtoMessage()
- func (x *PerRouteConfig) ProtoReflect() protoreflect.Message
- func (x *PerRouteConfig) Reset()
- func (x *PerRouteConfig) String() string
- type PerRouteConfig_HostRewriteHeader
- type PerRouteConfig_HostRewriteLiteral
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_filters_http_dynamic_forward_proxy_v3_dynamic_forward_proxy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FilterConfig ¶
type FilterConfig struct { // The DNS cache configuration that the filter will attach to. Note this configuration must // match that of associated :ref:`dynamic forward proxy cluster configuration // <envoy_v3_api_field_extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig.dns_cache_config>`. DnsCacheConfig *v3.DnsCacheConfig `protobuf:"bytes,1,opt,name=dns_cache_config,json=dnsCacheConfig,proto3" json:"dns_cache_config,omitempty"` // When this flag is set, the filter will add the resolved upstream address in the filter // state. The state should be saved with key // “envoy.stream.upstream_address“ (See // :repo:`upstream_address.h<source/common/stream_info/upstream_address.h>`). SaveUpstreamAddress bool `protobuf:"varint,2,opt,name=save_upstream_address,json=saveUpstreamAddress,proto3" json:"save_upstream_address,omitempty"` // contains filtered or unexported fields }
Configuration for the dynamic forward proxy HTTP filter. See the :ref:`architecture overview <arch_overview_http_dynamic_forward_proxy>` for more information. [#extension: envoy.filters.http.dynamic_forward_proxy]
func (*FilterConfig) Descriptor
deprecated
func (*FilterConfig) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig.ProtoReflect.Descriptor instead.
func (*FilterConfig) GetDnsCacheConfig ¶
func (x *FilterConfig) GetDnsCacheConfig() *v3.DnsCacheConfig
func (*FilterConfig) GetSaveUpstreamAddress ¶
func (x *FilterConfig) GetSaveUpstreamAddress() bool
func (*FilterConfig) ProtoMessage ¶
func (*FilterConfig) ProtoMessage()
func (*FilterConfig) ProtoReflect ¶
func (x *FilterConfig) ProtoReflect() protoreflect.Message
func (*FilterConfig) Reset ¶
func (x *FilterConfig) Reset()
func (*FilterConfig) String ¶
func (x *FilterConfig) String() string
type PerRouteConfig ¶
type PerRouteConfig struct { // Types that are assignable to HostRewriteSpecifier: // // *PerRouteConfig_HostRewriteLiteral // *PerRouteConfig_HostRewriteHeader HostRewriteSpecifier isPerRouteConfig_HostRewriteSpecifier `protobuf_oneof:"host_rewrite_specifier"` // contains filtered or unexported fields }
Per route Configuration for the dynamic forward proxy HTTP filter.
func (*PerRouteConfig) Descriptor
deprecated
func (*PerRouteConfig) Descriptor() ([]byte, []int)
Deprecated: Use PerRouteConfig.ProtoReflect.Descriptor instead.
func (*PerRouteConfig) GetHostRewriteHeader ¶
func (x *PerRouteConfig) GetHostRewriteHeader() string
func (*PerRouteConfig) GetHostRewriteLiteral ¶
func (x *PerRouteConfig) GetHostRewriteLiteral() string
func (*PerRouteConfig) GetHostRewriteSpecifier ¶
func (m *PerRouteConfig) GetHostRewriteSpecifier() isPerRouteConfig_HostRewriteSpecifier
func (*PerRouteConfig) ProtoMessage ¶
func (*PerRouteConfig) ProtoMessage()
func (*PerRouteConfig) ProtoReflect ¶
func (x *PerRouteConfig) ProtoReflect() protoreflect.Message
func (*PerRouteConfig) Reset ¶
func (x *PerRouteConfig) Reset()
func (*PerRouteConfig) String ¶
func (x *PerRouteConfig) String() string
type PerRouteConfig_HostRewriteHeader ¶
type PerRouteConfig_HostRewriteHeader struct { // Indicates that before DNS lookup, the host header will be swapped with // the value of this header. If not set or empty, the original host header // value will be used and no rewrite will happen. // // Note: this rewrite affects both DNS lookup and host header forwarding. However, this // option shouldn't be used with // :ref:`HCM host rewrite header <envoy_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>` // given that the value set here would be used for DNS lookups whereas the value set in the HCM // would be used for host header forwarding which is not the desired outcome. // // .. note:: // // If the header appears multiple times only the first value is used. HostRewriteHeader string `protobuf:"bytes,2,opt,name=host_rewrite_header,json=hostRewriteHeader,proto3,oneof"` }
type PerRouteConfig_HostRewriteLiteral ¶
type PerRouteConfig_HostRewriteLiteral struct { // Indicates that before DNS lookup, the host header will be swapped with // this value. If not set or empty, the original host header value // will be used and no rewrite will happen. // // Note: this rewrite affects both DNS lookup and host header forwarding. However, this // option shouldn't be used with // :ref:`HCM host rewrite <envoy_v3_api_field_config.route.v3.RouteAction.host_rewrite_literal>` given that the // value set here would be used for DNS lookups whereas the value set in the HCM would be used // for host header forwarding which is not the desired outcome. HostRewriteLiteral string `protobuf:"bytes,1,opt,name=host_rewrite_literal,json=hostRewriteLiteral,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.