istio

package
v0.5.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// VirtualServiceKind is the k8s Kind for a istio VirtualService.
	VirtualServiceKind = "VirtualService"

	// LabelIkeMutated is a bool label to indicated we own the resource.
	LabelIkeMutated = "ike.mutated"

	// LabelIkeMutatedValue is the bool value of the LabelIkeMutated label.
	LabelIkeMutatedValue = "true"
)
View Source
const (
	// DestinationRuleKind is the k8s Kind for a istio DestinationRule.
	DestinationRuleKind = "DestinationRule"
)
View Source
const (
	// GatewayKind is the k8s Kind for a istio Gateway.
	GatewayKind = "Gateway"
)
View Source
const (
	// LabelIkeHosts describes the labels key used on the Gateway LocatedResource of Hosts bound to this Gateway.
	LabelIkeHosts = "ike.hosts"
)

Variables

This section is empty.

Functions

func DestinationRuleLocator added in v0.4.0

func DestinationRuleLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.LocatorStatusReporter) error

func DestinationRuleModificator added in v0.4.0

func DestinationRuleModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.ModificatorStatusReporter)

DestinationRuleModificator creates destination rule mutator which is responsible for alternating the traffic for development of the forked service.

func DestinationRuleRegistrar added in v0.4.0

func DestinationRuleRegistrar() (client.Object, model.Modificator)

func GatewayModificator added in v0.4.0

func GatewayModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.ModificatorStatusReporter)

GatewayModificator attempts to expose a external host on the gateway.

func GatewayRegistrar added in v0.4.0

func GatewayRegistrar() (client.Object, model.Modificator)

func GetDestinationRules added in v0.4.0

func GetDestinationRules(ctx model.SessionContext, namespace string, opts ...client.ListOption) (*istionetwork.DestinationRuleList, error)

func VirtualServiceGatewayLocator added in v0.0.4

func VirtualServiceGatewayLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.LocatorStatusReporter) error

VirtualServiceGatewayLocator locates the Gateways that are connected to VirtualServices.

func VirtualServiceLocator added in v0.4.0

func VirtualServiceLocator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.LocatorStatusReporter) error

func VirtualServiceModificator added in v0.4.0

func VirtualServiceModificator(ctx model.SessionContext, ref model.Ref, store model.LocatorStatusStore, report model.ModificatorStatusReporter)

VirtualServiceModificator attempts to create a virtual service for forked service.

func VirtualServiceRegistrar added in v0.4.0

func VirtualServiceRegistrar() (client.Object, model.Modificator)

Types

This section is empty.

Jump to

Keyboard shortcuts

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