kongplugin

package
v3.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePluginUniquenessPerObject

func ValidatePluginUniquenessPerObject(ctx context.Context, objectsLister clusterObjectsLister, obj k8sObjectWithAnnotations) error

ValidatePluginUniquenessPerObject validates that only one plugin of a particular type is attached to an object. It can only check when instance of particular plugin has been already created (KongPlugin has been applied before and saved by Kubernetes). Otherwise it will not be able to check and will return nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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