Documentation ¶
Overview ¶
Package test contains test utilities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAccessLogServer ¶
RunAccessLogServer starts an accesslog server.
func RunManagementGateway ¶
RunManagementGateway starts an HTTP gateway to an xDS server.
Types ¶
type HTTPGateway ¶
type HTTPGateway struct { // Log is an optional log for errors in response write Log gcplogger.Logger Gateway server.HTTPGateway }
HTTPGateway is a custom implementation of [gRPC gateway](https://github.com/grpc-ecosystem/grpc-gateway) specialized to Envoy xDS API.
func (*HTTPGateway) ServeHTTP ¶
func (h *HTTPGateway) ServeHTTP(resp http.ResponseWriter, req *http.Request)
Directories ¶
Path | Synopsis |
---|---|
Package main contains the test driver for testing xDS manually.
|
Package main contains the test driver for testing xDS manually. |
resource
|
|
v3
Package resource creates test xDS resources
|
Package resource creates test xDS resources |
Package test contains test utilities
|
Package test contains test utilities |
Click to show internal directories.
Click to hide internal directories.