Documentation ¶
Index ¶
- Variables
- type UpstreamCodec
- func (*UpstreamCodec) Descriptor() ([]byte, []int)deprecated
- func (*UpstreamCodec) ProtoMessage()
- func (x *UpstreamCodec) ProtoReflect() protoreflect.Message
- func (x *UpstreamCodec) Reset()
- func (x *UpstreamCodec) String() string
- func (m *UpstreamCodec) Validate() error
- func (m *UpstreamCodec) ValidateAll() error
- type UpstreamCodecMultiError
- type UpstreamCodecValidationError
- func (e UpstreamCodecValidationError) Cause() error
- func (e UpstreamCodecValidationError) Error() string
- func (e UpstreamCodecValidationError) ErrorName() string
- func (e UpstreamCodecValidationError) Field() string
- func (e UpstreamCodecValidationError) Key() bool
- func (e UpstreamCodecValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (e UpstreamCodecValidationError) Cause() error
Cause function returns cause value.
func (UpstreamCodecValidationError) Error ¶
func (e UpstreamCodecValidationError) Error() string
Error satisfies the builtin error interface
func (UpstreamCodecValidationError) ErrorName ¶
func (e UpstreamCodecValidationError) ErrorName() string
ErrorName returns error name.
func (UpstreamCodecValidationError) Field ¶
func (e UpstreamCodecValidationError) Field() string
Field function returns field value.
func (UpstreamCodecValidationError) Key ¶
func (e UpstreamCodecValidationError) Key() bool
Key function returns key value.
func (UpstreamCodecValidationError) Reason ¶
func (e UpstreamCodecValidationError) Reason() string
Reason function returns reason value.