upstream_codecv3

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_http_upstream_codec_v3_upstream_codec_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type UpstreamCodec

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

func (*UpstreamCodec) Descriptor deprecated

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

Deprecated: Use UpstreamCodec.ProtoReflect.Descriptor instead.

func (*UpstreamCodec) ProtoMessage

func (*UpstreamCodec) ProtoMessage()

func (*UpstreamCodec) ProtoReflect

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

func (*UpstreamCodec) Reset

func (x *UpstreamCodec) Reset()

func (*UpstreamCodec) String

func (x *UpstreamCodec) String() string

func (*UpstreamCodec) Validate

func (m *UpstreamCodec) Validate() error

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

func (m *UpstreamCodec) ValidateAll() error

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

type UpstreamCodecMultiError

type UpstreamCodecMultiError []error

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

func (UpstreamCodecMultiError) AllErrors

func (m UpstreamCodecMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpstreamCodecMultiError) Error

func (m UpstreamCodecMultiError) Error() string

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

type UpstreamCodecValidationError

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

UpstreamCodecValidationError is the validation error returned by UpstreamCodec.Validate if the designated constraints aren't met.

func (UpstreamCodecValidationError) Cause

Cause function returns cause value.

func (UpstreamCodecValidationError) Error

Error satisfies the builtin error interface

func (UpstreamCodecValidationError) ErrorName

func (e UpstreamCodecValidationError) ErrorName() string

ErrorName returns error name.

func (UpstreamCodecValidationError) Field

Field function returns field value.

func (UpstreamCodecValidationError) Key

Key function returns key value.

func (UpstreamCodecValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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