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

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

Deprecated: Use Echo.ProtoReflect.Descriptor instead.

func (*Echo) ProtoMessage

func (*Echo) ProtoMessage()

func (*Echo) ProtoReflect

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, an error is returned.

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.