go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/dynamic_forward_proxy/v3 Index | Files

package envoy_extensions_filters_http_dynamic_forward_proxy_v3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/dynamic_forward_proxy/v3"

Index

Package Files

dynamic_forward_proxy.pb.go dynamic_forward_proxy.pb.validate.go

Variables

var File_envoy_extensions_filters_http_dynamic_forward_proxy_v3_dynamic_forward_proxy_proto protoreflect.FileDescriptor

type FilterConfig Uses

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"`
    // 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 Uses

func (*FilterConfig) Descriptor() ([]byte, []int)

Deprecated: Use FilterConfig.ProtoReflect.Descriptor instead.

func (*FilterConfig) GetDnsCacheConfig Uses

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

func (*FilterConfig) ProtoMessage Uses

func (*FilterConfig) ProtoMessage()

func (*FilterConfig) ProtoReflect Uses

func (x *FilterConfig) ProtoReflect() protoreflect.Message

func (*FilterConfig) Reset Uses

func (x *FilterConfig) Reset()

func (*FilterConfig) String Uses

func (x *FilterConfig) String() string

func (*FilterConfig) Validate Uses

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 Uses

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 Uses

func (e FilterConfigValidationError) Cause() error

Cause function returns cause value.

func (FilterConfigValidationError) Error Uses

func (e FilterConfigValidationError) Error() string

Error satisfies the builtin error interface

func (FilterConfigValidationError) ErrorName Uses

func (e FilterConfigValidationError) ErrorName() string

ErrorName returns error name.

func (FilterConfigValidationError) Field Uses

func (e FilterConfigValidationError) Field() string

Field function returns field value.

func (FilterConfigValidationError) Key Uses

func (e FilterConfigValidationError) Key() bool

Key function returns key value.

func (FilterConfigValidationError) Reason Uses

func (e FilterConfigValidationError) Reason() string

Reason function returns reason value.

type PerRouteConfig Uses

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 Uses

func (*PerRouteConfig) Descriptor() ([]byte, []int)

Deprecated: Use PerRouteConfig.ProtoReflect.Descriptor instead.

func (*PerRouteConfig) GetHostRewriteHeader Uses

func (x *PerRouteConfig) GetHostRewriteHeader() string

func (*PerRouteConfig) GetHostRewriteLiteral Uses

func (x *PerRouteConfig) GetHostRewriteLiteral() string

func (*PerRouteConfig) GetHostRewriteSpecifier Uses

func (m *PerRouteConfig) GetHostRewriteSpecifier() isPerRouteConfig_HostRewriteSpecifier

func (*PerRouteConfig) ProtoMessage Uses

func (*PerRouteConfig) ProtoMessage()

func (*PerRouteConfig) ProtoReflect Uses

func (x *PerRouteConfig) ProtoReflect() protoreflect.Message

func (*PerRouteConfig) Reset Uses

func (x *PerRouteConfig) Reset()

func (*PerRouteConfig) String Uses

func (x *PerRouteConfig) String() string

func (*PerRouteConfig) Validate Uses

func (m *PerRouteConfig) Validate() error

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

type PerRouteConfigValidationError Uses

type PerRouteConfigValidationError struct {
    // contains filtered or unexported fields
}

PerRouteConfigValidationError is the validation error returned by PerRouteConfig.Validate if the designated constraints aren't met.

func (PerRouteConfigValidationError) Cause Uses

func (e PerRouteConfigValidationError) Cause() error

Cause function returns cause value.

func (PerRouteConfigValidationError) Error Uses

func (e PerRouteConfigValidationError) Error() string

Error satisfies the builtin error interface

func (PerRouteConfigValidationError) ErrorName Uses

func (e PerRouteConfigValidationError) ErrorName() string

ErrorName returns error name.

func (PerRouteConfigValidationError) Field Uses

func (e PerRouteConfigValidationError) Field() string

Field function returns field value.

func (PerRouteConfigValidationError) Key Uses

func (e PerRouteConfigValidationError) Key() bool

Key function returns key value.

func (PerRouteConfigValidationError) Reason Uses

func (e PerRouteConfigValidationError) Reason() string

Reason function returns reason value.

type PerRouteConfig_HostRewriteHeader Uses

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_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 Uses

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_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"`
}

Package envoy_extensions_filters_http_dynamic_forward_proxy_v3 imports 19 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.