package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Packages

Package load provides functionality to record and maintain load data.
No description provided by the author
Package transport defines the interface that describe the functionality required to communicate with an xDS server using streaming calls.
Package xdslbregistry provides a registry of converters that convert proto from load balancing configuration, defined by the xDS API spec, to JSON load balancing configuration.
Package xdsresource implements the xDS data model layer.

# Functions

ClearAllCountersForTesting clears all the counters.
ClearCounterForTesting clears the counter for the service.
DumpResources returns the status and contents of all xDS resources.
FromResolverState returns the Client from state, or nil if not present.
GetClusterRequestsCounter returns the ClusterRequestsCounter with the provided serviceName.
NewPool creates a new xDS client pool with the given bootstrap config.
SetClient sets c in state and returns the new state.

# Constants

NameForServer represents the value to be passed as name when creating an xDS client from xDS-enabled gRPC servers.

# Variables

DefaultPool is the default pool for xDS clients.
ErrClientClosed is returned when the xDS client is closed.

# Structs

ClusterRequestsCounter is used to track the total inflight requests for a service with the provided name.
OptionsForTesting contains options to configure xDS client creation for testing purposes only.
Pool represents a pool of xDS clients that share the same bootstrap configuration.

# Interfaces

XDSClient is a full fledged gRPC client which queries a set of discovery APIs (collectively termed as xDS) on a remote management server, to discover various dynamic resources.