- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AddWarning (0.17 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go
r.delegate.ServeHTTP(w, req) return } deprecated := crdInfo.deprecated[requestInfo.APIVersion] for _, w := range crdInfo.warnings[requestInfo.APIVersion] { warning.AddWarning(req.Context(), "", w) } verb := strings.ToUpper(requestInfo.Verb) resource := requestInfo.Resource subresource := requestInfo.Subresource scope := metrics.CleanScope(requestInfo)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 52.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
sync.Mutex warnings sets.Set[string] } func newWarningRecorder() *warningRecorder { return &warningRecorder{warnings: sets.New[string]()} } func (r *warningRecorder) AddWarning(_, text string) { r.Lock() defer r.Unlock() r.warnings.Insert(text) return } func (r *warningRecorder) hasWarning(text string) bool { r.Lock() defer r.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0)