Documentation ¶
Overview ¶
Package route implements utility routines to build HTTP route configurations for Envoy proxies.
Index ¶
Constants ¶
View Source
const ( //InboundRouteConfigName is the name of the route config that the envoy will identify InboundRouteConfigName = "RDS_Inbound" //OutboundRouteConfigName is the name of the route config that the envoy will identify OutboundRouteConfigName = "RDS_Outbound" // MethodHeaderKey is the key of the header for HTTP methods MethodHeaderKey = ":method" )
Variables ¶
This section is empty.
Functions ¶
func BuildRouteConfiguration ¶ added in v0.7.0
func BuildRouteConfiguration(inbound []*trafficpolicy.InboundTrafficPolicy, outbound []*trafficpolicy.OutboundTrafficPolicy, proxy *envoy.Proxy) []*xds_route.RouteConfiguration
BuildRouteConfiguration constructs the Envoy constructs ([]*xds_route.RouteConfiguration) for implementing inbound and outbound routes
func NewRouteConfigurationStub ¶
func NewRouteConfigurationStub(routeConfigName string) *xds_route.RouteConfiguration
NewRouteConfigurationStub creates the route configuration placeholder
Types ¶
Click to show internal directories.
Click to hide internal directories.