Documentation ¶
Index ¶
- Variables
- type DefaultEarlyDataPolicy
- func (*DefaultEarlyDataPolicy) Descriptor() ([]byte, []int)deprecated
- func (*DefaultEarlyDataPolicy) ProtoMessage()
- func (x *DefaultEarlyDataPolicy) ProtoReflect() protoreflect.Message
- func (x *DefaultEarlyDataPolicy) Reset()
- func (x *DefaultEarlyDataPolicy) String() string
- func (m *DefaultEarlyDataPolicy) Validate() error
- func (m *DefaultEarlyDataPolicy) ValidateAll() error
- type DefaultEarlyDataPolicyMultiError
- type DefaultEarlyDataPolicyValidationError
- func (e DefaultEarlyDataPolicyValidationError) Cause() error
- func (e DefaultEarlyDataPolicyValidationError) Error() string
- func (e DefaultEarlyDataPolicyValidationError) ErrorName() string
- func (e DefaultEarlyDataPolicyValidationError) Field() string
- func (e DefaultEarlyDataPolicyValidationError) Key() bool
- func (e DefaultEarlyDataPolicyValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_early_data_v3_default_early_data_policy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DefaultEarlyDataPolicy ¶
type DefaultEarlyDataPolicy struct {
// contains filtered or unexported fields
}
[#extension: envoy.route.early_data_policy.default] The default rule to allow/disallow a request to be sent as early data. It's an empty config now. Configuring it will disallow any request to be sent over early data.
func (*DefaultEarlyDataPolicy) Descriptor
deprecated
func (*DefaultEarlyDataPolicy) Descriptor() ([]byte, []int)
Deprecated: Use DefaultEarlyDataPolicy.ProtoReflect.Descriptor instead.
func (*DefaultEarlyDataPolicy) ProtoMessage ¶
func (*DefaultEarlyDataPolicy) ProtoMessage()
func (*DefaultEarlyDataPolicy) ProtoReflect ¶
func (x *DefaultEarlyDataPolicy) ProtoReflect() protoreflect.Message
func (*DefaultEarlyDataPolicy) Reset ¶
func (x *DefaultEarlyDataPolicy) Reset()
func (*DefaultEarlyDataPolicy) String ¶
func (x *DefaultEarlyDataPolicy) String() string
func (*DefaultEarlyDataPolicy) Validate ¶
func (m *DefaultEarlyDataPolicy) Validate() error
Validate checks the field values on DefaultEarlyDataPolicy 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 (*DefaultEarlyDataPolicy) ValidateAll ¶
func (m *DefaultEarlyDataPolicy) ValidateAll() error
ValidateAll checks the field values on DefaultEarlyDataPolicy 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 DefaultEarlyDataPolicyMultiError, or nil if none found.
type DefaultEarlyDataPolicyMultiError ¶
type DefaultEarlyDataPolicyMultiError []error
DefaultEarlyDataPolicyMultiError is an error wrapping multiple validation errors returned by DefaultEarlyDataPolicy.ValidateAll() if the designated constraints aren't met.
func (DefaultEarlyDataPolicyMultiError) AllErrors ¶
func (m DefaultEarlyDataPolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DefaultEarlyDataPolicyMultiError) Error ¶
func (m DefaultEarlyDataPolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DefaultEarlyDataPolicyValidationError ¶
type DefaultEarlyDataPolicyValidationError struct {
// contains filtered or unexported fields
}
DefaultEarlyDataPolicyValidationError is the validation error returned by DefaultEarlyDataPolicy.Validate if the designated constraints aren't met.
func (DefaultEarlyDataPolicyValidationError) Cause ¶
func (e DefaultEarlyDataPolicyValidationError) Cause() error
Cause function returns cause value.
func (DefaultEarlyDataPolicyValidationError) Error ¶
func (e DefaultEarlyDataPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (DefaultEarlyDataPolicyValidationError) ErrorName ¶
func (e DefaultEarlyDataPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (DefaultEarlyDataPolicyValidationError) Field ¶
func (e DefaultEarlyDataPolicyValidationError) Field() string
Field function returns field value.
func (DefaultEarlyDataPolicyValidationError) Key ¶
func (e DefaultEarlyDataPolicyValidationError) Key() bool
Key function returns key value.
func (DefaultEarlyDataPolicyValidationError) Reason ¶
func (e DefaultEarlyDataPolicyValidationError) Reason() string
Reason function returns reason value.