Documentation ¶
Overview ¶
Package xds contains xds implementation. Users need to import this package to get all xds functionality.
See https://github.com/grpc/grpc-go/tree/master/examples/features/xds for example.
Directories ¶
Path | Synopsis |
---|---|
Package internal contains functions/structs shared by xds balancers/resolvers.
|
Package internal contains functions/structs shared by xds balancers/resolvers. |
balancer
Package balancer installs all the xds balancers.
|
Package balancer installs all the xds balancers. |
balancer/balancergroup
Package balancergroup implements a utility struct to bind multiple balancers into one balancer.
|
Package balancergroup implements a utility struct to bind multiple balancers into one balancer. |
balancer/cdsbalancer
Package cdsbalancer implements a balancer to handle CDS responses.
|
Package cdsbalancer implements a balancer to handle CDS responses. |
balancer/edsbalancer
Package edsbalancer contains EDS balancer implementation.
|
Package edsbalancer contains EDS balancer implementation. |
balancer/lrs
Package lrs implements load reporting balancer for xds.
|
Package lrs implements load reporting balancer for xds. |
balancer/orca
Package orca implements Open Request Cost Aggregation.
|
Package orca implements Open Request Cost Aggregation. |
balancer/weightedtarget
Package weightedtarget implements the weighted_target balancer.
|
Package weightedtarget implements the weighted_target balancer. |
balancer/weightedtarget/weightedaggregator
Package weightedaggregator implements state aggregator for weighted_target balancer.
|
Package weightedaggregator implements state aggregator for weighted_target balancer. |
balancer/xdsrouting
Package xdsrouting implements the routing balancer for xds.
|
Package xdsrouting implements the routing balancer for xds. |
client
Package client implementation a full fledged gRPC client for the xDS API used by the xds resolver and balancer implementations.
|
Package client implementation a full fledged gRPC client for the xDS API used by the xds resolver and balancer implementations. |
client/bootstrap
Package bootstrap provides the functionality to initialize certain aspects of an xDS client by reading a bootstrap file.
|
Package bootstrap provides the functionality to initialize certain aspects of an xDS client by reading a bootstrap file. |
client/load
Package load provides functionality to record and maintain load data.
|
Package load provides functionality to record and maintain load data. |
client/v2
Package v2 provides xDS v2 transport protocol specific functionality.
|
Package v2 provides xDS v2 transport protocol specific functionality. |
client/v3
Package v3 provides xDS v3 transport protocol specific functionality.
|
Package v3 provides xDS v3 transport protocol specific functionality. |
resolver
Package resolver implements the xds resolver, that does LDS and RDS to find the cluster to use.
|
Package resolver implements the xds resolver, that does LDS and RDS to find the cluster to use. |
testutils
Package testutils provides utility types, for use in xds tests.
|
Package testutils provides utility types, for use in xds tests. |
testutils/fakeclient
Package fakeclient provides a fake implementation of an xDS client.
|
Package fakeclient provides a fake implementation of an xDS client. |
testutils/fakeserver
Package fakeserver provides a fake implementation of an xDS server.
|
Package fakeserver provides a fake implementation of an xDS server. |
version
Package version defines constants to distinguish between supported xDS API versions.
|
Package version defines constants to distinguish between supported xDS API versions. |
Click to show internal directories.
Click to hide internal directories.