lrs

package
v1.39.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package lrs implements load reporting balancer for xds.

Index

Constants

View Source
const Name = "lrs_experimental"

Name is the name of the LRS balancer.

Variables

This section is empty.

Functions

This section is empty.

Types

type LBConfig added in v1.38.0

type LBConfig struct {
	serviceconfig.LoadBalancingConfig `json:"-"`

	ClusterName             string                                `json:"clusterName,omitempty"`
	EDSServiceName          string                                `json:"edsServiceName,omitempty"`
	LoadReportingServerName string                                `json:"lrsLoadReportingServerName,omitempty"`
	Locality                *internal.LocalityID                  `json:"locality,omitempty"`
	ChildPolicy             *internalserviceconfig.BalancerConfig `json:"childPolicy,omitempty"`
}

LBConfig is the balancer config for lrs balancer.

Jump to

Keyboard shortcuts

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