- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ShouldReinvokeWebhook (0.4 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go
for webhook, expectReinvoke := range tt.ExpectReinvokeWebhooks { shouldReinvoke := reinvocationCtx.Value(PluginName).(*webhookReinvokeContext).ShouldReinvokeWebhook(fmt.Sprintf("test-webhooks/%s/0", webhook)) if expectReinvoke != shouldReinvoke { t.Errorf("expected reinvocationContext.ShouldReinvokeWebhook(%s)=%t, but got %t", webhook, expectReinvoke, shouldReinvoke) } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 11K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go
// skipped in the first round because of mismatching labels, // even if the labels become matching, the webhook does not // get called during reinvocation. if reinvokeCtx.IsReinvoke() && !webhookReinvokeCtx.ShouldReinvokeWebhook(invocation.Webhook.GetUID()) { continue } versionedAttr, err := v.VersionedAttribute(invocation.Kind) if err != nil { return apierrors.NewInternalError(err) } t := time.Now()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 19.6K bytes - Viewed (0)