Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldIgnoreResource (0.28 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/plugin.go

    ) (err error) {
    	if !c.enabled {
    		return nil
    	} else if c.shouldIgnoreResource(a) {
    		return nil
    	} else if !c.WaitForReady() {
    		return admission.NewForbidden(a, fmt.Errorf("not yet ready to handle request"))
    	}
    
    	return c.dispatcher.Dispatch(ctx, a, o, c.source.Hooks())
    }
    
    func (c *Plugin[H]) shouldIgnoreResource(attr admission.Attributes) bool {
    	gvr := attr.GetResource()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 19:11:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top