- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for AddWarning (0.36 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy
generator.addWarning() generator.addWarning() return generator.save() } TestFile writeJavaCausingTwoCompilationErrorsAndTwoWarnings(String className) { def generator = new ProblematicClassGenerator(className) generator.addError() generator.addError() generator.addWarning() generator.addWarning() return generator.save() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:15:29 UTC 2024 - 24K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go
break loop default: warning.AddWarning(r.Context(), "a", "1") } } // the request has just timed out, write to catch read/write races warning.AddWarning(r.Context(), "agent", "text") // give time for the timeout response to be written, then try to // write a response header to catch the "Header after Handler finished" panic <-clientDoneCh warning.AddWarning(r.Context(), "agent", "text") })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 23.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go
format := DuplicateOwnerReferencesWarningFormat if afterMutatingAdmission { format = DuplicateOwnerReferencesAfterMutatingAdmissionWarningFormat } warning.AddWarning(requestContext, "", fmt.Sprintf(format, strings.Join(duplicates, ", "))) accessor.SetOwnerReferences(deduped) } } func summarizeData(data []byte, maxLength int) string { switch {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 17K bytes - Viewed (0) -
pkg/registry/batch/job/storage/storage_test.go
test := genericregistrytest.New(t, storage.Job.Store) test.TestDelete(validNewJob()) } type dummyRecorder struct { agent string text string } func (r *dummyRecorder) AddWarning(agent, text string) { r.agent = agent r.text = text return } func (r *dummyRecorder) getWarning() string { return r.text } var _ warning.Recorder = &dummyRecorder{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 11.2K bytes - Viewed (0) -
plugin/pkg/admission/security/podsecurity/admission_test.go
b.Fatalf("expected warning containing %q, got %q", e, a) } } } type dummyRecorder struct { count int agent string text string } func (r *dummyRecorder) AddWarning(agent, text string) { r.count++ r.agent = agent r.text = text return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 15 01:29:47 UTC 2022 - 10.7K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/storage/token.go
} } if r.maxExpirationSeconds > 0 && req.Spec.ExpirationSeconds > r.maxExpirationSeconds { //only positive value is valid warning.AddWarning(ctx, "", fmt.Sprintf("requested expiration of %d seconds shortened to %d seconds", req.Spec.ExpirationSeconds, r.maxExpirationSeconds)) req.Spec.ExpirationSeconds = r.maxExpirationSeconds }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 10:24:31 UTC 2024 - 10K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/dispatcher.go
klog.Warningf("Failed to set admission audit annotation %s to %s for validating webhook %s: %v", key, v, h.Name, err) } } for _, w := range result.Warnings { warning.AddWarning(ctx, "", w) } if result.Allowed { return nil } return &webhookutil.ErrWebhookRejection{Status: webhookerrors.ToStatusErr(h.Name, result.Result)}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 20:24:12 UTC 2023 - 13K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go
celmetrics.Metrics.ObserveAudit(ctx, decision.Elapsed, definition.Name, binding.Name, "active") case admissionregistrationv1.Warn: warning.AddWarning(ctx, "", fmt.Sprintf("Validation failed for ValidatingAdmissionPolicy '%s' with binding '%s': %s", definition.Name, binding.Name, decision.Message))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 14.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/update.go
if len(errs) > 0 { return errors.NewInvalid(kind.GroupKind(), objectMeta.GetName(), errs) } for _, w := range strategy.WarningsOnUpdate(ctx, obj, old) { warning.AddWarning(ctx, "", w) } strategy.Canonicalize(obj) return nil } // TransformFunc is a function to transform and return newObj
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 27 11:48:28 UTC 2022 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go
klog.Warningf("Failed to set admission audit annotation %s to %s for mutating webhook %s: %v", key, v, h.Name, err) } } for _, w := range result.Warnings { warning.AddWarning(ctx, "", w) } if !result.Allowed { return false, &webhookutil.ErrWebhookRejection{Status: webhookerrors.ToStatusErr(h.Name, result.Result)} } if len(result.Patch) == 0 { return false, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 19.6K bytes - Viewed (0)