- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 415 for derrs (0.47 sec)
-
pkg/config/validation/virtualservice.go
errs = AppendValidation(errs, validateHTTPDirectResponse(http.DirectResponse)) errs = AppendValidation(errs, validateHTTPRetry(http.Retries)) errs = AppendValidation(errs, validateHTTPRewrite(http.Rewrite)) errs = AppendValidation(errs, validateAuthorityRewrite(http.Rewrite, http.Headers)) errs = AppendValidation(errs, validateHTTPRouteDestinations(http.Route, gatewaySemantics)) if http.Timeout != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
pilot/pkg/model/validation.go
} if err := agent.ValidatePort(port.Port); err != nil { errs = multierror.Append(errs, fmt.Errorf("invalid service port value %d for %q: %v", port.Port, port.Name, err)) } } return errs } // Validate ensures that the service instance is well-defined func (instance *ServiceInstance) Validate() error { var errs error if instance.Service == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/config/validation/validation.go
errs = appendErrors(errs, check(len(src.Namespaces) != 0, "From.Namespaces")) errs = appendErrors(errs, check(len(src.NotNamespaces) != 0, "From.NotNamespaces")) errs = appendErrors(errs, check(len(src.Principals) != 0, "From.Principals")) errs = appendErrors(errs, check(len(src.NotPrincipals) != 0, "From.NotPrincipals"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go
func IsConfigMapKey(value string) []string { var errs []string if len(value) > DNS1123SubdomainMaxLength { errs = append(errs, MaxLenError(DNS1123SubdomainMaxLength)) } if !configMapKeyRegexp.MatchString(value) { errs = append(errs, RegexError(configMapKeyErrMsg, configMapKeyFmt, "key.name", "KEY_NAME", "key-name")) } errs = append(errs, hasChDirPrefix(value)...) return errs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 16:08:43 UTC 2024 - 19K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta_test.go
}, } for k, tc := range testcases { errs := ValidateObjectMetaUpdate(&tc.New, &tc.Old, field.NewPath("field")) if len(errs) != len(tc.ExpectedErrs) { t.Logf("%s: Expected: %#v", k, tc.ExpectedErrs) t.Logf("%s: Got: %#v", k, errs) t.Errorf("%s: expected %d errors, got %d", k, len(tc.ExpectedErrs), len(errs)) continue } for i := range errs { if errs[i].Error() != tc.ExpectedErrs[i] {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 07 03:12:31 UTC 2022 - 17.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go
} for i := range labelNameErrorCases { errs := ValidateLabels(labelNameErrorCases[i].labels, field.NewPath("field")) if len(errs) != 1 { t.Errorf("case[%d]: expected failure", i) } else { if !strings.Contains(errs[0].Detail, labelNameErrorCases[i].expect) { t.Errorf("case[%d]: error details do not include %q: %q", i, labelNameErrorCases[i].expect, errs[0].Detail) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 15.2K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation.go
var errs []error if len(profile.SchedulerName) == 0 { errs = append(errs, field.Required(path.Child("schedulerName"), "")) } errs = append(errs, validatePercentageOfNodesToScore(path.Child("percentageOfNodesToScore"), profile.PercentageOfNodesToScore)) errs = append(errs, validatePluginConfig(path, apiVersion, profile)...) return errs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 06:27:01 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/controlplane/apiserver/options/validation.go
// Validate checks Options and return a slice of found errs. func (s *Options) Validate() []error { var errs []error errs = append(errs, s.Etcd.Validate()...) errs = append(errs, validateAPIPriorityAndFairness(s)...) errs = append(errs, s.SecureServing.Validate()...) errs = append(errs, s.Authentication.Validate()...) errs = append(errs, s.Authorization.Validate()...) errs = append(errs, s.Audit.Validate()...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 12:46:24 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/apitesting/naming/naming.go
if len(jsonTag) > 0 || len(protoTag) > 0 { errs = append(errs, fmt.Errorf("internal types should not have json or protobuf tags. %#v has tag on field %v: %v.\n%s", gvk, f.Name, f.Tag, fmtParentString(parents))) } errs = append(errs, ensureNoTags(gvk, f.Type, parents, typesAllowedTags)...) } default: errs = append(errs, fmt.Errorf("unexpected type %v in %#v.\n%s", tp.Kind(), gvk, fmtParentString(parents)))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 07:07:03 UTC 2022 - 5.8K bytes - Viewed (0) -
src/errors/join.go
e := &joinError{ errs: make([]error, 0, n), } for _, err := range errs { if err != nil { e.errs = append(e.errs, err) } } return e } type joinError struct { errs []error } func (e *joinError) Error() string { // Since Join returns nil if every value in errs is nil, // e.errs cannot be empty. if len(e.errs) == 1 { return e.errs[0].Error() } b := []byte(e.errs[0].Error())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 18:37:32 UTC 2023 - 1.3K bytes - Viewed (0)