Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for refreshPolicies (0.1 sec)

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

    			err = fmt.Errorf("initial cache sync for %T failed", s)
    		}
    		return err
    	}
    
    	s.ctx = ctx
    
    	// Perform initial policy compilation after initial list has finished
    	s.notify()
    	s.refreshPolicies()
    
    	notifyFuncs := cache.ResourceEventHandlerFuncs{
    		AddFunc: func(_ interface{}) {
    			s.notify()
    		},
    		UpdateFunc: func(_, _ interface{}) {
    			s.notify()
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top