apigateway

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const NameAnnotation = "xds.lmwn.com/api-gateway"
View Source
const PortName = "grpc"
View Source
const ServiceAnnotation = "xds.lmwn.com/grpc-service"

Variables

This section is empty.

Functions

func FromKubeServices

func FromKubeServices(services []*v1.Service) ([]types.Resource, map[string]int)

FromKubeServices generate - Listener for each API Gateway (xds:///api-gateway-name) - RouteConfiguration for those listeners

The service must have the following annotations: xds.lmwn.com/api-gateway: Comma-separated list of API Gateway virtual servers. Only alphanumeric characters and dash allowed xds.lmwn.com/grpc-service: Comma-separated list of gRPC fully qualified service name (pkg.name.ServiceName) and the service must have a port named "grpc"f

Types

This section is empty.

Jump to

Keyboard shortcuts

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