package round_robinv3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/load_balancing_policies/round_robin/v3"

Index

Variables

var File_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto protoreflect.FileDescriptor

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

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

Deprecated: Use RoundRobin.ProtoReflect.Descriptor instead.

func (*RoundRobin) GetLocalityLbConfig

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.

Source Files

round_robin.pb.go round_robin.pb.validate.go

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

Tools for package owners.