envoy_extensions_filters_http_alternate_protocols_cache_v3

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 19 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_http_alternate_protocols_cache_v3_alternate_protocols_cache_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FilterConfig

type FilterConfig struct {

	// If set, causes the use of the alternate protocols cache, which is responsible for
	// parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for upstream
	// servers that advertise supporting it.
	// TODO(RyanTheOptimist): Make this field required when HTTP/3 is enabled via auto_http.
	AlternateProtocolsCacheOptions *v3.AlternateProtocolsCacheOptions `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for the alternate protocols cache HTTP filter. [#extension: envoy.filters.http.alternate_protocols_cache]

func (*FilterConfig) Descriptor deprecated

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

Deprecated: Use FilterConfig.ProtoReflect.Descriptor instead.

func (*FilterConfig) GetAlternateProtocolsCacheOptions

func (x *FilterConfig) GetAlternateProtocolsCacheOptions() *v3.AlternateProtocolsCacheOptions

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, the first error encountered is returned, or nil if there are no violations.

func (*FilterConfig) ValidateAll

func (m *FilterConfig) ValidateAll() error

ValidateAll checks the field values on FilterConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FilterConfigMultiError, or nil if none found.

type FilterConfigMultiError

type FilterConfigMultiError []error

FilterConfigMultiError is an error wrapping multiple validation errors returned by FilterConfig.ValidateAll() if the designated constraints aren't met.

func (FilterConfigMultiError) AllErrors

func (m FilterConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FilterConfigMultiError) Error

func (m FilterConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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.

Jump to

Keyboard shortcuts

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