setup

package
v1.67.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL