package raw_bufferv2

import "github.com/envoyproxy/go-control-plane/envoy/config/transport_socket/raw_buffer/v2"

Index

Variables

var File_envoy_config_transport_socket_raw_buffer_v2_raw_buffer_proto protoreflect.FileDescriptor

Types

type RawBuffer

type RawBuffer struct {
	// contains filtered or unexported fields
}

Configuration for raw buffer transport socket.

func (*RawBuffer) Descriptor

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.

Source Files

raw_buffer.pb.go raw_buffer.pb.validate.go

Version
v1.32.4 (latest)
Published
Feb 3, 2025
Platform
linux/amd64
Imports
17 packages
Last checked
1 day ago

Tools for package owners.