- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for policySource (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go
wait.Until(s.refreshPolicies, 1*time.Second, ctx.Done()) }() <-ctx.Done() return nil } func (s *policySource[P, B, E]) UpstreamHasSynced() bool { return s.policyInformer.HasSynced() && s.bindingInformer.HasSynced() } // HasSynced implements Source. func (s *policySource[P, B, E]) HasSynced() bool { // As an invariant we never store `nil` into the atomic list of processed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 23:07:34 UTC 2024 - 15.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go
return wait.PollUntilContextCancel(timeoutCtx, 100*time.Millisecond, true, func(ctx context.Context) (done bool, err error) { informer, scope := p.Source.(*policySource[P, B, E]).getParamInformer(objectGVK) if informer == nil { // Informer does not exist yet, keep waiting for sync return false, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 19K bytes - Viewed (0)