Documentation ¶
Index ¶
- func CreateRouteConfigurationForAPIListener(name string, virtualHostName string, routePrefix string, clusterName string) *routev3.RouteConfiguration
- func CreateRouteConfigurationForEnvoyGRPCListener(clusterNames []string) (*routev3.RouteConfiguration, error)
- func CreateRouteConfigurationForGRPCServerListener(enableRBAC bool) (*routev3.RouteConfiguration, error)
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.
Click to show internal directories.
Click to hide internal directories.