Documentation ¶
Index ¶
- Variables
- type WrrLocality
- func (*WrrLocality) Descriptor() ([]byte, []int)deprecated
- func (x *WrrLocality) GetEndpointPickingPolicy() *v3.LoadBalancingPolicy
- func (*WrrLocality) ProtoMessage()
- func (x *WrrLocality) ProtoReflect() protoreflect.Message
- func (x *WrrLocality) Reset()
- func (x *WrrLocality) String() string
- func (m *WrrLocality) Validate() error
- func (m *WrrLocality) ValidateAll() error
- type WrrLocalityMultiError
- type WrrLocalityValidationError
- func (e WrrLocalityValidationError) Cause() error
- func (e WrrLocalityValidationError) Error() string
- func (e WrrLocalityValidationError) ErrorName() string
- func (e WrrLocalityValidationError) Field() string
- func (e WrrLocalityValidationError) Key() bool
- func (e WrrLocalityValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_load_balancing_policies_wrr_locality_v3_wrr_locality_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type WrrLocality ¶
type WrrLocality struct { // The child LB policy to create for endpoint-picking within the chosen locality. EndpointPickingPolicy *v3.LoadBalancingPolicy `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for the wrr_locality LB policy. See the :ref:`load balancing architecture overview <arch_overview_load_balancing_types>` for more information.
func (*WrrLocality) Descriptor
deprecated
func (*WrrLocality) Descriptor() ([]byte, []int)
Deprecated: Use WrrLocality.ProtoReflect.Descriptor instead.
func (*WrrLocality) GetEndpointPickingPolicy ¶
func (x *WrrLocality) GetEndpointPickingPolicy() *v3.LoadBalancingPolicy
func (*WrrLocality) ProtoMessage ¶
func (*WrrLocality) ProtoMessage()
func (*WrrLocality) ProtoReflect ¶
func (x *WrrLocality) ProtoReflect() protoreflect.Message
func (*WrrLocality) Reset ¶
func (x *WrrLocality) Reset()
func (*WrrLocality) String ¶
func (x *WrrLocality) String() string
func (*WrrLocality) Validate ¶
func (m *WrrLocality) Validate() error
Validate checks the field values on WrrLocality 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 (*WrrLocality) ValidateAll ¶
func (m *WrrLocality) ValidateAll() error
ValidateAll checks the field values on WrrLocality 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 WrrLocalityMultiError, or nil if none found.
type WrrLocalityMultiError ¶
type WrrLocalityMultiError []error
WrrLocalityMultiError is an error wrapping multiple validation errors returned by WrrLocality.ValidateAll() if the designated constraints aren't met.
func (WrrLocalityMultiError) AllErrors ¶
func (m WrrLocalityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WrrLocalityMultiError) Error ¶
func (m WrrLocalityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WrrLocalityValidationError ¶
type WrrLocalityValidationError struct {
// contains filtered or unexported fields
}
WrrLocalityValidationError is the validation error returned by WrrLocality.Validate if the designated constraints aren't met.
func (WrrLocalityValidationError) Cause ¶
func (e WrrLocalityValidationError) Cause() error
Cause function returns cause value.
func (WrrLocalityValidationError) Error ¶
func (e WrrLocalityValidationError) Error() string
Error satisfies the builtin error interface
func (WrrLocalityValidationError) ErrorName ¶
func (e WrrLocalityValidationError) ErrorName() string
ErrorName returns error name.
func (WrrLocalityValidationError) Field ¶
func (e WrrLocalityValidationError) Field() string
Field function returns field value.
func (WrrLocalityValidationError) Key ¶
func (e WrrLocalityValidationError) Key() bool
Key function returns key value.
func (WrrLocalityValidationError) Reason ¶
func (e WrrLocalityValidationError) Reason() string
Reason function returns reason value.