envoy_extensions_transport_sockets_proxy_protocol_v3

package
v0.9.82 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 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_proxy_protocol_v3_upstream_proxy_protocol_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ProxyProtocolUpstreamTransport

type ProxyProtocolUpstreamTransport struct {

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

Configuration for PROXY protocol socket

func (*ProxyProtocolUpstreamTransport) Descriptor deprecated

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

Deprecated: Use ProxyProtocolUpstreamTransport.ProtoReflect.Descriptor instead.

func (*ProxyProtocolUpstreamTransport) GetConfig

func (*ProxyProtocolUpstreamTransport) GetTransportSocket

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

func (*ProxyProtocolUpstreamTransport) ProtoMessage

func (*ProxyProtocolUpstreamTransport) ProtoMessage()

func (*ProxyProtocolUpstreamTransport) ProtoReflect

func (*ProxyProtocolUpstreamTransport) Reset

func (x *ProxyProtocolUpstreamTransport) Reset()

func (*ProxyProtocolUpstreamTransport) String

func (*ProxyProtocolUpstreamTransport) Validate

func (m *ProxyProtocolUpstreamTransport) Validate() error

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

type ProxyProtocolUpstreamTransportValidationError

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

ProxyProtocolUpstreamTransportValidationError is the validation error returned by ProxyProtocolUpstreamTransport.Validate if the designated constraints aren't met.

func (ProxyProtocolUpstreamTransportValidationError) Cause

Cause function returns cause value.

func (ProxyProtocolUpstreamTransportValidationError) Error

Error satisfies the builtin error interface

func (ProxyProtocolUpstreamTransportValidationError) ErrorName

ErrorName returns error name.

func (ProxyProtocolUpstreamTransportValidationError) Field

Field function returns field value.

func (ProxyProtocolUpstreamTransportValidationError) Key

Key function returns key value.

func (ProxyProtocolUpstreamTransportValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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