istio

package
v1.136.3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestinationRuleWithLocalityPreference

func DestinationRuleWithLocalityPreference(destinationRule *istionetworkingv1beta1.DestinationRule, labels map[string]string, destinationHost string) func() error

DestinationRuleWithLocalityPreference returns a function setting the given attributes to a destination rule object.

func DestinationRuleWithLocalityPreferenceAndTLS added in v1.91.0

func DestinationRuleWithLocalityPreferenceAndTLS(destinationRule *istionetworkingv1beta1.DestinationRule, labels map[string]string, destinationHost string, tls *istioapinetworkingv1beta1.ClientTLSSettings) func() error

DestinationRuleWithLocalityPreferenceAndTLS returns a function setting the given attributes to a destination rule object.

func DestinationRuleWithTLSTermination added in v1.114.0

func DestinationRuleWithTLSTermination(destinationRule *istionetworkingv1beta1.DestinationRule, labels map[string]string, destinationHost, sniHost, caSecret string, mode istioapinetworkingv1beta1.ClientTLSSettings_TLSmode) func() error

DestinationRuleWithTLSTermination returns a function setting the given attributes to a destination rule object.

func GatewayWithMutualTLS added in v1.114.0

func GatewayWithMutualTLS(gateway *istionetworkingv1beta1.Gateway, labels map[string]string, istioLabels map[string]string, serverConfigs []ServerConfig) func() error

GatewayWithMutualTLS returns a function setting the given attributes to a gateway object.

func GatewayWithTLSPassthrough

func GatewayWithTLSPassthrough(gateway *istionetworkingv1beta1.Gateway, labels map[string]string, istioLabels map[string]string, hosts []string, port uint32) func() error

GatewayWithTLSPassthrough returns a function setting the given attributes to a gateway object.

func GatewayWithTLSTermination added in v1.91.0

func GatewayWithTLSTermination(gateway *istionetworkingv1beta1.Gateway, labels map[string]string, istioLabels map[string]string, hosts []string, port uint32, tlsSecret string) func() error

GatewayWithTLSTermination returns a function setting the given attributes to a gateway object.

func VirtualServiceForTLSTermination added in v1.114.0

func VirtualServiceForTLSTermination(virtualService *istionetworkingv1beta1.VirtualService, labels map[string]string, hosts []string, gatewayName string, port uint32, destinationHost, destinationUpgradeHost, connectionUpgradeRouteName string) func() error

VirtualServiceForTLSTermination returns a function for use with a gateway that performs TLS termination.

func VirtualServiceWithSNIMatch

func VirtualServiceWithSNIMatch(virtualService *istionetworkingv1beta1.VirtualService, labels map[string]string, hosts []string, gatewayName string, port uint32, destinationHost string) func() error

VirtualServiceWithSNIMatch returns a function setting the given attributes to a virtual service object.

Types

type ServerConfig added in v1.114.0

type ServerConfig struct {
	Hosts     []string
	Port      uint32
	PortName  string
	TLSSecret string
}

ServerConfig is a configuration for a server in an Istio Gateway.

Jump to

Keyboard shortcuts

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