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