Documentation ¶
Index ¶
- Variables
- func BuildEnvoyFilterClusterPatch(host string, port int, clusterPatchBuilder func(string, int) map[string]any) ([]*istioapinetworkingv1alpha3.EnvoyFilter_EnvoyConfigObjectPatch, error)
- func ConditionToProperConditionFunc(istioCondition *istioapimetav1alpha1.IstioCondition, _ int) metav1.Condition
- func EqualEnvoyFilters(a, b *istioclientgonetworkingv1alpha3.EnvoyFilter) bool
- func EqualTargetRefs(a, b []*istioapiv1beta1.PolicyTargetReference) bool
- func IsEnvoyFilterInstalled(restMapper meta.RESTMapper) (bool, error)
- func IsIstioInstalled(restMapper meta.RESTMapper) (bool, error)
- func IsWASMPluginInstalled(restMapper meta.RESTMapper) (bool, error)
- func LinkGatewayToEnvoyFilter(objs controller.Store) machinery.LinkFunc
- func LinkGatewayToWasmPlugin(objs controller.Store) machinery.LinkFunc
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 EqualEnvoyFilters ¶
func EqualEnvoyFilters(a, b *istioclientgonetworkingv1alpha3.EnvoyFilter) bool
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.
Click to show internal directories.
Click to hide internal directories.