istio_integration

package
v1.17.19 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 7 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, upstreams v1.UpstreamList) (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) *plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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