package internal
import "google.golang.org/grpc/xds/internal/clients/internal"
Package internal contains helpers for xDS and LRS clients.
Index ¶
- func NodeProto(n clients.Node) *v3corepb.Node
- func ServerIdentifierString(si clients.ServerIdentifier) string
Functions ¶
func NodeProto ¶
NodeProto returns a protobuf representation of clients.Node n.
This function is intended to be used by the client implementation to convert the user-provided Node configuration to its protobuf representation.
func ServerIdentifierString ¶
func ServerIdentifierString(si clients.ServerIdentifier) string
ServerIdentifierString returns a string representation of the clients.ServerIdentifier si.
WARNING: This method is primarily intended for logging and testing purposes. The output returned by this method is not guaranteed to be stable and may change at any time. Do not rely on it for production use.
Source Files ¶
internal.go
Directories ¶
Path | Synopsis |
---|---|
xds/internal/clients/internal/backoff | Package backoff implements the backoff strategy for clients. |
xds/internal/clients/internal/buffer | Package buffer provides an implementation of an unbounded buffer. |
xds/internal/clients/internal/pretty | Package pretty defines helper functions to pretty-print structs for logging. |
xds/internal/clients/internal/syncutil | Package syncutil implements additional synchronization primitives built upon the sync package. |
xds/internal/clients/internal/testutils | Package testutils contains testing helpers for xDS and LRS clients. |
xds/internal/clients/internal/testutils/e2e | Package e2e provides utilities for end2end testing of xDS and LRS clients functionalities. |
xds/internal/clients/internal/testutils/fakeserver | Package fakeserver provides a fake implementation of the management server. |
- Version
- v1.73.0-dev
- Published
- Apr 3, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 4 hours ago –
Tools for package owners.