route

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

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