Documentation ¶
Index ¶
Constants ¶
View Source
const (
ExtensionName = "istio_integration"
)
Variables ¶
This section is empty.
Functions ¶
func GetHostFromDestination ¶
func GetHostFromDestination(dest *v1.RouteAction_Single, usClient v1.UpstreamClient) (string, error)
Take the RouteAction_single and find the kubernetes service name and namespace Return the hostname to rewrite: serviceName.namespace if the destination is a kubernetes upstream or kube destination Return an empty string for another type of destination Return an error if the destination is a gloo upstream and we cannot look it up
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.