early_datav3

package
v3.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

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

Cause function returns cause value.

func (DefaultEarlyDataPolicyValidationError) Error

Error satisfies the builtin error interface

func (DefaultEarlyDataPolicyValidationError) ErrorName

ErrorName returns error name.

func (DefaultEarlyDataPolicyValidationError) Field

Field function returns field value.

func (DefaultEarlyDataPolicyValidationError) Key

Key function returns key value.

func (DefaultEarlyDataPolicyValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL