Documentation
¶
Index ¶
- Constants
- type Server
- func (s *Server) Check(context.Context, *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
- func (s *Server) List(context.Context, *grpc_health_v1.HealthListRequest) (*grpc_health_v1.HealthListResponse, error)
- func (s *Server) PostTranslateModify(_ context.Context, req *egextension.PostTranslateModifyRequest) (*egextension.PostTranslateModifyResponse, error)
- func (s *Server) PostVirtualHostModify(context.Context, *egextension.PostVirtualHostModifyRequest) (*egextension.PostVirtualHostModifyResponse, error)
- func (s *Server) Watch(*grpc_health_v1.HealthCheckRequest, grpc_health_v1.Health_WatchServer) error
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 ¶
New creates a new instance of the extension server that implements the EnvoyGatewayExtensionServer interface.
func (*Server) Check ¶
func (s *Server) Check(context.Context, *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Check implements grpc_health_v1.HealthServer.
func (*Server) List ¶ added in v0.2.0
func (s *Server) List(context.Context, *grpc_health_v1.HealthListRequest) (*grpc_health_v1.HealthListResponse, error)
List implements grpc_health_v1.HealthServer.
func (*Server) PostTranslateModify ¶ added in v0.2.0
func (s *Server) PostTranslateModify(_ context.Context, req *egextension.PostTranslateModifyRequest) (*egextension.PostTranslateModifyResponse, error)
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
func (s *Server) PostVirtualHostModify(context.Context, *egextension.PostVirtualHostModifyRequest) (*egextension.PostVirtualHostModifyResponse, error)
PostVirtualHostModify allows an extension to modify the virtual hosts in the xDS config.
func (*Server) Watch ¶
func (s *Server) Watch(*grpc_health_v1.HealthCheckRequest, grpc_health_v1.Health_WatchServer) error
Watch implements grpc_health_v1.HealthServer.
Click to show internal directories.
Click to hide internal directories.