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