Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsReinvoke (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/attributes.go

    }
    
    type reinvocationContext struct {
    	// isReinvoke is true when admission plugins are being reinvoked
    	isReinvoke bool
    	// reinvokeRequested is true when an admission plugin requested a re-invocation of the chain
    	reinvokeRequested bool
    	// values stores reinvoke context values per plugin.
    	values map[string]interface{}
    }
    
    func (rc *reinvocationContext) IsReinvoke() bool {
    	return rc.isReinvoke
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 07 17:53:14 UTC 2019
    - 6.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/interfaces.go

    }
    
    // ReinvocationContext provides access to the admission related state required to implement the re-invocation policy.
    type ReinvocationContext interface {
    	// IsReinvoke returns true if the current admission check is a re-invocation.
    	IsReinvoke() bool
    	// SetIsReinvoke sets the current admission check as a re-invocation.
    	SetIsReinvoke()
    	// ShouldReinvoke returns true if any plugin has requested a re-invocation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 28 14:03:18 UTC 2021
    - 8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    		// 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()
    		round := 0
    		if reinvokeCtx.IsReinvoke() {
    			round = 1
    		}
    
    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