http_11_proxyv3

package
v0.11.0-radware2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_transport_sockets_http_11_proxy_v3_upstream_http_11_connect_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Http11ProxyUpstreamTransport

type Http11ProxyUpstreamTransport struct {

	// The underlying transport socket being wrapped.
	TransportSocket *v3.TransportSocket `protobuf:"bytes,1,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
	// contains filtered or unexported fields
}

Configuration for HTTP/1.1 proxy transport sockets. This is intended for use in Envoy Mobile, though may eventually be extended for upstream Envoy use. If this transport socket is configured, and an intermediate filter adds the stream info necessary for proxying to the stream info (as the test filter does :repo:`here <test/integration/filters/header_to_proxy_filter.cc>`) then

  • Upstream connections will be directed to the specified proxy address rather than the host's address
  • Upstream TLS connections will have a raw HTTP/1.1 CONNECT header prefaced to the payload, and 200 response stripped (if less than 200 bytes)
  • Plaintext HTTP/1.1 connections will be sent with a fully qualified URL.

This transport socket is not compatible with HTTP/3, plaintext HTTP/2, or raw TCP.

func (*Http11ProxyUpstreamTransport) Descriptor deprecated

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

Deprecated: Use Http11ProxyUpstreamTransport.ProtoReflect.Descriptor instead.

func (*Http11ProxyUpstreamTransport) GetTransportSocket

func (x *Http11ProxyUpstreamTransport) GetTransportSocket() *v3.TransportSocket

func (*Http11ProxyUpstreamTransport) ProtoMessage

func (*Http11ProxyUpstreamTransport) ProtoMessage()

func (*Http11ProxyUpstreamTransport) ProtoReflect

func (*Http11ProxyUpstreamTransport) Reset

func (x *Http11ProxyUpstreamTransport) Reset()

func (*Http11ProxyUpstreamTransport) String

func (*Http11ProxyUpstreamTransport) Validate

func (m *Http11ProxyUpstreamTransport) Validate() error

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

func (m *Http11ProxyUpstreamTransport) ValidateAll() error

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

type Http11ProxyUpstreamTransportMultiError

type Http11ProxyUpstreamTransportMultiError []error

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

func (Http11ProxyUpstreamTransportMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (Http11ProxyUpstreamTransportMultiError) Error

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

type Http11ProxyUpstreamTransportValidationError

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

Http11ProxyUpstreamTransportValidationError is the validation error returned by Http11ProxyUpstreamTransport.Validate if the designated constraints aren't met.

func (Http11ProxyUpstreamTransportValidationError) Cause

Cause function returns cause value.

func (Http11ProxyUpstreamTransportValidationError) Error

Error satisfies the builtin error interface

func (Http11ProxyUpstreamTransportValidationError) ErrorName

ErrorName returns error name.

func (Http11ProxyUpstreamTransportValidationError) Field

Field function returns field value.

func (Http11ProxyUpstreamTransportValidationError) Key

Key function returns key value.

func (Http11ProxyUpstreamTransportValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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