package grpctransport
import "google.golang.org/grpc/xds/internal/clients/grpctransport"
Package grpctransport provides an implementation of the clients.TransportBuilder interface using gRPC.
Index ¶
Types ¶
type Builder ¶
type Builder struct{}
Builder creates gRPC-based Transports. It must be paired with ServerIdentifiers that contain an Extension field of type ServerIdentifierExtension.
func (*Builder) Build ¶
Build returns a gRPC-based clients.Transport.
The Extension field of the ServerIdentifier must be a ServerIdentifierExtension.
type ServerIdentifierExtension ¶
type ServerIdentifierExtension struct { // Credentials will be used for all gRPC transports. If it is unset, // transport creation will fail. Credentials credentials.Bundle }
ServerIdentifierExtension holds settings for connecting to a gRPC server, such as an xDS management or an LRS server.
Source Files ¶
grpc_transport.go
- Version
- v1.72.0 (latest)
- Published
- Apr 21, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 hour ago –
Tools for package owners.