Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_transport_socket_raw_buffer_v2_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 ¶ added in v0.9.6
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (m RawBufferMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RawBufferMultiError) Error ¶ added in v0.10.0
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.