round_robinv3

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 18 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type RoundRobin

type RoundRobin struct {

	// Configuration for slow start mode.
	// If this configuration is not set, slow start will not be not enabled.
	SlowStartConfig *v3.SlowStartConfig `protobuf:"bytes,1,opt,name=slow_start_config,json=slowStartConfig,proto3" json:"slow_start_config,omitempty"`
	// Configuration for local zone aware load balancing or locality weighted load balancing.
	LocalityLbConfig *v3.LocalityLbConfig `protobuf:"bytes,2,opt,name=locality_lb_config,json=localityLbConfig,proto3" json:"locality_lb_config,omitempty"`
	// contains filtered or unexported fields
}

This configuration allows the built-in ROUND_ROBIN LB policy to be configured via the LB policy extension point. See the :ref:`load balancing architecture overview <arch_overview_load_balancing_types>` for more information.

func (*RoundRobin) Descriptor deprecated

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

Deprecated: Use RoundRobin.ProtoReflect.Descriptor instead.

func (*RoundRobin) GetLocalityLbConfig added in v0.11.0

func (x *RoundRobin) GetLocalityLbConfig() *v3.LocalityLbConfig

func (*RoundRobin) GetSlowStartConfig

func (x *RoundRobin) GetSlowStartConfig() *v3.SlowStartConfig

func (*RoundRobin) ProtoMessage

func (*RoundRobin) ProtoMessage()

func (*RoundRobin) ProtoReflect

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

func (*RoundRobin) Reset

func (x *RoundRobin) Reset()

func (*RoundRobin) String

func (x *RoundRobin) String() string

func (*RoundRobin) Validate

func (m *RoundRobin) Validate() error

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

func (m *RoundRobin) ValidateAll() error

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

type RoundRobinMultiError

type RoundRobinMultiError []error

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

func (RoundRobinMultiError) AllErrors

func (m RoundRobinMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoundRobinMultiError) Error

func (m RoundRobinMultiError) Error() string

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

type RoundRobinValidationError

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

RoundRobinValidationError is the validation error returned by RoundRobin.Validate if the designated constraints aren't met.

func (RoundRobinValidationError) Cause

func (e RoundRobinValidationError) Cause() error

Cause function returns cause value.

func (RoundRobinValidationError) Error

Error satisfies the builtin error interface

func (RoundRobinValidationError) ErrorName

func (e RoundRobinValidationError) ErrorName() string

ErrorName returns error name.

func (RoundRobinValidationError) Field

Field function returns field value.

func (RoundRobinValidationError) Key

Key function returns key value.

func (RoundRobinValidationError) Reason

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