apigateway

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func FromKubeServices

func FromKubeServices(services []*corev1.Service) []types.Resource

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

The service must have the following annotations: xds.chinthagunta.io/api-gateway: Comma-separated list of API Gateway virtual servers. Only alphanumeric characters and dash allowed xds.chinthagunta.io/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