raw_bufferv3

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 17 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use RawBuffer.ProtoReflect.Descriptor instead.

func (*RawBuffer) ProtoMessage

func (*RawBuffer) ProtoMessage()

func (*RawBuffer) ProtoReflect added in v0.9.6

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

func (*RawBuffer) Reset

func (x *RawBuffer) Reset()

func (*RawBuffer) String

func (x *RawBuffer) String() string

func (*RawBuffer) Validate

func (m *RawBuffer) Validate() error

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

func (m *RawBuffer) ValidateAll() error

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

Key function returns key value.

func (RawBufferValidationError) Reason

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