udp_packet_writerv3

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 17 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_udp_packet_writer_v3_udp_default_writer_factory_proto protoreflect.FileDescriptor
View Source
var File_envoy_extensions_udp_packet_writer_v3_udp_gso_batch_writer_factory_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type UdpDefaultWriterFactory

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

Configuration for the default UDP packet writer factory which simply uses the kernel's sendmsg() to send UDP packets.

func (*UdpDefaultWriterFactory) Descriptor deprecated

func (*UdpDefaultWriterFactory) Descriptor() ([]byte, []int)

Deprecated: Use UdpDefaultWriterFactory.ProtoReflect.Descriptor instead.

func (*UdpDefaultWriterFactory) ProtoMessage

func (*UdpDefaultWriterFactory) ProtoMessage()

func (*UdpDefaultWriterFactory) ProtoReflect

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

func (*UdpDefaultWriterFactory) Reset

func (x *UdpDefaultWriterFactory) Reset()

func (*UdpDefaultWriterFactory) String

func (x *UdpDefaultWriterFactory) String() string

func (*UdpDefaultWriterFactory) Validate

func (m *UdpDefaultWriterFactory) Validate() error

Validate checks the field values on UdpDefaultWriterFactory 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 (*UdpDefaultWriterFactory) ValidateAll

func (m *UdpDefaultWriterFactory) ValidateAll() error

ValidateAll checks the field values on UdpDefaultWriterFactory 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 UdpDefaultWriterFactoryMultiError, or nil if none found.

type UdpDefaultWriterFactoryMultiError

type UdpDefaultWriterFactoryMultiError []error

UdpDefaultWriterFactoryMultiError is an error wrapping multiple validation errors returned by UdpDefaultWriterFactory.ValidateAll() if the designated constraints aren't met.

func (UdpDefaultWriterFactoryMultiError) AllErrors

func (m UdpDefaultWriterFactoryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UdpDefaultWriterFactoryMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UdpDefaultWriterFactoryValidationError

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

UdpDefaultWriterFactoryValidationError is the validation error returned by UdpDefaultWriterFactory.Validate if the designated constraints aren't met.

func (UdpDefaultWriterFactoryValidationError) Cause

Cause function returns cause value.

func (UdpDefaultWriterFactoryValidationError) Error

Error satisfies the builtin error interface

func (UdpDefaultWriterFactoryValidationError) ErrorName

ErrorName returns error name.

func (UdpDefaultWriterFactoryValidationError) Field

Field function returns field value.

func (UdpDefaultWriterFactoryValidationError) Key

Key function returns key value.

func (UdpDefaultWriterFactoryValidationError) Reason

Reason function returns reason value.

type UdpGsoBatchWriterFactory

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

Configuration for the UDP GSO batch packet writer factory.

func (*UdpGsoBatchWriterFactory) Descriptor deprecated

func (*UdpGsoBatchWriterFactory) Descriptor() ([]byte, []int)

Deprecated: Use UdpGsoBatchWriterFactory.ProtoReflect.Descriptor instead.

func (*UdpGsoBatchWriterFactory) ProtoMessage

func (*UdpGsoBatchWriterFactory) ProtoMessage()

func (*UdpGsoBatchWriterFactory) ProtoReflect

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

func (*UdpGsoBatchWriterFactory) Reset

func (x *UdpGsoBatchWriterFactory) Reset()

func (*UdpGsoBatchWriterFactory) String

func (x *UdpGsoBatchWriterFactory) String() string

func (*UdpGsoBatchWriterFactory) Validate

func (m *UdpGsoBatchWriterFactory) Validate() error

Validate checks the field values on UdpGsoBatchWriterFactory 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 (*UdpGsoBatchWriterFactory) ValidateAll

func (m *UdpGsoBatchWriterFactory) ValidateAll() error

ValidateAll checks the field values on UdpGsoBatchWriterFactory 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 UdpGsoBatchWriterFactoryMultiError, or nil if none found.

type UdpGsoBatchWriterFactoryMultiError

type UdpGsoBatchWriterFactoryMultiError []error

UdpGsoBatchWriterFactoryMultiError is an error wrapping multiple validation errors returned by UdpGsoBatchWriterFactory.ValidateAll() if the designated constraints aren't met.

func (UdpGsoBatchWriterFactoryMultiError) AllErrors

func (m UdpGsoBatchWriterFactoryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UdpGsoBatchWriterFactoryMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UdpGsoBatchWriterFactoryValidationError

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

UdpGsoBatchWriterFactoryValidationError is the validation error returned by UdpGsoBatchWriterFactory.Validate if the designated constraints aren't met.

func (UdpGsoBatchWriterFactoryValidationError) Cause

Cause function returns cause value.

func (UdpGsoBatchWriterFactoryValidationError) Error

Error satisfies the builtin error interface

func (UdpGsoBatchWriterFactoryValidationError) ErrorName

ErrorName returns error name.

func (UdpGsoBatchWriterFactoryValidationError) Field

Field function returns field value.

func (UdpGsoBatchWriterFactoryValidationError) Key

Key function returns key value.

func (UdpGsoBatchWriterFactoryValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL