Documentation ¶
Index ¶
- Variables
- func BuildEnvoyPatchPolicyClusterPatch(name, host string, port int, ...) ([]envoygatewayv1alpha1.EnvoyJSONPatchConfig, error)
- func EqualEnvoyPatchPolicies(a, b *envoygatewayv1alpha1.EnvoyPatchPolicy) bool
- func IsEnvoyExtensionPolicyInstalled(restMapper meta.RESTMapper) (bool, error)
- func IsEnvoyGatewayInstalled(restMapper meta.RESTMapper) (bool, error)
- func IsEnvoyPatchPolicyInstalled(restMapper meta.RESTMapper) (bool, error)
- func LinkGatewayToEnvoyExtensionPolicy(objs controller.Store) machinery.LinkFunc
- func LinkGatewayToEnvoyPatchPolicy(objs controller.Store) machinery.LinkFunc
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.
Click to show internal directories.
Click to hide internal directories.