debug

package
v1.17.0-beta30 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EdgeGatewaySourceName = "edge-gw"
	K8sGatewaySourceName  = "k8s-gw"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyEndpointServer

type ProxyEndpointServer interface {
	// ProxyEndpointServiceServer exposes the user-facing API to request proxies
	debug.ProxyEndpointServiceServer

	// Register is used by the ControlPlane to register this service with a particular grpc.Server
	Register(grpcServer *grpc.Server)

	// RegisterProxyReader registers a given ProxyReader for a particular source
	// This is used by the ControlPlane to register the readers that will provide access to the proxies
	RegisterProxyReader(source ProxySource, client v1.ProxyReader)
}

ProxyEndpointServer responds to requests for Proxies, and returns them The server relies on ProxyReaders being registered with the server

func NewProxyEndpointServer

func NewProxyEndpointServer() ProxyEndpointServer

NewProxyEndpointServer returns an implementation of the ProxyEndpointServer

type ProxySource

type ProxySource int

ProxySource represents the type of translator that produced the Proxy resource

const (
	EdgeGatewayTranslation ProxySource = iota // Proxies that are generated by the Edge Gateway controller
	K8sGatewayTranslation                     // Proxies that are generated by the K8s Gateway controller
)

Jump to

Keyboard shortcuts

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