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 )
Click to show internal directories.
Click to hide internal directories.