envoygateway

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnvoyPatchPoliciesResource     = envoygatewayv1alpha1.SchemeBuilder.GroupVersion.WithResource("envoypatchpolicies")
	EnvoyExtensionPoliciesResource = envoygatewayv1alpha1.SchemeBuilder.GroupVersion.WithResource("envoyextensionpolicies")

	EnvoyPatchPolicyGroupKind     = schema.GroupKind{Group: envoygatewayv1alpha1.GroupName, Kind: envoygatewayv1alpha1.KindEnvoyPatchPolicy}
	EnvoyExtensionPolicyGroupKind = schema.GroupKind{Group: envoygatewayv1alpha1.GroupName, Kind: envoygatewayv1alpha1.KindEnvoyExtensionPolicy}
)

Functions

func BuildEnvoyPatchPolicyClusterPatch

func BuildEnvoyPatchPolicyClusterPatch(name, host string, port int, clusterPatchBuilder func(string, int) map[string]any) ([]envoygatewayv1alpha1.EnvoyJSONPatchConfig, error)

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

func EqualEnvoyPatchPolicies

func EqualEnvoyPatchPolicies(a, b *envoygatewayv1alpha1.EnvoyPatchPolicy) bool

func IsEnvoyExtensionPolicyInstalled

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

func IsEnvoyGatewayInstalled

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

func IsEnvoyPatchPolicyInstalled

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

func LinkGatewayToEnvoyExtensionPolicy

func LinkGatewayToEnvoyExtensionPolicy(objs controller.Store) machinery.LinkFunc

func LinkGatewayToEnvoyPatchPolicy

func LinkGatewayToEnvoyPatchPolicy(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