index

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

func DataPlaneNameOnControlPlane(ctx context.Context, c cache.Cache) error

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

func KongPluginInstallationsOnDataPlane(ctx context.Context, c cache.Cache) error

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

ExtendableObjectListT is an interface that defines the list types that can be extended with KonnectExtension objects.

Jump to

Keyboard shortcuts

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