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.
Click to show internal directories.
Click to hide internal directories.