envoy_extensions_filters_http_dynamic_forward_proxy_v3

package
v1.6.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDynamicForwardProxy        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDynamicForwardProxy          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDynamicForwardProxy = fmt.Errorf("proto: unexpected end of group")
)

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_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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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

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

func (*FilterConfig) GetDnsCacheConfig

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

func (*FilterConfig) Marshal

func (m *FilterConfig) Marshal() (dAtA []byte, err error)

func (*FilterConfig) MarshalTo

func (m *FilterConfig) MarshalTo(dAtA []byte) (int, error)

func (*FilterConfig) MarshalToSizedBuffer

func (m *FilterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FilterConfig) ProtoMessage

func (*FilterConfig) ProtoMessage()

func (*FilterConfig) Reset

func (m *FilterConfig) Reset()

func (*FilterConfig) Size

func (m *FilterConfig) Size() (n int)

func (*FilterConfig) String

func (m *FilterConfig) String() string

func (*FilterConfig) Unmarshal

func (m *FilterConfig) Unmarshal(dAtA []byte) error

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.

func (*FilterConfig) XXX_DiscardUnknown

func (m *FilterConfig) XXX_DiscardUnknown()

func (*FilterConfig) XXX_Marshal

func (m *FilterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilterConfig) XXX_Merge

func (m *FilterConfig) XXX_Merge(src proto.Message)

func (*FilterConfig) XXX_Size

func (m *FilterConfig) XXX_Size() int

func (*FilterConfig) XXX_Unmarshal

func (m *FilterConfig) XXX_Unmarshal(b []byte) error

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 PerRouteConfig

type PerRouteConfig struct {
	// Types that are valid to be assigned to HostRewriteSpecifier:
	//	*PerRouteConfig_HostRewriteLiteral
	//	*PerRouteConfig_HostRewriteHeader
	HostRewriteSpecifier isPerRouteConfig_HostRewriteSpecifier `protobuf_oneof:"host_rewrite_specifier"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

Per route Configuration for the dynamic forward proxy HTTP filter.

func (*PerRouteConfig) Descriptor

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

func (*PerRouteConfig) GetHostRewriteHeader

func (m *PerRouteConfig) GetHostRewriteHeader() string

func (*PerRouteConfig) GetHostRewriteLiteral

func (m *PerRouteConfig) GetHostRewriteLiteral() string

func (*PerRouteConfig) GetHostRewriteSpecifier

func (m *PerRouteConfig) GetHostRewriteSpecifier() isPerRouteConfig_HostRewriteSpecifier

func (*PerRouteConfig) Marshal

func (m *PerRouteConfig) Marshal() (dAtA []byte, err error)

func (*PerRouteConfig) MarshalTo

func (m *PerRouteConfig) MarshalTo(dAtA []byte) (int, error)

func (*PerRouteConfig) MarshalToSizedBuffer

func (m *PerRouteConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PerRouteConfig) ProtoMessage

func (*PerRouteConfig) ProtoMessage()

func (*PerRouteConfig) Reset

func (m *PerRouteConfig) Reset()

func (*PerRouteConfig) Size

func (m *PerRouteConfig) Size() (n int)

func (*PerRouteConfig) String

func (m *PerRouteConfig) String() string

func (*PerRouteConfig) Unmarshal

func (m *PerRouteConfig) Unmarshal(dAtA []byte) error

func (*PerRouteConfig) Validate

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.

func (*PerRouteConfig) XXX_DiscardUnknown

func (m *PerRouteConfig) XXX_DiscardUnknown()

func (*PerRouteConfig) XXX_Marshal

func (m *PerRouteConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PerRouteConfig) XXX_Merge

func (m *PerRouteConfig) XXX_Merge(src proto.Message)

func (*PerRouteConfig) XXX_OneofWrappers

func (*PerRouteConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PerRouteConfig) XXX_Size

func (m *PerRouteConfig) XXX_Size() int

func (*PerRouteConfig) XXX_Unmarshal

func (m *PerRouteConfig) XXX_Unmarshal(b []byte) error

type PerRouteConfigValidationError

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

Cause function returns cause value.

func (PerRouteConfigValidationError) Error

Error satisfies the builtin error interface

func (PerRouteConfigValidationError) ErrorName

func (e PerRouteConfigValidationError) ErrorName() string

ErrorName returns error name.

func (PerRouteConfigValidationError) Field

Field function returns field value.

func (PerRouteConfigValidationError) Key

Key function returns key value.

func (PerRouteConfigValidationError) Reason

Reason function returns reason value.

type PerRouteConfig_HostRewriteHeader

type PerRouteConfig_HostRewriteHeader struct {
	HostRewriteHeader string `protobuf:"bytes,2,opt,name=host_rewrite_header,json=hostRewriteHeader,proto3,oneof" json:"host_rewrite_header,omitempty"`
}

func (*PerRouteConfig_HostRewriteHeader) MarshalTo

func (m *PerRouteConfig_HostRewriteHeader) MarshalTo(dAtA []byte) (int, error)

func (*PerRouteConfig_HostRewriteHeader) MarshalToSizedBuffer

func (m *PerRouteConfig_HostRewriteHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PerRouteConfig_HostRewriteHeader) Size

func (m *PerRouteConfig_HostRewriteHeader) Size() (n int)

type PerRouteConfig_HostRewriteLiteral

type PerRouteConfig_HostRewriteLiteral struct {
	HostRewriteLiteral string `protobuf:"bytes,1,opt,name=host_rewrite_literal,json=hostRewriteLiteral,proto3,oneof" json:"host_rewrite_literal,omitempty"`
}

func (*PerRouteConfig_HostRewriteLiteral) MarshalTo

func (m *PerRouteConfig_HostRewriteLiteral) MarshalTo(dAtA []byte) (int, error)

func (*PerRouteConfig_HostRewriteLiteral) MarshalToSizedBuffer

func (m *PerRouteConfig_HostRewriteLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PerRouteConfig_HostRewriteLiteral) Size

func (m *PerRouteConfig_HostRewriteLiteral) Size() (n int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL