Version: v0.9.7 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 19 Imported by: 6




This section is empty.


View Source
var File_envoy_extensions_filters_network_sni_dynamic_forward_proxy_v3alpha_sni_dynamic_forward_proxy_proto protoreflect.FileDescriptor


This section is empty.


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_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"`
	// Types that are assignable to PortSpecifier:
	//	*FilterConfig_PortValue
	PortSpecifier isFilterConfig_PortSpecifier `protobuf_oneof:"port_specifier"`
	// contains filtered or unexported fields

Configuration for the SNI-based dynamic forward proxy filter. See the :ref:`architecture overview <arch_overview_http_dynamic_forward_proxy>` for more information. Note this filter must be configured along with :ref:`TLS inspector listener filter <config_listener_filters_tls_inspector>` to work. [#extension: envoy.filters.network.sni_dynamic_forward_proxy]

func (*FilterConfig) Descriptor deprecated

This method has been deprecated.
func (*FilterConfig) Descriptor() ([]byte, []int)

Deprecated: Use FilterConfig.ProtoReflect.Descriptor instead.

func (*FilterConfig) GetDnsCacheConfig

func (x *FilterConfig) GetDnsCacheConfig() *v3.DnsCacheConfig

func (*FilterConfig) GetPortSpecifier

func (m *FilterConfig) GetPortSpecifier() isFilterConfig_PortSpecifier

func (*FilterConfig) GetPortValue

func (x *FilterConfig) GetPortValue() uint32

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

func (*FilterConfig) Validate

func (m *FilterConfig) Validate() error

Validate checks the field values on FilterConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FilterConfigValidationError

type FilterConfigValidationError struct {
	// contains filtered or unexported fields

FilterConfigValidationError is the validation error returned by FilterConfig.Validate if the designated constraints aren't met.

func (FilterConfigValidationError) Cause

Cause function returns cause value.

func (FilterConfigValidationError) Error

Error satisfies the builtin error interface

func (FilterConfigValidationError) ErrorName

func (e FilterConfigValidationError) ErrorName() string

ErrorName returns error name.

func (FilterConfigValidationError) Field

Field function returns field value.

func (FilterConfigValidationError) Key

Key function returns key value.

func (FilterConfigValidationError) Reason

Reason function returns reason value.

type FilterConfig_PortValue

type FilterConfig_PortValue struct {
	// The port number to connect to the upstream.
	PortValue uint32 `protobuf:"varint,2,opt,name=port_value,json=portValue,proto3,oneof"`

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to