actionv3

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 17 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_common_matcher_action_v3_skip_action_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SkipFilter

type SkipFilter struct {
	// contains filtered or unexported fields
}

Configuration for the SkipFilter match action. When matching results in this action, the associated filter will be ignored for all filter callbacks (e.g. “encodeHeaders“, “encodeData“, etc. for HTTP filters) after the matcher arrives at the match, including the callback that caused the match result. For example, when used with a HTTP filter and the match result was resolved after receiving the HTTP response headers, the HTTP filter will *not* receive the response header callback.

As a result, if this match action is resolved before the first filter callback (e.g. HTTP request headers), the filter will be completely skipped.

func (*SkipFilter) Descriptor deprecated

func (*SkipFilter) Descriptor() ([]byte, []int)

Deprecated: Use SkipFilter.ProtoReflect.Descriptor instead.

func (*SkipFilter) ProtoMessage

func (*SkipFilter) ProtoMessage()

func (*SkipFilter) ProtoReflect

func (x *SkipFilter) ProtoReflect() protoreflect.Message

func (*SkipFilter) Reset

func (x *SkipFilter) Reset()

func (*SkipFilter) String

func (x *SkipFilter) String() string

func (*SkipFilter) Validate

func (m *SkipFilter) Validate() error

Validate checks the field values on SkipFilter 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 (*SkipFilter) ValidateAll added in v0.10.0

func (m *SkipFilter) ValidateAll() error

ValidateAll checks the field values on SkipFilter 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 SkipFilterMultiError, or nil if none found.

type SkipFilterMultiError added in v0.10.0

type SkipFilterMultiError []error

SkipFilterMultiError is an error wrapping multiple validation errors returned by SkipFilter.ValidateAll() if the designated constraints aren't met.

func (SkipFilterMultiError) AllErrors added in v0.10.0

func (m SkipFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SkipFilterMultiError) Error added in v0.10.0

func (m SkipFilterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SkipFilterValidationError

type SkipFilterValidationError struct {
	// contains filtered or unexported fields
}

SkipFilterValidationError is the validation error returned by SkipFilter.Validate if the designated constraints aren't met.

func (SkipFilterValidationError) Cause

func (e SkipFilterValidationError) Cause() error

Cause function returns cause value.

func (SkipFilterValidationError) Error

Error satisfies the builtin error interface

func (SkipFilterValidationError) ErrorName

func (e SkipFilterValidationError) ErrorName() string

ErrorName returns error name.

func (SkipFilterValidationError) Field

Field function returns field value.

func (SkipFilterValidationError) Key

Key function returns key value.

func (SkipFilterValidationError) Reason

func (e SkipFilterValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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