quicv3

package
v0.0.0-...-cc4fdd4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type QuicDownstreamTransport

type QuicDownstreamTransport struct {
	DownstreamTlsContext *v3.DownstreamTlsContext `protobuf:"bytes,1,opt,name=downstream_tls_context,json=downstreamTlsContext,proto3" json:"downstream_tls_context,omitempty"`
	// If false, QUIC will tell TLS to reject any early data and to stop issuing 0-RTT credentials with resumption session tickets. This will prevent clients from sending 0-RTT requests.
	// Default to true.
	EnableEarlyData *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enable_early_data,json=enableEarlyData,proto3" json:"enable_early_data,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Downstream QUIC transport socket. This provides Google's implementation of Google QUIC and IETF QUIC to Envoy.

func (*QuicDownstreamTransport) Descriptor deprecated

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

Deprecated: Use QuicDownstreamTransport.ProtoReflect.Descriptor instead.

func (*QuicDownstreamTransport) GetDownstreamTlsContext

func (x *QuicDownstreamTransport) GetDownstreamTlsContext() *v3.DownstreamTlsContext

func (*QuicDownstreamTransport) GetEnableEarlyData

func (x *QuicDownstreamTransport) GetEnableEarlyData() *wrapperspb.BoolValue

func (*QuicDownstreamTransport) ProtoMessage

func (*QuicDownstreamTransport) ProtoMessage()

func (*QuicDownstreamTransport) ProtoReflect

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

func (*QuicDownstreamTransport) Reset

func (x *QuicDownstreamTransport) Reset()

func (*QuicDownstreamTransport) String

func (x *QuicDownstreamTransport) String() string

func (*QuicDownstreamTransport) Validate

func (m *QuicDownstreamTransport) Validate() error

Validate checks the field values on QuicDownstreamTransport 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 (*QuicDownstreamTransport) ValidateAll

func (m *QuicDownstreamTransport) ValidateAll() error

ValidateAll checks the field values on QuicDownstreamTransport 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 QuicDownstreamTransportMultiError, or nil if none found.

type QuicDownstreamTransportMultiError

type QuicDownstreamTransportMultiError []error

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

func (QuicDownstreamTransportMultiError) AllErrors

func (m QuicDownstreamTransportMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuicDownstreamTransportMultiError) Error

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

type QuicDownstreamTransportValidationError

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

QuicDownstreamTransportValidationError is the validation error returned by QuicDownstreamTransport.Validate if the designated constraints aren't met.

func (QuicDownstreamTransportValidationError) Cause

Cause function returns cause value.

func (QuicDownstreamTransportValidationError) Error

Error satisfies the builtin error interface

func (QuicDownstreamTransportValidationError) ErrorName

ErrorName returns error name.

func (QuicDownstreamTransportValidationError) Field

Field function returns field value.

func (QuicDownstreamTransportValidationError) Key

Key function returns key value.

func (QuicDownstreamTransportValidationError) Reason

Reason function returns reason value.

type QuicUpstreamTransport

type QuicUpstreamTransport struct {
	UpstreamTlsContext *v3.UpstreamTlsContext `protobuf:"bytes,1,opt,name=upstream_tls_context,json=upstreamTlsContext,proto3" json:"upstream_tls_context,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Upstream QUIC transport socket. This provides Google's implementation of Google QUIC and IETF QUIC to Envoy.

func (*QuicUpstreamTransport) Descriptor deprecated

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

Deprecated: Use QuicUpstreamTransport.ProtoReflect.Descriptor instead.

func (*QuicUpstreamTransport) GetUpstreamTlsContext

func (x *QuicUpstreamTransport) GetUpstreamTlsContext() *v3.UpstreamTlsContext

func (*QuicUpstreamTransport) ProtoMessage

func (*QuicUpstreamTransport) ProtoMessage()

func (*QuicUpstreamTransport) ProtoReflect

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

func (*QuicUpstreamTransport) Reset

func (x *QuicUpstreamTransport) Reset()

func (*QuicUpstreamTransport) String

func (x *QuicUpstreamTransport) String() string

func (*QuicUpstreamTransport) Validate

func (m *QuicUpstreamTransport) Validate() error

Validate checks the field values on QuicUpstreamTransport 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 (*QuicUpstreamTransport) ValidateAll

func (m *QuicUpstreamTransport) ValidateAll() error

ValidateAll checks the field values on QuicUpstreamTransport 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 QuicUpstreamTransportMultiError, or nil if none found.

type QuicUpstreamTransportMultiError

type QuicUpstreamTransportMultiError []error

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

func (QuicUpstreamTransportMultiError) AllErrors

func (m QuicUpstreamTransportMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuicUpstreamTransportMultiError) Error

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

type QuicUpstreamTransportValidationError

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

QuicUpstreamTransportValidationError is the validation error returned by QuicUpstreamTransport.Validate if the designated constraints aren't met.

func (QuicUpstreamTransportValidationError) Cause

Cause function returns cause value.

func (QuicUpstreamTransportValidationError) Error

Error satisfies the builtin error interface

func (QuicUpstreamTransportValidationError) ErrorName

ErrorName returns error name.

func (QuicUpstreamTransportValidationError) Field

Field function returns field value.

func (QuicUpstreamTransportValidationError) Key

Key function returns key value.

func (QuicUpstreamTransportValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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