Documentation
¶
Index ¶
- Variables
- type RoundRobin
- func (x *RoundRobin) ClearLocalityLbConfig()
- func (x *RoundRobin) ClearSlowStartConfig()
- func (x *RoundRobin) GetLocalityLbConfig() *v3.LocalityLbConfig
- func (x *RoundRobin) GetSlowStartConfig() *v3.SlowStartConfig
- func (x *RoundRobin) HasLocalityLbConfig() bool
- func (x *RoundRobin) HasSlowStartConfig() bool
- func (*RoundRobin) ProtoMessage()
- func (x *RoundRobin) ProtoReflect() protoreflect.Message
- func (x *RoundRobin) Reset()
- func (x *RoundRobin) SetLocalityLbConfig(v *v3.LocalityLbConfig)
- func (x *RoundRobin) SetSlowStartConfig(v *v3.SlowStartConfig)
- func (x *RoundRobin) String() string
- type RoundRobin_builder
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) ClearLocalityLbConfig ¶
func (x *RoundRobin) ClearLocalityLbConfig()
func (*RoundRobin) ClearSlowStartConfig ¶
func (x *RoundRobin) ClearSlowStartConfig()
func (*RoundRobin) GetLocalityLbConfig ¶
func (x *RoundRobin) GetLocalityLbConfig() *v3.LocalityLbConfig
func (*RoundRobin) GetSlowStartConfig ¶
func (x *RoundRobin) GetSlowStartConfig() *v3.SlowStartConfig
func (*RoundRobin) HasLocalityLbConfig ¶
func (x *RoundRobin) HasLocalityLbConfig() bool
func (*RoundRobin) HasSlowStartConfig ¶
func (x *RoundRobin) HasSlowStartConfig() bool
func (*RoundRobin) ProtoMessage ¶
func (*RoundRobin) ProtoMessage()
func (*RoundRobin) ProtoReflect ¶
func (x *RoundRobin) ProtoReflect() protoreflect.Message
func (*RoundRobin) Reset ¶
func (x *RoundRobin) Reset()
func (*RoundRobin) SetLocalityLbConfig ¶
func (x *RoundRobin) SetLocalityLbConfig(v *v3.LocalityLbConfig)
func (*RoundRobin) SetSlowStartConfig ¶
func (x *RoundRobin) SetSlowStartConfig(v *v3.SlowStartConfig)
func (*RoundRobin) String ¶
func (x *RoundRobin) String() string
type RoundRobin_builder ¶
type RoundRobin_builder struct {
// Configuration for slow start mode.
// If this configuration is not set, slow start will not be not enabled.
SlowStartConfig *v3.SlowStartConfig
// Configuration for local zone aware load balancing or locality weighted load balancing.
LocalityLbConfig *v3.LocalityLbConfig
// contains filtered or unexported fields
}
func (RoundRobin_builder) Build ¶
func (b0 RoundRobin_builder) Build() *RoundRobin
Source Files
¶
- round_robin.pb.go
Click to show internal directories.
Click to hide internal directories.