Documentation ¶
Index ¶
Constants ¶
View Source
const ( //InboundRouteConfig is the name of the route config that the envoy will identify InboundRouteConfig = "RDS_Inbound" //OutboundRouteConfig is the name of the route config that the envoy will identify OutboundRouteConfig = "RDS_Outbound" // MethodHeaderKey is the key of the header for HTTP methods MethodHeaderKey = ":method" )
Variables ¶
This section is empty.
Functions ¶
func AddOutboundPassthroughRoute ¶
func AddOutboundPassthroughRoute(routeConfig *v2.RouteConfiguration)
AddOutboundPassthroughRoute adds an outbound passthrough route to the specified route configuration
func NewRouteConfigurationStub ¶
func NewRouteConfigurationStub(routeConfigName string) *v2.RouteConfiguration
NewRouteConfigurationStub creates the route configuration placeholder
func UpdateRouteConfiguration ¶
func UpdateRouteConfiguration(domainRoutesMap map[string]map[string]trafficpolicy.RouteWeightedClusters, routeConfig *v2.RouteConfiguration, isSourceConfig bool, isDestinationConfig bool)
UpdateRouteConfiguration consrtucts the Envoy construct necessary for TrafficTarget implementation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.