Documentation ¶
Overview ¶
Package setup implements setup helpers for xDS e2e tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManagementServerAndResolver ¶
func ManagementServerAndResolver(t *testing.T) (*e2e.ManagementServer, string, []byte, resolver.Builder)
ManagementServerAndResolver sets up an xDS management server, creates bootstrap configuration pointing to that server and creates an xDS resolver using that configuration.
Registers a cleanup function on t to stop the management server.
Returns the following: - the xDS management server - the node ID to use when talking to this management server - bootstrap configuration to use (if creating an xDS-enabled gRPC server) - xDS resolver builder (if creating an xDS-enabled gRPC client)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.