- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for AddWarning (0.61 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) -
pkg/serviceaccount/legacy.go
} // Check if it is an auto-generated secret-based token for _, ref := range serviceAccount.Secrets { if ref.Name == secret.Name { autoGenerated = true warning.AddWarning(ctx, "", "Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 08:32:23 UTC 2023 - 8.4K bytes - Viewed (0) -
plugin/pkg/admission/security/podsecurity/admission.go
return nil } result := p.delegate.Validate(ctx, &lazyConvertingAttributes{Attributes: a}) for _, w := range result.Warnings { warning.AddWarning(ctx, "", w) } if len(result.AuditAnnotations) > 0 { annotations := make([]string, len(result.AuditAnnotations)*2) i := 0 for k, v := range result.AuditAnnotations {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 08:49:11 UTC 2023 - 8.5K 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) -
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/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) -
pkg/registry/core/pod/strategy.go
// typical WarningsOnCreate path to emit the warning before syncing the // annotations & fields. fldPath := field.NewPath("metadata", "annotations").Key(key) warning.AddWarning(ctx, "", fmt.Sprintf(`%s: deprecated since v1.30; use the "appArmorProfile" field instead`, fldPath)) } } return true }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 29.8K bytes - Viewed (0)