raw_bufferv2

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Deprecated: Use RawBuffer.ProtoReflect.Descriptor instead.

func (*RawBuffer) ProtoMessage

func (*RawBuffer) ProtoMessage()

func (*RawBuffer) ProtoReflect

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

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

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

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