Documentation ¶
Index ¶
- Variables
- type RoundRobin
- func (*RoundRobin) Descriptor() ([]byte, []int)deprecated
- func (x *RoundRobin) GetSlowStartConfig() *v3.Cluster_SlowStartConfig
- func (*RoundRobin) ProtoMessage()
- func (x *RoundRobin) ProtoReflect() protoreflect.Message
- func (x *RoundRobin) Reset()
- func (x *RoundRobin) String() string
- func (m *RoundRobin) Validate() error
- func (m *RoundRobin) ValidateAll() error
- type RoundRobinMultiError
- type RoundRobinValidationError
Constants ¶
This section is empty.
Variables ¶
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.Cluster_SlowStartConfig `protobuf:"bytes,1,opt,name=slow_start_config,json=slowStartConfig,proto3" json:"slow_start_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. [#extension: envoy.clusters.lb_policy]
func (*RoundRobin) Descriptor
deprecated
func (*RoundRobin) Descriptor() ([]byte, []int)
Deprecated: Use RoundRobin.ProtoReflect.Descriptor instead.
func (*RoundRobin) GetSlowStartConfig ¶
func (x *RoundRobin) GetSlowStartConfig() *v3.Cluster_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 ¶
func (e RoundRobinValidationError) Error() string
Error satisfies the builtin error interface
func (RoundRobinValidationError) ErrorName ¶
func (e RoundRobinValidationError) ErrorName() string
ErrorName returns error name.
func (RoundRobinValidationError) Field ¶
func (e RoundRobinValidationError) Field() string
Field function returns field value.
func (RoundRobinValidationError) Key ¶
func (e RoundRobinValidationError) Key() bool
Key function returns key value.
func (RoundRobinValidationError) Reason ¶
func (e RoundRobinValidationError) Reason() string
Reason function returns reason value.