extensionserver

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExtProcUDSClusterName = "ai-gateway-extproc-uds"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	egextension.UnimplementedEnvoyGatewayExtensionServer
	// contains filtered or unexported fields
}

Server is the implementation of the EnvoyGatewayExtensionServer interface.

func New

func New(k8sClient client.Client, logger logr.Logger, udsPath string) *Server

New creates a new instance of the extension server that implements the EnvoyGatewayExtensionServer interface.

func (*Server) List added in v0.2.0

List implements grpc_health_v1.HealthServer.

func (*Server) PostTranslateModify added in v0.2.0

PostTranslateModify allows an extension to modify the clusters and secrets in the xDS config.

Currently, this adds an ORIGINAL_DST cluster to the list of clusters unconditionally.

func (*Server) PostVirtualHostModify added in v0.2.0

PostVirtualHostModify allows an extension to modify the virtual hosts in the xDS config.

Jump to

Keyboard shortcuts

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