Documentation
¶
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 NewRouteConfigurationStub ¶
func NewRouteConfigurationStub(routeConfigName string) *xds_route.RouteConfiguration
NewRouteConfigurationStub creates the route configuration placeholder
func UpdateRouteConfiguration ¶
func UpdateRouteConfiguration(domainRoutesMap map[string]map[string]trafficpolicy.RouteWeightedClusters, routeConfig *xds_route.RouteConfiguration, direction Direction)
UpdateRouteConfiguration consrtucts the Envoy construct necessary for TrafficTarget implementation
Types ¶
Click to show internal directories.
Click to hide internal directories.