Documentation
¶
Index ¶
- Variables
- type ProxyProtocol
- func (*ProxyProtocol) Descriptor() ([]byte, []int)deprecated
- func (*ProxyProtocol) ProtoMessage()
- func (x *ProxyProtocol) ProtoReflect() protoreflect.Message
- func (x *ProxyProtocol) Reset()
- func (x *ProxyProtocol) String() string
- func (m *ProxyProtocol) Validate() error
- func (m *ProxyProtocol) ValidateAll() error
- type ProxyProtocolMultiError
- type ProxyProtocolValidationError
- func (e ProxyProtocolValidationError) Cause() error
- func (e ProxyProtocolValidationError) Error() string
- func (e ProxyProtocolValidationError) ErrorName() string
- func (e ProxyProtocolValidationError) Field() string
- func (e ProxyProtocolValidationError) Key() bool
- func (e ProxyProtocolValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m ProxyProtocolMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProxyProtocolMultiError) Error ¶
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 ¶
func (e ProxyProtocolValidationError) Cause() error
Cause function returns cause value.
func (ProxyProtocolValidationError) Error ¶
func (e ProxyProtocolValidationError) Error() string
Error satisfies the builtin error interface
func (ProxyProtocolValidationError) ErrorName ¶
func (e ProxyProtocolValidationError) ErrorName() string
ErrorName returns error name.
func (ProxyProtocolValidationError) Field ¶
func (e ProxyProtocolValidationError) Field() string
Field function returns field value.
func (ProxyProtocolValidationError) Key ¶
func (e ProxyProtocolValidationError) Key() bool
Key function returns key value.
func (ProxyProtocolValidationError) Reason ¶
func (e ProxyProtocolValidationError) Reason() string
Reason function returns reason value.