test-control-plane

command module
v0.0.0-...-14ff198 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0, BSD-3-Clause, MPL-2.0 Imports: 18 Imported by: 0

README

A simple xDS control panel implementation for tests

Overview

An xDS control panel implementation that provides special gRPC API for tests that require a fine-grained control over the control plane behavior.

Building

Docker requires that all the files are under the build root and this project depends on protos/grpc/testing/xdsconfig, the build needs to be ran from the root of grpc/psm-interop checkout.

docker build . -f docker/test-control-plane/Dockerfile \
  -t us-docker.pkg.dev/grpc-testing/psm-interop/test-control-plane:latest

Currently the server build is not automated so it has to be pushed manually:

docker push us-docker.pkg.dev/grpc-testing/psm-interop/test-control-plane:latest

Local development

Run the following command from this repository to generate code from the .proto files:

protoc -I=. --go_out=docker/test-control-plane \
  protos/grpc/testing/xdsconfig/*.proto \
  --go-grpc_out=docker/test-control-plane/

Documentation

Overview

The fallback_control_plane executable is an xDS control plane for testing purposes. This control plane serves xDS traffic and exposes an API for test scripts to perform fine-grained configuration or trigger specific control plane behaviors.

Jump to

Keyboard shortcuts

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