randomv3

package
v1.36.4-20240401130550... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_load_balancing_policies_random_v3_random_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Random

type Random struct {

	// Configuration for local zone aware load balancing or locality weighted load balancing.
	LocalityLbConfig *v3.LocalityLbConfig `protobuf:"bytes,1,opt,name=locality_lb_config,json=localityLbConfig,proto3" json:"locality_lb_config,omitempty"`
	// contains filtered or unexported fields
}

This configuration allows the built-in Random 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 (*Random) ClearLocalityLbConfig

func (x *Random) ClearLocalityLbConfig()

func (*Random) GetLocalityLbConfig

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

func (*Random) HasLocalityLbConfig

func (x *Random) HasLocalityLbConfig() bool

func (*Random) ProtoMessage

func (*Random) ProtoMessage()

func (*Random) ProtoReflect

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

func (*Random) Reset

func (x *Random) Reset()

func (*Random) SetLocalityLbConfig

func (x *Random) SetLocalityLbConfig(v *v3.LocalityLbConfig)

func (*Random) String

func (x *Random) String() string

type Random_builder

type Random_builder struct {

	// Configuration for local zone aware load balancing or locality weighted load balancing.
	LocalityLbConfig *v3.LocalityLbConfig
	// contains filtered or unexported fields
}

func (Random_builder) Build

func (b0 Random_builder) Build() *Random

Jump to

Keyboard shortcuts

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