package xds
import "google.golang.org/grpc/internal/xds"
Package xds contains methods to Get/Set handshake cluster names. It is separated out from the top level /internal package to avoid circular dependencies.
Index ¶
- func GetXDSHandshakeClusterName(attr *attributes.Attributes) (string, bool)
- func SetXDSHandshakeClusterName(addr resolver.Address, clusterName string) resolver.Address
Functions ¶
func GetXDSHandshakeClusterName ¶
func GetXDSHandshakeClusterName(attr *attributes.Attributes) (string, bool)
GetXDSHandshakeClusterName returns cluster name stored in attr.
func SetXDSHandshakeClusterName ¶
SetXDSHandshakeClusterName returns a copy of addr in which the Attributes field is updated with the cluster name.
Source Files ¶
xds.go
Directories ¶
Path | Synopsis |
---|---|
internal/xds/bootstrap | Package bootstrap provides the functionality to initialize certain aspects of an xDS client by reading a bootstrap file. |
internal/xds/bootstrap/tlscreds | Package tlscreds implements mTLS Credentials in xDS Bootstrap File. |
internal/xds/matcher | Package matcher contains types that need to be shared between code under google.golang.org/grpc/xds/... |
internal/xds/rbac | Package rbac provides service-level and method-level access control for a service. |
- Version
- v1.70.0 (latest)
- Published
- Jan 23, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 minute ago –
Tools for package owners.