proxy_protocolv2

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 17 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_listener_proxy_protocol_v2_proxy_protocol_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ProxyProtocol

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

func (*ProxyProtocol) Descriptor deprecated

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

Deprecated: Use ProxyProtocol.ProtoReflect.Descriptor instead.

func (*ProxyProtocol) ProtoMessage

func (*ProxyProtocol) ProtoMessage()

func (*ProxyProtocol) ProtoReflect added in v0.9.6

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

func (*ProxyProtocol) Reset

func (x *ProxyProtocol) Reset()

func (*ProxyProtocol) String

func (x *ProxyProtocol) String() string

func (*ProxyProtocol) Validate

func (m *ProxyProtocol) Validate() error

Validate checks the field values on ProxyProtocol 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 (*ProxyProtocol) ValidateAll added in v0.10.0

func (m *ProxyProtocol) ValidateAll() error

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

type ProxyProtocolMultiError added in v0.10.0

type ProxyProtocolMultiError []error

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

func (ProxyProtocolMultiError) AllErrors added in v0.10.0

func (m ProxyProtocolMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProxyProtocolMultiError) Error added in v0.10.0

func (m ProxyProtocolMultiError) Error() string

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

type ProxyProtocolValidationError

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

ProxyProtocolValidationError is the validation error returned by ProxyProtocol.Validate if the designated constraints aren't met.

func (ProxyProtocolValidationError) Cause

Cause function returns cause value.

func (ProxyProtocolValidationError) Error

Error satisfies the builtin error interface

func (ProxyProtocolValidationError) ErrorName

func (e ProxyProtocolValidationError) ErrorName() string

ErrorName returns error name.

func (ProxyProtocolValidationError) Field

Field function returns field value.

func (ProxyProtocolValidationError) Key

Key function returns key value.

func (ProxyProtocolValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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