matcherv3

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_network_meta_protocol_proxy_matcher_v3_matcher_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MethodMatchInput

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

Used to match request method of the downstream request. Only applicable if a method provided by the application protocol. [#not-implemented-hide:]

func (*MethodMatchInput) Descriptor deprecated

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

Deprecated: Use MethodMatchInput.ProtoReflect.Descriptor instead.

func (*MethodMatchInput) ProtoMessage

func (*MethodMatchInput) ProtoMessage()

func (*MethodMatchInput) ProtoReflect

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

func (*MethodMatchInput) Reset

func (x *MethodMatchInput) Reset()

func (*MethodMatchInput) String

func (x *MethodMatchInput) String() string

func (*MethodMatchInput) Validate

func (m *MethodMatchInput) Validate() error

Validate checks the field values on MethodMatchInput 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 (*MethodMatchInput) ValidateAll

func (m *MethodMatchInput) ValidateAll() error

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

type MethodMatchInputMultiError

type MethodMatchInputMultiError []error

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

func (MethodMatchInputMultiError) AllErrors

func (m MethodMatchInputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MethodMatchInputMultiError) Error

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

type MethodMatchInputValidationError

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

MethodMatchInputValidationError is the validation error returned by MethodMatchInput.Validate if the designated constraints aren't met.

func (MethodMatchInputValidationError) Cause

Cause function returns cause value.

func (MethodMatchInputValidationError) Error

Error satisfies the builtin error interface

func (MethodMatchInputValidationError) ErrorName

ErrorName returns error name.

func (MethodMatchInputValidationError) Field

Field function returns field value.

func (MethodMatchInputValidationError) Key

Key function returns key value.

func (MethodMatchInputValidationError) Reason

Reason function returns reason value.

type PropertyMatchInput

type PropertyMatchInput struct {

	// The property name to match on.
	PropertyName string `protobuf:"bytes,1,opt,name=property_name,json=propertyName,proto3" json:"property_name,omitempty"`
	// contains filtered or unexported fields
}

Used to match an arbitrary property of the downstream request. These properties are populated by the codecs of application protocols. [#not-implemented-hide:]

func (*PropertyMatchInput) Descriptor deprecated

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

Deprecated: Use PropertyMatchInput.ProtoReflect.Descriptor instead.

func (*PropertyMatchInput) GetPropertyName

func (x *PropertyMatchInput) GetPropertyName() string

func (*PropertyMatchInput) ProtoMessage

func (*PropertyMatchInput) ProtoMessage()

func (*PropertyMatchInput) ProtoReflect

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

func (*PropertyMatchInput) Reset

func (x *PropertyMatchInput) Reset()

func (*PropertyMatchInput) String

func (x *PropertyMatchInput) String() string

func (*PropertyMatchInput) Validate

func (m *PropertyMatchInput) Validate() error

Validate checks the field values on PropertyMatchInput 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 (*PropertyMatchInput) ValidateAll

func (m *PropertyMatchInput) ValidateAll() error

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

type PropertyMatchInputMultiError

type PropertyMatchInputMultiError []error

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

func (PropertyMatchInputMultiError) AllErrors

func (m PropertyMatchInputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PropertyMatchInputMultiError) Error

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

type PropertyMatchInputValidationError

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

PropertyMatchInputValidationError is the validation error returned by PropertyMatchInput.Validate if the designated constraints aren't met.

func (PropertyMatchInputValidationError) Cause

Cause function returns cause value.

func (PropertyMatchInputValidationError) Error

Error satisfies the builtin error interface

func (PropertyMatchInputValidationError) ErrorName

ErrorName returns error name.

func (PropertyMatchInputValidationError) Field

Field function returns field value.

func (PropertyMatchInputValidationError) Key

Key function returns key value.

func (PropertyMatchInputValidationError) Reason

Reason function returns reason value.

type ServiceMatchInput

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

Used to match request service of the downstream request. Only applicable if a service provided by the application protocol. [#not-implemented-hide:]

func (*ServiceMatchInput) Descriptor deprecated

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

Deprecated: Use ServiceMatchInput.ProtoReflect.Descriptor instead.

func (*ServiceMatchInput) ProtoMessage

func (*ServiceMatchInput) ProtoMessage()

func (*ServiceMatchInput) ProtoReflect

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

func (*ServiceMatchInput) Reset

func (x *ServiceMatchInput) Reset()

func (*ServiceMatchInput) String

func (x *ServiceMatchInput) String() string

func (*ServiceMatchInput) Validate

func (m *ServiceMatchInput) Validate() error

Validate checks the field values on ServiceMatchInput 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 (*ServiceMatchInput) ValidateAll

func (m *ServiceMatchInput) ValidateAll() error

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

type ServiceMatchInputMultiError

type ServiceMatchInputMultiError []error

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

func (ServiceMatchInputMultiError) AllErrors

func (m ServiceMatchInputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceMatchInputMultiError) Error

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

type ServiceMatchInputValidationError

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

ServiceMatchInputValidationError is the validation error returned by ServiceMatchInput.Validate if the designated constraints aren't met.

func (ServiceMatchInputValidationError) Cause

Cause function returns cause value.

func (ServiceMatchInputValidationError) Error

Error satisfies the builtin error interface

func (ServiceMatchInputValidationError) ErrorName

ErrorName returns error name.

func (ServiceMatchInputValidationError) Field

Field function returns field value.

func (ServiceMatchInputValidationError) Key

Key function returns key value.

func (ServiceMatchInputValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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