- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for appendErrors (0.26 sec)
-
pkg/config/validation/agent/extensionprovider.go
} if err := ValidatePort(int(config.Port)); err != nil { errs = AppendErrors(errs, err) } if err := validateExtensionProviderService(config.Service); err != nil { errs = AppendErrors(errs, err) } if err := validateExtensionProviderEnvoyExtAuthzStatusOnError(config.StatusOnError); err != nil { errs = AppendErrors(errs, err) } if config.PathPrefix != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 11K bytes - Viewed (0) -
pkg/config/validation/validation.go
errs = appendErrors(errs, security.CheckEmptyValues("Paths", op.Paths)) errs = appendErrors(errs, security.CheckEmptyValues("Hosts", op.Hosts)) errs = appendErrors(errs, security.CheckEmptyValues("NotPorts", op.NotPorts)) errs = appendErrors(errs, security.CheckEmptyValues("NotMethods", op.NotMethods)) errs = appendErrors(errs, security.CheckEmptyValues("NotPaths", op.NotPaths))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
pkg/config/validation/virtualservice.go
errs = appendErrors(errs, validateStringMatchRegexp(match.GetUri(), "uri")) errs = appendErrors(errs, validateStringMatch(match.GetScheme(), "scheme")) errs = appendErrors(errs, validateStringMatch(match.GetMethod(), "method")) errs = appendErrors(errs, validateStringMatch(match.GetAuthority(), "authority")) for _, qp := range match.GetQueryParams() { errs = appendErrors(errs, validateStringMatch(qp, "queryParams"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/config/validation/agent/validation.go
errs = AppendErrors(errs, fmt.Errorf("short names (non FQDN) are not allowed")) } if err := ValidateWildcardDomain(hostname); err != nil { if !isGateway { errs = AppendErrors(errs, err) } // Gateway allows IP as the host string, as well if !netutil.IsValidIPAddress(hostname) { errs = AppendErrors(errs, err) } } // partial wildcard is not allowed
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 30.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
type OpenAPISchemaErrorList struct { SchemaErrors field.ErrorList CELErrors field.ErrorList } // AppendErrors appends all errors in the provided list with the errors of this list. func (o *OpenAPISchemaErrorList) AppendErrors(list *OpenAPISchemaErrorList) { if o == nil || list == nil { return } o.SchemaErrors = append(o.SchemaErrors, list.SchemaErrors...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/builder.go
name := policyName(policy.Namespace, policy.Name, i, b.option) if rule == nil { b.logger.AppendError(fmt.Errorf("skipped nil rule %s", name)) continue } m, err := authzmodel.New(rule, b.option.UseExtendedJwt) if err != nil { b.logger.AppendError(multierror.Prefix(err, fmt.Sprintf("skipped invalid rule %s:", name))) continue } m.MigrateTrustDomain(b.trustDomainBundle)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 12.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/SignatureVerificationFailure.java
formatter.endChildren(); } private String toMessage(String key, SignatureError value) { StringBuilder sb = new StringBuilder(); appendError(key, value, sb); return sb.toString(); } private void appendError(String keyId, SignatureError error, StringBuilder sb) { sb.append("Artifact was signed with key '").append(keyId).append("' "); PGPPublicKey publicKey = error.publicKey;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 4.8K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/logger.go
debugMsg []string errMsg *multierror.Error } func (al *AuthzLogger) AppendDebugf(format string, args ...any) { al.debugMsg = append(al.debugMsg, fmt.Sprintf(format, args...)) } func (al *AuthzLogger) AppendError(err error) { al.errMsg = multierror.Append(al.errMsg, err) } func (al *AuthzLogger) Report() { if al.errMsg != nil { al.errMsg.ErrorFormat = istiomultierror.MultiErrorFormat()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.5K bytes - Viewed (0) -
src/log/slog/json_handler_test.go
} } } func jsonValueString(v Value) string { var buf []byte s := &handleState{h: &commonHandler{json: true}, buf: (*buffer.Buffer)(&buf)} if err := appendJSONValue(s, v); err != nil { s.appendError(err) } return string(buf) } func BenchmarkJSONHandler(b *testing.B) { for _, bench := range []struct { name string opts HandlerOptions }{ {"defaults", HandlerOptions{}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 17:06:26 UTC 2023 - 6.5K bytes - Viewed (0) -
src/log/slog/json_handler.go
func appendJSONTime(s *handleState, t time.Time) { if y := t.Year(); y < 0 || y >= 10000 { // RFC 3339 is clear that years are 4 digits exactly. // See golang.org/issue/4556#c15 for more discussion. s.appendError(errors.New("time.Time year outside of range [0,9999]")) } s.buf.WriteByte('"') *s.buf = t.AppendFormat(*s.buf, time.RFC3339Nano) s.buf.WriteByte('"') }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:18:11 UTC 2023 - 8.1K bytes - Viewed (0)