grpc: Index | Files

package clustermanager

import ""

Package clustermanager implements the cluster manager LB policy for xds.


Package Files

balancerstateaggregator.go clustermanager.go config.go picker.go

func GetPickedClusterForTesting Uses

func GetPickedClusterForTesting(ctx context.Context) string

GetPickedClusterForTesting returns the cluster in the context; to be used for testing only.

func SetPickedCluster Uses

func SetPickedCluster(ctx context.Context, cluster string) context.Context

SetPickedCluster adds the selected cluster to the context for the xds_cluster_manager LB policy to pick.

Package clustermanager imports 16 packages (graph) and is imported by 4 packages. Updated 2020-12-16. Refresh now. Tools for package owners.