package
0.0.0-20200226065818-fe632b36a108
Repository: https://github.com/alipay/sofa-mesh.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BuildDefaultHTTPInboundRoute builds a default inbound route.
BuildDefaultHTTPOutboundRoute builds a default outbound route, including a retry policy.
BuildHTTPRoutesForVirtualService creates data plane HTTP routes from the virtual service spec.
BuildSidecarVirtualHostsFromConfigAndRegistry creates virtual hosts from the given set of virtual services and a list of services from the service registry.
CombineVHostRoutes semi concatenates two Vhost's routes into a single route set.
GetDestinationCluster generates a cluster name for the route, or error if no cluster can be found.

# Constants

Headers with special meaning in Envoy.
Headers with special meaning in Envoy.
Headers with special meaning in Envoy.

# Structs

VirtualHostWrapper is a context-dependent virtual host entry with guarded routes.

# Type aliases

SortHeaderValueOption type and the functions below (Len, Less and Swap) are for sort.Stable for type HeaderValueOption.