istio

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnvoyFiltersResource = istioclientgonetworkingv1alpha3.SchemeGroupVersion.WithResource("envoyfilters")
	WasmPluginsResource  = istioclientgoextensionv1alpha1.SchemeGroupVersion.WithResource("wasmplugins")

	EnvoyFilterGroupKind = schema.GroupKind{Group: istioclientgonetworkingv1alpha3.GroupName, Kind: "EnvoyFilter"}
	WasmPluginGroupKind  = schema.GroupKind{Group: istioclientgoextensionv1alpha1.GroupName, Kind: "WasmPlugin"}
)

Functions

func BuildEnvoyFilterClusterPatch

func BuildEnvoyFilterClusterPatch(host string, port int, clusterPatchBuilder func(string, int) map[string]any) ([]*istioapinetworkingv1alpha3.EnvoyFilter_EnvoyConfigObjectPatch, error)

BuildEnvoyFilterClusterPatch returns an envoy config patch that adds a cluster to the gateway.

func ConditionToProperConditionFunc

func ConditionToProperConditionFunc(istioCondition *istioapimetav1alpha1.IstioCondition, _ int) metav1.Condition

func EqualTargetRefs

func EqualTargetRefs(a, b []*istioapiv1beta1.PolicyTargetReference) bool

func IsEnvoyFilterInstalled

func IsEnvoyFilterInstalled(restMapper meta.RESTMapper) (bool, error)

func IsIstioInstalled

func IsIstioInstalled(restMapper meta.RESTMapper) (bool, error)

func IsWASMPluginInstalled

func IsWASMPluginInstalled(restMapper meta.RESTMapper) (bool, error)

func LinkGatewayToEnvoyFilter

func LinkGatewayToEnvoyFilter(objs controller.Store) machinery.LinkFunc

func LinkGatewayToWasmPlugin

func LinkGatewayToWasmPlugin(objs controller.Store) machinery.LinkFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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