clustermanager

package
v3.0.4-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Overview

Package clustermanager implements the cluster manager LB policy for xds.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPickedClusterForTesting

func GetPickedClusterForTesting(ctx context.Context) string

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

func SetPickedCluster

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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