envoy_config_filter_network_echo_v2

package
Version: v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_network_echo_v2_echo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Echo

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

func (*Echo) Descriptor deprecated

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

Deprecated: Use Echo.ProtoReflect.Descriptor instead.

func (*Echo) ProtoMessage

func (*Echo) ProtoMessage()

func (*Echo) ProtoReflect added in v0.9.6

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

func (*Echo) Reset

func (x *Echo) Reset()

func (*Echo) String

func (x *Echo) String() string

func (*Echo) Validate

func (m *Echo) Validate() error

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

func (m *Echo) ValidateAll() error

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

type EchoMultiError added in v0.10.0

type EchoMultiError []error

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

func (EchoMultiError) AllErrors added in v0.10.0

func (m EchoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EchoMultiError) Error added in v0.10.0

func (m EchoMultiError) Error() string

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

type EchoValidationError

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

EchoValidationError is the validation error returned by Echo.Validate if the designated constraints aren't met.

func (EchoValidationError) Cause

func (e EchoValidationError) Cause() error

Cause function returns cause value.

func (EchoValidationError) Error

func (e EchoValidationError) Error() string

Error satisfies the builtin error interface

func (EchoValidationError) ErrorName

func (e EchoValidationError) ErrorName() string

ErrorName returns error name.

func (EchoValidationError) Field

func (e EchoValidationError) Field() string

Field function returns field value.

func (EchoValidationError) Key

func (e EchoValidationError) Key() bool

Key function returns key value.

func (EchoValidationError) Reason

func (e EchoValidationError) 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