Documentation ¶
Index ¶
- Variables
- type ProxyProtocol
- 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 ¶
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 v1.7.0
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, an error is returned.
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.
Click to show internal directories.
Click to hide internal directories.