Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RequireReinvokingPreviouslyInvokedPlugins (0.93 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/reinvocationcontext.go

    		rc.previouslyInvokedReinvocableWebhooks = sets.NewString()
    	}
    	rc.previouslyInvokedReinvocableWebhooks.Insert(webhook)
    }
    
    func (rc *webhookReinvokeContext) RequireReinvokingPreviouslyInvokedPlugins() {
    	if len(rc.previouslyInvokedReinvocableWebhooks) > 0 {
    		if rc.reinvokeWebhooks == nil {
    			rc.reinvokeWebhooks = sets.NewString()
    		}
    		for s := range rc.previouslyInvokedReinvocableWebhooks {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 21:31:09 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    		// If the object has changed, we know the in-tree plugin re-invocations have mutated the object,
    		// and we need to reinvoke all eligible webhooks.
    		webhookReinvokeCtx.RequireReinvokingPreviouslyInvokedPlugins()
    	}
    	defer func() {
    		webhookReinvokeCtx.SetLastWebhookInvocationOutput(attr.GetObject())
    	}()
    	v := &versionedAttributeAccessor{
    		attr:             attr,
    		objectInterfaces: o,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top