- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ShouldReinvoke (0.14 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/reinvocation.go
if mutator, ok := r.admissionChain.(MutationInterface); ok { err := mutator.Admit(ctx, a, o) if err != nil { return err } s := a.GetReinvocationContext() if s.ShouldReinvoke() { s.SetIsReinvoke() // Calling admit a second time will reinvoke all in-tree plugins // as well as any webhook plugins that need to be reinvoked based on the // reinvocation policy.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/interfaces.go
IsReinvoke() bool // SetIsReinvoke sets the current admission check as a re-invocation. SetIsReinvoke() // ShouldReinvoke returns true if any plugin has requested a re-invocation. ShouldReinvoke() bool // SetShouldReinvoke signals that a re-invocation is desired. SetShouldReinvoke() // AddValue set a value for a plugin name, possibly overriding a previous value.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 28 14:03:18 UTC 2021 - 8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/attributes.go
} func (rc *reinvocationContext) IsReinvoke() bool { return rc.isReinvoke } func (rc *reinvocationContext) SetIsReinvoke() { rc.isReinvoke = true } func (rc *reinvocationContext) ShouldReinvoke() bool { return rc.reinvokeRequested } func (rc *reinvocationContext) SetShouldReinvoke() { rc.reinvokeRequested = true } func (rc *reinvocationContext) SetValue(plugin string, v interface{}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 07 17:53:14 UTC 2019 - 6.2K bytes - Viewed (0)