Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_network_echo_v3_echo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Echo ¶
type Echo struct {
// contains filtered or unexported fields
}
func (*Echo) Descriptor
deprecated
func (*Echo) ProtoMessage ¶
func (*Echo) ProtoMessage()
func (*Echo) ProtoReflect ¶
func (x *Echo) ProtoReflect() protoreflect.Message
func (*Echo) Validate ¶
Validate checks the field values on Echo 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 (*Echo) ValidateAll ¶
ValidateAll checks the field values on Echo 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 EchoMultiError, or nil if none found.
type EchoMultiError ¶
type EchoMultiError []error
EchoMultiError is an error wrapping multiple validation errors returned by Echo.ValidateAll() if the designated constraints aren't met.
func (EchoMultiError) AllErrors ¶
func (m EchoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EchoMultiError) Error ¶
func (m EchoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EchoValidationError ¶
type EchoValidationError struct {
// contains filtered or unexported fields
}
EchoValidationError is the validation error returned by Echo.Validate if the designated constraints aren't met.
func (EchoValidationError) Cause ¶
func (e EchoValidationError) Cause() error
Cause function returns cause value.
func (EchoValidationError) Error ¶
func (e EchoValidationError) Error() string
Error satisfies the builtin error interface
func (EchoValidationError) ErrorName ¶
func (e EchoValidationError) ErrorName() string
ErrorName returns error name.
func (EchoValidationError) Field ¶
func (e EchoValidationError) Field() string
Field function returns field value.
func (EchoValidationError) Key ¶
func (e EchoValidationError) Key() bool
Key function returns key value.
func (EchoValidationError) Reason ¶
func (e EchoValidationError) Reason() string
Reason function returns reason value.