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