Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_transport_sockets_raw_buffer_v3_raw_buffer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RawBuffer ¶
type RawBuffer struct {
// contains filtered or unexported fields
}
Configuration for raw buffer transport socket.
func (*RawBuffer) Descriptor
deprecated
func (*RawBuffer) ProtoMessage ¶
func (*RawBuffer) ProtoMessage()
func (*RawBuffer) ProtoReflect ¶
func (x *RawBuffer) ProtoReflect() protoreflect.Message
func (*RawBuffer) Validate ¶
Validate checks the field values on RawBuffer 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 (*RawBuffer) ValidateAll ¶
ValidateAll checks the field values on RawBuffer 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 RawBufferMultiError, or nil if none found.
type RawBufferMultiError ¶
type RawBufferMultiError []error
RawBufferMultiError is an error wrapping multiple validation errors returned by RawBuffer.ValidateAll() if the designated constraints aren't met.
func (RawBufferMultiError) AllErrors ¶
func (m RawBufferMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RawBufferMultiError) Error ¶
func (m RawBufferMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RawBufferValidationError ¶
type RawBufferValidationError struct {
// contains filtered or unexported fields
}
RawBufferValidationError is the validation error returned by RawBuffer.Validate if the designated constraints aren't met.
func (RawBufferValidationError) Cause ¶
func (e RawBufferValidationError) Cause() error
Cause function returns cause value.
func (RawBufferValidationError) Error ¶
func (e RawBufferValidationError) Error() string
Error satisfies the builtin error interface
func (RawBufferValidationError) ErrorName ¶
func (e RawBufferValidationError) ErrorName() string
ErrorName returns error name.
func (RawBufferValidationError) Field ¶
func (e RawBufferValidationError) Field() string
Field function returns field value.
func (RawBufferValidationError) Key ¶
func (e RawBufferValidationError) Key() bool
Key function returns key value.
func (RawBufferValidationError) Reason ¶
func (e RawBufferValidationError) Reason() string
Reason function returns reason value.