API, Codegen, UT for PreEnqueue extension point

This commit is contained in:
Wei Huang
2022-11-07 14:01:48 -08:00
parent 7369bd27e0
commit 2de75d92bf
24 changed files with 267 additions and 24 deletions

View File

@@ -198,6 +198,7 @@ func validatePluginConfig(path *field.Path, apiVersion string, profile *config.K
if profile.Plugins != nil {
stagesToPluginSet := map[string]config.PluginSet{
"preEnqueue": profile.Plugins.PreEnqueue,
"queueSort": profile.Plugins.QueueSort,
"preFilter": profile.Plugins.PreFilter,
"filter": profile.Plugins.Filter,