Documentation
¶
Index ¶
- Constants
- func DataPlaneNameOnControlPlane(ctx context.Context, c cache.Cache) error
- func ExtendableOnKonnectExtension[T extensions.ExtendableT](ctx context.Context, c cache.Cache, obj T) error
- func KongPluginInstallationsOnDataPlane(ctx context.Context, c cache.Cache) error
- func ListObjectsReferencingKonnectExtension[t ExtendableObjectListT](c client.Client, objList t) handler.TypedMapFunc[*konnectv1alpha1.KonnectExtension, reconcile.Request]
- type ExtendableObjectListT
Constants ¶
View Source
const ( // DataPlaneNameIndex is the key to be used to access the .spec.dataplaneName indexed values. DataPlaneNameIndex = "dataplane" // KongPluginInstallationsIndex is the key to be used to access the .spec.pluginsToInstall indexed values, // in a form of list of namespace/name strings. KongPluginInstallationsIndex = "KongPluginInstallations" // KonnectExtensionIndex is the key to be used to access the .spec.extensions indexed values, // in a form of list of namespace/name strings. KonnectExtensionIndex = "KonnectExtension" )
Variables ¶
This section is empty.
Functions ¶
func DataPlaneNameOnControlPlane ¶ added in v1.2.2
DataPlaneNameOnControlPlane indexes the ControlPlane .spec.dataplaneName field on the "dataplane" key.
func ExtendableOnKonnectExtension ¶ added in v1.5.0
func ExtendableOnKonnectExtension[T extensions.ExtendableT](ctx context.Context, c cache.Cache, obj T) error
ExtendableOnKonnectExtension indexes the Object .spec.extensions field on the "KonnectExtension" key.
func KongPluginInstallationsOnDataPlane ¶ added in v1.4.0
KongPluginInstallationsOnDataPlane indexes the DataPlane .spec.pluginsToInstall field on the "kongPluginInstallations" key.
func ListObjectsReferencingKonnectExtension ¶ added in v1.5.0
func ListObjectsReferencingKonnectExtension[t ExtendableObjectListT]( c client.Client, objList t, ) handler.TypedMapFunc[*konnectv1alpha1.KonnectExtension, reconcile.Request]
ListObjectsReferencingKonnectExtension returns a handler.MapFunc that lists objects of the given type that reference the given KonnectExtension.
Types ¶
type ExtendableObjectListT ¶ added in v1.5.0
type ExtendableObjectListT interface { client.ObjectList *operatorv1beta1.DataPlaneList | *operatorv1beta1.ControlPlaneList | *operatorv1beta1.GatewayConfigurationList }
ExtendableObjectListT is an interface that defines the list types that can be extended with KonnectExtension objects.
Click to show internal directories.
Click to hide internal directories.