istio_integration

package
v1.13.0-beta24 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

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

func NewPlugin

func NewPlugin(ctx context.Context, upstreams factory.ResourceClientFactory) *plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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