rds

package
v0.0.0-...-5fbf753 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRouteConfigurationForAPIListener

func CreateRouteConfigurationForAPIListener(name string, virtualHostName string, routePrefix string, clusterName string) *routev3.RouteConfiguration

CreateRouteConfigurationForAPIListener returns an RDS route configuration for a gRPC client with one virtual host and one route for that virtual host.

The virtual host Name is not used for routing. The request `:authority` must match one of the virtual host Domains. Te routePrefix parameter can be an empty string.

func CreateRouteConfigurationForEnvoyGRPCListener

func CreateRouteConfigurationForEnvoyGRPCListener(clusterNames []string) (*routev3.RouteConfiguration, error)

CreateRouteConfigurationForEnvoyGRPCListener returns an RDS route configuration for an Envoy proxy Listener that listens for gRPC requests.

func CreateRouteConfigurationForGRPCServerListener

func CreateRouteConfigurationForGRPCServerListener(enableRBAC bool) (*routev3.RouteConfiguration, error)

CreateRouteConfigurationForGRPCServerListener returns an RDS route configuration for a gRPC server Listener.

Types

This section is empty.

Jump to

Keyboard shortcuts

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