v3alpha

package
v0.0.0-...-c499cad Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_contrib_envoy_extensions_network_connection_balance_dlb_v3alpha_dlb_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Dlb

type Dlb struct {

	// The ID of the Dlb hardware, start from 0.
	// If not specified, use the first available device as default.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

The Dlb is a hardware managed system of queues and arbiters connecting producers and consumers. It is a PCIE device in the CPU package. It interacts with software running on cores and potentially other devices. The Dlb implements the following balancing features:

- Lock-free multi-producer/multi-consumer operation. - Multiple priorities for varying traffic types. - Various distribution schemes.

Dlb connection balancer uses Dlb hardware to balance connections, and can significantly reduce latency.

As the Dlb connection balancer provides assistance from dedicated Dlb hardware, it can be used for a proxy with a large number of connections (e.g., a gateway).

func (*Dlb) Descriptor deprecated

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

Deprecated: Use Dlb.ProtoReflect.Descriptor instead.

func (*Dlb) GetId

func (x *Dlb) GetId() uint32

func (*Dlb) ProtoMessage

func (*Dlb) ProtoMessage()

func (*Dlb) ProtoReflect

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

func (*Dlb) Reset

func (x *Dlb) Reset()

func (*Dlb) String

func (x *Dlb) String() string

func (*Dlb) Validate

func (m *Dlb) Validate() error

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

func (m *Dlb) ValidateAll() error

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

type DlbMultiError

type DlbMultiError []error

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

func (DlbMultiError) AllErrors

func (m DlbMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DlbMultiError) Error

func (m DlbMultiError) Error() string

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

type DlbValidationError

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

DlbValidationError is the validation error returned by Dlb.Validate if the designated constraints aren't met.

func (DlbValidationError) Cause

func (e DlbValidationError) Cause() error

Cause function returns cause value.

func (DlbValidationError) Error

func (e DlbValidationError) Error() string

Error satisfies the builtin error interface

func (DlbValidationError) ErrorName

func (e DlbValidationError) ErrorName() string

ErrorName returns error name.

func (DlbValidationError) Field

func (e DlbValidationError) Field() string

Field function returns field value.

func (DlbValidationError) Key

func (e DlbValidationError) Key() bool

Key function returns key value.

func (DlbValidationError) Reason

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