package internal
import "google.golang.org/grpc/balancer/xds/internal"
Index ¶
Variables ¶
var ( // GrpcHostname is the metadata key for specifying the grpc service name when sending xDS requests // from grpc to the traffic director. GrpcHostname = "TRAFFICDIRECTOR_GRPC_HOSTNAME" )
Types ¶
type Locality ¶
Locality is xds.Locality without XXX fields, so it can be used as map keys.
xds.Locality cannot be map keys because one of the XXX fields is a slice.
This struct should only be used as map keys. Use the proto message directly in all other places.
func (Locality) String ¶
func (Locality) ToProto ¶
ToProto convert Locality to the proto representation.
Source Files ¶
const.go internal.go
Directories ¶
- Version
- v1.22.3
- Published
- Sep 11, 2019
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 4 minutes ago –
Tools for package owners.