Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_filter_network_echo_v2_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 ¶ added in v0.9.6
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (m EchoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EchoMultiError) Error ¶ added in v0.10.0
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.